+ )
+}
+
+// 1. Introduction
+// 2. Rendering strategies.
+// 3. Benefits.
+// 4. Actual process and why its important to know it.
+// 5. Serverside data fetching
+
+function Introduction() {
+ return (
+
+
Next
+
+
Nos da la posibilidad de renderizar desde el servidor
+
+
+ )
+}
+
+function Rendering() {
+ return (
+
+
Rendering
+
+ The rendering works is split into chunks: - By individual route
+ segments - By React [Suspense
+ boundaries](https://react.dev/reference/react/Suspense) (react
+ way of having a fallback while a components has finished
+ loading) Each chunk is rendered in the server, then, on the
+ client: 1. The HTML is used to immediately show fast preview. 2.
+ The server components rendered are inserted to update the DOM
+ (components rendered in server with placeholders for client
+ components and props). 3. `JS` instructions are used to
+ [hydrate?](https://react.dev/reference/react-dom/client/hydrateRoot)
+ Client Components and make the application interactive.
+
+
+ )
+}
+
+function Strategies() {
+ return (
+
+
Strategies
+
+
+
+ - Static rendering (default): Good for static pages:
+ Rendered in build time or in the background after data
+ revalidation
+
+
+ - Security: sensitive data is kept int the server (API
+ keys and tokens)
+
+
+ - Dynamic rendering: rendered per user request, Next
+ uses this type of rendering automatically when discovers
+ a dynamic function (`cookies()`, `headers()`,
+ `userSearchParams()`).
+
+
+ - Streaming: work is split into chunks and streamed as
+ they become ready so the load is progressive.
+
+
+
+
+ )
+}
+
+function Benefits() {
+ return (
+
+
Beneficios
+
+
+
+ - Fetch data directly on the server, performance and
+ load benefits.
+
+
+ - Security: sensitive data is kept int the server (API
+ keys and tokens)
+
+
+ - Caching: results can be cached to improve performance
+ between users.
+
+
+ - Bundle size: will be reduced as part of the
+ application will reside in the server.
+
+
+ - SEO: because the pages will be rendered the search
+ engine bots will make good use of it.
+
+
+ - Streaming: to split the rendering into chunks and
+ stream them as they become ready.
+
+ )
+}
diff --git a/presentation/src/app/word-list/page.tsx b/presentation/src/app/word-list/page.tsx
new file mode 100644
index 0000000..b281ebc
--- /dev/null
+++ b/presentation/src/app/word-list/page.tsx
@@ -0,0 +1,12 @@
+import ClientWordList from './components/clientside-word-list'
+import GoBackButton from './components/go-back-button'
+import ServerWordList from './components/serverside-word-list'
+
+export default function WordList() {
+ return (
+
+
+
+
+ )
+}
diff --git a/presentation/src/app/word-list/utils.ts b/presentation/src/app/word-list/utils.ts
new file mode 100644
index 0000000..7564ff6
--- /dev/null
+++ b/presentation/src/app/word-list/utils.ts
@@ -0,0 +1,22 @@
+const WORDLIST_API_URL =
+ 'http://localhost:3000/words/es?complexity=medium&howMany=30'
+
+export type WordElement = {
+ word: string
+ correct?: boolean
+}
+
+export type WordListRepsonse = {
+ wordList: WordElement[]
+}
+
+// fetch("https://...", { cache: "no-store" });
+export const fetchWordlist = async () => {
+ const wordList: WordListRepsonse = await fetch(WORDLIST_API_URL, {
+ next: { tags: ['wordlist'] },
+ }).then((response) => response.json())
+
+ console.log('Data fetch is done', wordList)
+
+ return wordList
+}
diff --git a/examples/data-fetching/src/modules/auth/components/auth-form/auth-form.component.tsx b/presentation/src/modules/auth/components/auth-form/auth-form.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/components/auth-form/auth-form.component.tsx
rename to presentation/src/modules/auth/components/auth-form/auth-form.component.tsx
diff --git a/examples/data-fetching/src/modules/auth/components/auth-form/auth-form.module.css b/presentation/src/modules/auth/components/auth-form/auth-form.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/auth/components/auth-form/auth-form.module.css
rename to presentation/src/modules/auth/components/auth-form/auth-form.module.css
diff --git a/examples/data-fetching/src/modules/auth/components/auth-form/auth-form.stories.tsx b/presentation/src/modules/auth/components/auth-form/auth-form.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/components/auth-form/auth-form.stories.tsx
rename to presentation/src/modules/auth/components/auth-form/auth-form.stories.tsx
diff --git a/examples/data-fetching/src/modules/auth/components/auth-form/index.ts b/presentation/src/modules/auth/components/auth-form/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/components/auth-form/index.ts
rename to presentation/src/modules/auth/components/auth-form/index.ts
diff --git a/examples/data-fetching/src/modules/auth/providers/auth-to-apicontext-connection/auth-to-apicontext-connection.provider.tsx b/presentation/src/modules/auth/providers/auth-to-apicontext-connection/auth-to-apicontext-connection.provider.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth-to-apicontext-connection/auth-to-apicontext-connection.provider.tsx
rename to presentation/src/modules/auth/providers/auth-to-apicontext-connection/auth-to-apicontext-connection.provider.tsx
diff --git a/examples/data-fetching/src/modules/auth/providers/auth-to-apicontext-connection/index.ts b/presentation/src/modules/auth/providers/auth-to-apicontext-connection/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth-to-apicontext-connection/index.ts
rename to presentation/src/modules/auth/providers/auth-to-apicontext-connection/index.ts
diff --git a/examples/data-fetching/src/modules/auth/providers/auth/auth.options.ts b/presentation/src/modules/auth/providers/auth/auth.options.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth/auth.options.ts
rename to presentation/src/modules/auth/providers/auth/auth.options.ts
diff --git a/examples/data-fetching/src/modules/auth/providers/auth/auth.provider.tsx b/presentation/src/modules/auth/providers/auth/auth.provider.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth/auth.provider.tsx
rename to presentation/src/modules/auth/providers/auth/auth.provider.tsx
diff --git a/examples/data-fetching/src/modules/auth/providers/auth/index.ts b/presentation/src/modules/auth/providers/auth/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth/index.ts
rename to presentation/src/modules/auth/providers/auth/index.ts
diff --git a/examples/data-fetching/src/modules/auth/providers/auth/nextauth.d.ts b/presentation/src/modules/auth/providers/auth/nextauth.d.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/providers/auth/nextauth.d.ts
rename to presentation/src/modules/auth/providers/auth/nextauth.d.ts
diff --git a/examples/data-fetching/src/modules/auth/views/sign-in/index.ts b/presentation/src/modules/auth/views/sign-in/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/views/sign-in/index.ts
rename to presentation/src/modules/auth/views/sign-in/index.ts
diff --git a/examples/data-fetching/src/modules/auth/views/sign-in/sign-in.module.css b/presentation/src/modules/auth/views/sign-in/sign-in.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/auth/views/sign-in/sign-in.module.css
rename to presentation/src/modules/auth/views/sign-in/sign-in.module.css
diff --git a/examples/data-fetching/src/modules/auth/views/sign-in/sign-in.stories.tsx b/presentation/src/modules/auth/views/sign-in/sign-in.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/views/sign-in/sign-in.stories.tsx
rename to presentation/src/modules/auth/views/sign-in/sign-in.stories.tsx
diff --git a/examples/data-fetching/src/modules/auth/views/sign-in/sign-in.view.tsx b/presentation/src/modules/auth/views/sign-in/sign-in.view.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/views/sign-in/sign-in.view.tsx
rename to presentation/src/modules/auth/views/sign-in/sign-in.view.tsx
diff --git a/examples/data-fetching/src/modules/auth/widgets/account/account.module.css b/presentation/src/modules/auth/widgets/account/account.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/account/account.module.css
rename to presentation/src/modules/auth/widgets/account/account.module.css
diff --git a/examples/data-fetching/src/modules/auth/widgets/account/account.stories.tsx b/presentation/src/modules/auth/widgets/account/account.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/account/account.stories.tsx
rename to presentation/src/modules/auth/widgets/account/account.stories.tsx
diff --git a/examples/data-fetching/src/modules/auth/widgets/account/account.widget.tsx b/presentation/src/modules/auth/widgets/account/account.widget.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/account/account.widget.tsx
rename to presentation/src/modules/auth/widgets/account/account.widget.tsx
diff --git a/examples/data-fetching/src/modules/auth/widgets/account/index.ts b/presentation/src/modules/auth/widgets/account/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/account/index.ts
rename to presentation/src/modules/auth/widgets/account/index.ts
diff --git a/examples/data-fetching/src/modules/auth/widgets/login/index.ts b/presentation/src/modules/auth/widgets/login/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/login/index.ts
rename to presentation/src/modules/auth/widgets/login/index.ts
diff --git a/examples/data-fetching/src/modules/auth/widgets/login/login.module.css b/presentation/src/modules/auth/widgets/login/login.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/login/login.module.css
rename to presentation/src/modules/auth/widgets/login/login.module.css
diff --git a/examples/data-fetching/src/modules/auth/widgets/login/login.stories.tsx b/presentation/src/modules/auth/widgets/login/login.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/login/login.stories.tsx
rename to presentation/src/modules/auth/widgets/login/login.stories.tsx
diff --git a/examples/data-fetching/src/modules/auth/widgets/login/login.widget.tsx b/presentation/src/modules/auth/widgets/login/login.widget.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/auth/widgets/login/login.widget.tsx
rename to presentation/src/modules/auth/widgets/login/login.widget.tsx
diff --git a/examples/data-fetching/src/modules/common/components/icons/icons.component.tsx b/presentation/src/modules/common/components/icons/icons.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/icons/icons.component.tsx
rename to presentation/src/modules/common/components/icons/icons.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/icons/icons.module.css b/presentation/src/modules/common/components/icons/icons.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/icons/icons.module.css
rename to presentation/src/modules/common/components/icons/icons.module.css
diff --git a/examples/data-fetching/src/modules/common/components/icons/icons.stories.tsx b/presentation/src/modules/common/components/icons/icons.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/icons/icons.stories.tsx
rename to presentation/src/modules/common/components/icons/icons.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/icons/index.ts b/presentation/src/modules/common/components/icons/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/icons/index.ts
rename to presentation/src/modules/common/components/icons/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/loading-button/index.ts b/presentation/src/modules/common/components/loading-button/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/loading-button/index.ts
rename to presentation/src/modules/common/components/loading-button/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/loading-button/loading-button.component.tsx b/presentation/src/modules/common/components/loading-button/loading-button.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/loading-button/loading-button.component.tsx
rename to presentation/src/modules/common/components/loading-button/loading-button.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/loading-button/loading-button.module.css b/presentation/src/modules/common/components/loading-button/loading-button.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/loading-button/loading-button.module.css
rename to presentation/src/modules/common/components/loading-button/loading-button.module.css
diff --git a/examples/data-fetching/src/modules/common/components/loading-button/loading-button.stories.tsx b/presentation/src/modules/common/components/loading-button/loading-button.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/loading-button/loading-button.stories.tsx
rename to presentation/src/modules/common/components/loading-button/loading-button.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/accordion/accordion.component.tsx b/presentation/src/modules/common/components/ui/accordion/accordion.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/accordion/accordion.component.tsx
rename to presentation/src/modules/common/components/ui/accordion/accordion.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/accordion/accordion.module.css b/presentation/src/modules/common/components/ui/accordion/accordion.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/accordion/accordion.module.css
rename to presentation/src/modules/common/components/ui/accordion/accordion.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/accordion/accordion.stories.tsx b/presentation/src/modules/common/components/ui/accordion/accordion.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/accordion/accordion.stories.tsx
rename to presentation/src/modules/common/components/ui/accordion/accordion.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/accordion/index.ts b/presentation/src/modules/common/components/ui/accordion/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/accordion/index.ts
rename to presentation/src/modules/common/components/ui/accordion/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.component.tsx b/presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.component.tsx
rename to presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.module.css b/presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.module.css
rename to presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.stories.tsx b/presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert-dialog/alert-dialog.stories.tsx
rename to presentation/src/modules/common/components/ui/alert-dialog/alert-dialog.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert-dialog/index.ts b/presentation/src/modules/common/components/ui/alert-dialog/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert-dialog/index.ts
rename to presentation/src/modules/common/components/ui/alert-dialog/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert/alert.component.tsx b/presentation/src/modules/common/components/ui/alert/alert.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert/alert.component.tsx
rename to presentation/src/modules/common/components/ui/alert/alert.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert/alert.module.css b/presentation/src/modules/common/components/ui/alert/alert.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert/alert.module.css
rename to presentation/src/modules/common/components/ui/alert/alert.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert/alert.stories.tsx b/presentation/src/modules/common/components/ui/alert/alert.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert/alert.stories.tsx
rename to presentation/src/modules/common/components/ui/alert/alert.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/alert/index.ts b/presentation/src/modules/common/components/ui/alert/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/alert/index.ts
rename to presentation/src/modules/common/components/ui/alert/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/aspect-ratio/aspect-ratio.component.tsx b/presentation/src/modules/common/components/ui/aspect-ratio/aspect-ratio.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/aspect-ratio/aspect-ratio.component.tsx
rename to presentation/src/modules/common/components/ui/aspect-ratio/aspect-ratio.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/aspect-ratio/aspect-ratio.stories.tsx b/presentation/src/modules/common/components/ui/aspect-ratio/aspect-ratio.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/aspect-ratio/aspect-ratio.stories.tsx
rename to presentation/src/modules/common/components/ui/aspect-ratio/aspect-ratio.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/aspect-ratio/index.ts b/presentation/src/modules/common/components/ui/aspect-ratio/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/aspect-ratio/index.ts
rename to presentation/src/modules/common/components/ui/aspect-ratio/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/avatar/avatar.component.tsx b/presentation/src/modules/common/components/ui/avatar/avatar.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/avatar/avatar.component.tsx
rename to presentation/src/modules/common/components/ui/avatar/avatar.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/avatar/avatar.module.css b/presentation/src/modules/common/components/ui/avatar/avatar.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/avatar/avatar.module.css
rename to presentation/src/modules/common/components/ui/avatar/avatar.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/avatar/avatar.stories.tsx b/presentation/src/modules/common/components/ui/avatar/avatar.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/avatar/avatar.stories.tsx
rename to presentation/src/modules/common/components/ui/avatar/avatar.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/avatar/index.ts b/presentation/src/modules/common/components/ui/avatar/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/avatar/index.ts
rename to presentation/src/modules/common/components/ui/avatar/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/badge/badge.component.tsx b/presentation/src/modules/common/components/ui/badge/badge.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/badge/badge.component.tsx
rename to presentation/src/modules/common/components/ui/badge/badge.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/badge/badge.module.css b/presentation/src/modules/common/components/ui/badge/badge.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/badge/badge.module.css
rename to presentation/src/modules/common/components/ui/badge/badge.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/badge/badge.stories.tsx b/presentation/src/modules/common/components/ui/badge/badge.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/badge/badge.stories.tsx
rename to presentation/src/modules/common/components/ui/badge/badge.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/badge/index.ts b/presentation/src/modules/common/components/ui/badge/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/badge/index.ts
rename to presentation/src/modules/common/components/ui/badge/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/button/button.component.tsx b/presentation/src/modules/common/components/ui/button/button.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/button/button.component.tsx
rename to presentation/src/modules/common/components/ui/button/button.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/button/button.module.css b/presentation/src/modules/common/components/ui/button/button.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/button/button.module.css
rename to presentation/src/modules/common/components/ui/button/button.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/button/button.stories.tsx b/presentation/src/modules/common/components/ui/button/button.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/button/button.stories.tsx
rename to presentation/src/modules/common/components/ui/button/button.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/button/index.ts b/presentation/src/modules/common/components/ui/button/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/button/index.ts
rename to presentation/src/modules/common/components/ui/button/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/calendar/calendar.component.tsx b/presentation/src/modules/common/components/ui/calendar/calendar.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/calendar/calendar.component.tsx
rename to presentation/src/modules/common/components/ui/calendar/calendar.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/calendar/calendar.module.css b/presentation/src/modules/common/components/ui/calendar/calendar.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/calendar/calendar.module.css
rename to presentation/src/modules/common/components/ui/calendar/calendar.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/calendar/calendar.stories.tsx b/presentation/src/modules/common/components/ui/calendar/calendar.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/calendar/calendar.stories.tsx
rename to presentation/src/modules/common/components/ui/calendar/calendar.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/calendar/index.ts b/presentation/src/modules/common/components/ui/calendar/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/calendar/index.ts
rename to presentation/src/modules/common/components/ui/calendar/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/card/card.component.tsx b/presentation/src/modules/common/components/ui/card/card.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/card/card.component.tsx
rename to presentation/src/modules/common/components/ui/card/card.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/card/card.module.css b/presentation/src/modules/common/components/ui/card/card.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/card/card.module.css
rename to presentation/src/modules/common/components/ui/card/card.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/card/card.stories.tsx b/presentation/src/modules/common/components/ui/card/card.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/card/card.stories.tsx
rename to presentation/src/modules/common/components/ui/card/card.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/card/index.ts b/presentation/src/modules/common/components/ui/card/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/card/index.ts
rename to presentation/src/modules/common/components/ui/card/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.component.tsx b/presentation/src/modules/common/components/ui/checkbox/checkbox.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.component.tsx
rename to presentation/src/modules/common/components/ui/checkbox/checkbox.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.module.css b/presentation/src/modules/common/components/ui/checkbox/checkbox.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.module.css
rename to presentation/src/modules/common/components/ui/checkbox/checkbox.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.stories.tsx b/presentation/src/modules/common/components/ui/checkbox/checkbox.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/checkbox/checkbox.stories.tsx
rename to presentation/src/modules/common/components/ui/checkbox/checkbox.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/checkbox/index.ts b/presentation/src/modules/common/components/ui/checkbox/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/checkbox/index.ts
rename to presentation/src/modules/common/components/ui/checkbox/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.component.tsx b/presentation/src/modules/common/components/ui/collapsible/collapsible.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.component.tsx
rename to presentation/src/modules/common/components/ui/collapsible/collapsible.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.module.css b/presentation/src/modules/common/components/ui/collapsible/collapsible.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.module.css
rename to presentation/src/modules/common/components/ui/collapsible/collapsible.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.stories.tsx b/presentation/src/modules/common/components/ui/collapsible/collapsible.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/collapsible/collapsible.stories.tsx
rename to presentation/src/modules/common/components/ui/collapsible/collapsible.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/collapsible/index.ts b/presentation/src/modules/common/components/ui/collapsible/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/collapsible/index.ts
rename to presentation/src/modules/common/components/ui/collapsible/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/command/command.component.tsx b/presentation/src/modules/common/components/ui/command/command.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/command/command.component.tsx
rename to presentation/src/modules/common/components/ui/command/command.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/command/command.module.css b/presentation/src/modules/common/components/ui/command/command.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/command/command.module.css
rename to presentation/src/modules/common/components/ui/command/command.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/command/command.stories.tsx b/presentation/src/modules/common/components/ui/command/command.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/command/command.stories.tsx
rename to presentation/src/modules/common/components/ui/command/command.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/command/index.ts b/presentation/src/modules/common/components/ui/command/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/command/index.ts
rename to presentation/src/modules/common/components/ui/command/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.component.tsx b/presentation/src/modules/common/components/ui/context-menu/context-menu.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.component.tsx
rename to presentation/src/modules/common/components/ui/context-menu/context-menu.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.module.css b/presentation/src/modules/common/components/ui/context-menu/context-menu.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.module.css
rename to presentation/src/modules/common/components/ui/context-menu/context-menu.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.stories.tsx b/presentation/src/modules/common/components/ui/context-menu/context-menu.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/context-menu/context-menu.stories.tsx
rename to presentation/src/modules/common/components/ui/context-menu/context-menu.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/context-menu/index.ts b/presentation/src/modules/common/components/ui/context-menu/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/context-menu/index.ts
rename to presentation/src/modules/common/components/ui/context-menu/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/dialog/dialog.component.tsx b/presentation/src/modules/common/components/ui/dialog/dialog.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dialog/dialog.component.tsx
rename to presentation/src/modules/common/components/ui/dialog/dialog.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/dialog/dialog.module.css b/presentation/src/modules/common/components/ui/dialog/dialog.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dialog/dialog.module.css
rename to presentation/src/modules/common/components/ui/dialog/dialog.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/dialog/dialog.stories.tsx b/presentation/src/modules/common/components/ui/dialog/dialog.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dialog/dialog.stories.tsx
rename to presentation/src/modules/common/components/ui/dialog/dialog.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/dialog/index.ts b/presentation/src/modules/common/components/ui/dialog/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dialog/index.ts
rename to presentation/src/modules/common/components/ui/dialog/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.component.tsx b/presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.component.tsx
rename to presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.module.css b/presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.module.css
rename to presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.stories.tsx b/presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dropdown-menu/dropdown-menu.stories.tsx
rename to presentation/src/modules/common/components/ui/dropdown-menu/dropdown-menu.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/dropdown-menu/index.ts b/presentation/src/modules/common/components/ui/dropdown-menu/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/dropdown-menu/index.ts
rename to presentation/src/modules/common/components/ui/dropdown-menu/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/form/form.component.tsx b/presentation/src/modules/common/components/ui/form/form.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/form/form.component.tsx
rename to presentation/src/modules/common/components/ui/form/form.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/form/form.module.css b/presentation/src/modules/common/components/ui/form/form.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/form/form.module.css
rename to presentation/src/modules/common/components/ui/form/form.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/form/form.stories.tsx b/presentation/src/modules/common/components/ui/form/form.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/form/form.stories.tsx
rename to presentation/src/modules/common/components/ui/form/form.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/form/index.ts b/presentation/src/modules/common/components/ui/form/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/form/index.ts
rename to presentation/src/modules/common/components/ui/form/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.component.tsx b/presentation/src/modules/common/components/ui/hover-card/hover-card.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.component.tsx
rename to presentation/src/modules/common/components/ui/hover-card/hover-card.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.module.css b/presentation/src/modules/common/components/ui/hover-card/hover-card.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.module.css
rename to presentation/src/modules/common/components/ui/hover-card/hover-card.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.stories.tsx b/presentation/src/modules/common/components/ui/hover-card/hover-card.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/hover-card/hover-card.stories.tsx
rename to presentation/src/modules/common/components/ui/hover-card/hover-card.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/hover-card/index.ts b/presentation/src/modules/common/components/ui/hover-card/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/hover-card/index.ts
rename to presentation/src/modules/common/components/ui/hover-card/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/input/index.ts b/presentation/src/modules/common/components/ui/input/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/input/index.ts
rename to presentation/src/modules/common/components/ui/input/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/input/input.component.tsx b/presentation/src/modules/common/components/ui/input/input.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/input/input.component.tsx
rename to presentation/src/modules/common/components/ui/input/input.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/input/input.module.css b/presentation/src/modules/common/components/ui/input/input.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/input/input.module.css
rename to presentation/src/modules/common/components/ui/input/input.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/input/input.stories.tsx b/presentation/src/modules/common/components/ui/input/input.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/input/input.stories.tsx
rename to presentation/src/modules/common/components/ui/input/input.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/label/index.ts b/presentation/src/modules/common/components/ui/label/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/label/index.ts
rename to presentation/src/modules/common/components/ui/label/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/label/label.component.tsx b/presentation/src/modules/common/components/ui/label/label.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/label/label.component.tsx
rename to presentation/src/modules/common/components/ui/label/label.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/label/label.module.css b/presentation/src/modules/common/components/ui/label/label.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/label/label.module.css
rename to presentation/src/modules/common/components/ui/label/label.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/label/label.stories.tsx b/presentation/src/modules/common/components/ui/label/label.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/label/label.stories.tsx
rename to presentation/src/modules/common/components/ui/label/label.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/map/index.ts b/presentation/src/modules/common/components/ui/map/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/map/index.ts
rename to presentation/src/modules/common/components/ui/map/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/map/map.component.tsx b/presentation/src/modules/common/components/ui/map/map.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/map/map.component.tsx
rename to presentation/src/modules/common/components/ui/map/map.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/map/map.module.css b/presentation/src/modules/common/components/ui/map/map.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/map/map.module.css
rename to presentation/src/modules/common/components/ui/map/map.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/map/map.stories.tsx b/presentation/src/modules/common/components/ui/map/map.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/map/map.stories.tsx
rename to presentation/src/modules/common/components/ui/map/map.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/menubar/index.ts b/presentation/src/modules/common/components/ui/menubar/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/menubar/index.ts
rename to presentation/src/modules/common/components/ui/menubar/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/menubar/menubar.component.tsx b/presentation/src/modules/common/components/ui/menubar/menubar.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/menubar/menubar.component.tsx
rename to presentation/src/modules/common/components/ui/menubar/menubar.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/menubar/menubar.module.css b/presentation/src/modules/common/components/ui/menubar/menubar.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/menubar/menubar.module.css
rename to presentation/src/modules/common/components/ui/menubar/menubar.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/menubar/menubar.stories.tsx b/presentation/src/modules/common/components/ui/menubar/menubar.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/menubar/menubar.stories.tsx
rename to presentation/src/modules/common/components/ui/menubar/menubar.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/navigation-menu/index.ts b/presentation/src/modules/common/components/ui/navigation-menu/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/navigation-menu/index.ts
rename to presentation/src/modules/common/components/ui/navigation-menu/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.component.tsx b/presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.component.tsx
rename to presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.module.css b/presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.module.css
rename to presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.stories.tsx b/presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/navigation-menu/navigation-menu.stories.tsx
rename to presentation/src/modules/common/components/ui/navigation-menu/navigation-menu.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/popover/index.ts b/presentation/src/modules/common/components/ui/popover/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/popover/index.ts
rename to presentation/src/modules/common/components/ui/popover/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/popover/popover.component.tsx b/presentation/src/modules/common/components/ui/popover/popover.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/popover/popover.component.tsx
rename to presentation/src/modules/common/components/ui/popover/popover.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/popover/popover.module.css b/presentation/src/modules/common/components/ui/popover/popover.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/popover/popover.module.css
rename to presentation/src/modules/common/components/ui/popover/popover.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/popover/popover.stories.tsx b/presentation/src/modules/common/components/ui/popover/popover.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/popover/popover.stories.tsx
rename to presentation/src/modules/common/components/ui/popover/popover.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/progress/index.ts b/presentation/src/modules/common/components/ui/progress/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/progress/index.ts
rename to presentation/src/modules/common/components/ui/progress/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/progress/progress.component.tsx b/presentation/src/modules/common/components/ui/progress/progress.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/progress/progress.component.tsx
rename to presentation/src/modules/common/components/ui/progress/progress.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/progress/progress.module.css b/presentation/src/modules/common/components/ui/progress/progress.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/progress/progress.module.css
rename to presentation/src/modules/common/components/ui/progress/progress.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/progress/progress.stories.tsx b/presentation/src/modules/common/components/ui/progress/progress.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/progress/progress.stories.tsx
rename to presentation/src/modules/common/components/ui/progress/progress.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/radio-group/index.ts b/presentation/src/modules/common/components/ui/radio-group/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/radio-group/index.ts
rename to presentation/src/modules/common/components/ui/radio-group/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.component.tsx b/presentation/src/modules/common/components/ui/radio-group/radio-group.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.component.tsx
rename to presentation/src/modules/common/components/ui/radio-group/radio-group.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.module.css b/presentation/src/modules/common/components/ui/radio-group/radio-group.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.module.css
rename to presentation/src/modules/common/components/ui/radio-group/radio-group.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.stories.tsx b/presentation/src/modules/common/components/ui/radio-group/radio-group.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/radio-group/radio-group.stories.tsx
rename to presentation/src/modules/common/components/ui/radio-group/radio-group.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/scroll-area/index.ts b/presentation/src/modules/common/components/ui/scroll-area/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/scroll-area/index.ts
rename to presentation/src/modules/common/components/ui/scroll-area/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.component.tsx b/presentation/src/modules/common/components/ui/scroll-area/scroll-area.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.component.tsx
rename to presentation/src/modules/common/components/ui/scroll-area/scroll-area.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.module.css b/presentation/src/modules/common/components/ui/scroll-area/scroll-area.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.module.css
rename to presentation/src/modules/common/components/ui/scroll-area/scroll-area.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.stories.tsx b/presentation/src/modules/common/components/ui/scroll-area/scroll-area.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/scroll-area/scroll-area.stories.tsx
rename to presentation/src/modules/common/components/ui/scroll-area/scroll-area.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/select/index.ts b/presentation/src/modules/common/components/ui/select/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/select/index.ts
rename to presentation/src/modules/common/components/ui/select/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/select/select.component.tsx b/presentation/src/modules/common/components/ui/select/select.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/select/select.component.tsx
rename to presentation/src/modules/common/components/ui/select/select.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/select/select.module.css b/presentation/src/modules/common/components/ui/select/select.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/select/select.module.css
rename to presentation/src/modules/common/components/ui/select/select.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/select/select.stories.tsx b/presentation/src/modules/common/components/ui/select/select.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/select/select.stories.tsx
rename to presentation/src/modules/common/components/ui/select/select.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/separator/index.ts b/presentation/src/modules/common/components/ui/separator/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/separator/index.ts
rename to presentation/src/modules/common/components/ui/separator/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/separator/separator.component.tsx b/presentation/src/modules/common/components/ui/separator/separator.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/separator/separator.component.tsx
rename to presentation/src/modules/common/components/ui/separator/separator.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/separator/separator.module.css b/presentation/src/modules/common/components/ui/separator/separator.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/separator/separator.module.css
rename to presentation/src/modules/common/components/ui/separator/separator.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/separator/separator.stories.tsx b/presentation/src/modules/common/components/ui/separator/separator.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/separator/separator.stories.tsx
rename to presentation/src/modules/common/components/ui/separator/separator.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/sheet/index.ts b/presentation/src/modules/common/components/ui/sheet/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/sheet/index.ts
rename to presentation/src/modules/common/components/ui/sheet/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/sheet/sheet.component.tsx b/presentation/src/modules/common/components/ui/sheet/sheet.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/sheet/sheet.component.tsx
rename to presentation/src/modules/common/components/ui/sheet/sheet.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/sheet/sheet.module.css b/presentation/src/modules/common/components/ui/sheet/sheet.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/sheet/sheet.module.css
rename to presentation/src/modules/common/components/ui/sheet/sheet.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/sheet/sheet.stories.tsx b/presentation/src/modules/common/components/ui/sheet/sheet.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/sheet/sheet.stories.tsx
rename to presentation/src/modules/common/components/ui/sheet/sheet.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/skeleton/index.ts b/presentation/src/modules/common/components/ui/skeleton/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/skeleton/index.ts
rename to presentation/src/modules/common/components/ui/skeleton/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.component.tsx b/presentation/src/modules/common/components/ui/skeleton/skeleton.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.component.tsx
rename to presentation/src/modules/common/components/ui/skeleton/skeleton.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.module.css b/presentation/src/modules/common/components/ui/skeleton/skeleton.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.module.css
rename to presentation/src/modules/common/components/ui/skeleton/skeleton.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.stories.tsx b/presentation/src/modules/common/components/ui/skeleton/skeleton.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/skeleton/skeleton.stories.tsx
rename to presentation/src/modules/common/components/ui/skeleton/skeleton.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/slider/index.ts b/presentation/src/modules/common/components/ui/slider/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/slider/index.ts
rename to presentation/src/modules/common/components/ui/slider/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/slider/slider.component.tsx b/presentation/src/modules/common/components/ui/slider/slider.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/slider/slider.component.tsx
rename to presentation/src/modules/common/components/ui/slider/slider.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/slider/slider.module.css b/presentation/src/modules/common/components/ui/slider/slider.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/slider/slider.module.css
rename to presentation/src/modules/common/components/ui/slider/slider.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/slider/slider.stories.tsx b/presentation/src/modules/common/components/ui/slider/slider.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/slider/slider.stories.tsx
rename to presentation/src/modules/common/components/ui/slider/slider.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/switch/index.ts b/presentation/src/modules/common/components/ui/switch/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/switch/index.ts
rename to presentation/src/modules/common/components/ui/switch/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/switch/switch.component.tsx b/presentation/src/modules/common/components/ui/switch/switch.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/switch/switch.component.tsx
rename to presentation/src/modules/common/components/ui/switch/switch.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/switch/switch.module.css b/presentation/src/modules/common/components/ui/switch/switch.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/switch/switch.module.css
rename to presentation/src/modules/common/components/ui/switch/switch.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/switch/switch.stories.tsx b/presentation/src/modules/common/components/ui/switch/switch.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/switch/switch.stories.tsx
rename to presentation/src/modules/common/components/ui/switch/switch.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/table/index.ts b/presentation/src/modules/common/components/ui/table/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/table/index.ts
rename to presentation/src/modules/common/components/ui/table/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/table/table.component.tsx b/presentation/src/modules/common/components/ui/table/table.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/table/table.component.tsx
rename to presentation/src/modules/common/components/ui/table/table.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/table/table.module.css b/presentation/src/modules/common/components/ui/table/table.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/table/table.module.css
rename to presentation/src/modules/common/components/ui/table/table.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/table/table.stories.tsx b/presentation/src/modules/common/components/ui/table/table.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/table/table.stories.tsx
rename to presentation/src/modules/common/components/ui/table/table.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/tabs/index.ts b/presentation/src/modules/common/components/ui/tabs/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tabs/index.ts
rename to presentation/src/modules/common/components/ui/tabs/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/tabs/tabs.component.tsx b/presentation/src/modules/common/components/ui/tabs/tabs.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tabs/tabs.component.tsx
rename to presentation/src/modules/common/components/ui/tabs/tabs.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/tabs/tabs.module.css b/presentation/src/modules/common/components/ui/tabs/tabs.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tabs/tabs.module.css
rename to presentation/src/modules/common/components/ui/tabs/tabs.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/tabs/tabs.stories.tsx b/presentation/src/modules/common/components/ui/tabs/tabs.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tabs/tabs.stories.tsx
rename to presentation/src/modules/common/components/ui/tabs/tabs.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/textarea/index.ts b/presentation/src/modules/common/components/ui/textarea/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/textarea/index.ts
rename to presentation/src/modules/common/components/ui/textarea/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/textarea/textarea.component.tsx b/presentation/src/modules/common/components/ui/textarea/textarea.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/textarea/textarea.component.tsx
rename to presentation/src/modules/common/components/ui/textarea/textarea.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/textarea/textarea.module.css b/presentation/src/modules/common/components/ui/textarea/textarea.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/textarea/textarea.module.css
rename to presentation/src/modules/common/components/ui/textarea/textarea.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/textarea/textarea.stories.tsx b/presentation/src/modules/common/components/ui/textarea/textarea.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/textarea/textarea.stories.tsx
rename to presentation/src/modules/common/components/ui/textarea/textarea.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/toast/index.ts b/presentation/src/modules/common/components/ui/toast/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toast/index.ts
rename to presentation/src/modules/common/components/ui/toast/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/toast/toast.component.tsx b/presentation/src/modules/common/components/ui/toast/toast.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toast/toast.component.tsx
rename to presentation/src/modules/common/components/ui/toast/toast.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/toast/toast.module.css b/presentation/src/modules/common/components/ui/toast/toast.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toast/toast.module.css
rename to presentation/src/modules/common/components/ui/toast/toast.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/toast/toast.stories.tsx b/presentation/src/modules/common/components/ui/toast/toast.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toast/toast.stories.tsx
rename to presentation/src/modules/common/components/ui/toast/toast.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/toggle/index.ts b/presentation/src/modules/common/components/ui/toggle/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toggle/index.ts
rename to presentation/src/modules/common/components/ui/toggle/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/toggle/toggle.component.tsx b/presentation/src/modules/common/components/ui/toggle/toggle.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toggle/toggle.component.tsx
rename to presentation/src/modules/common/components/ui/toggle/toggle.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/toggle/toggle.module.css b/presentation/src/modules/common/components/ui/toggle/toggle.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toggle/toggle.module.css
rename to presentation/src/modules/common/components/ui/toggle/toggle.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/toggle/toggle.stories.tsx b/presentation/src/modules/common/components/ui/toggle/toggle.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/toggle/toggle.stories.tsx
rename to presentation/src/modules/common/components/ui/toggle/toggle.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/tooltip/index.ts b/presentation/src/modules/common/components/ui/tooltip/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tooltip/index.ts
rename to presentation/src/modules/common/components/ui/tooltip/index.ts
diff --git a/examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.component.tsx b/presentation/src/modules/common/components/ui/tooltip/tooltip.component.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.component.tsx
rename to presentation/src/modules/common/components/ui/tooltip/tooltip.component.tsx
diff --git a/examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.module.css b/presentation/src/modules/common/components/ui/tooltip/tooltip.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.module.css
rename to presentation/src/modules/common/components/ui/tooltip/tooltip.module.css
diff --git a/examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.stories.tsx b/presentation/src/modules/common/components/ui/tooltip/tooltip.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/components/ui/tooltip/tooltip.stories.tsx
rename to presentation/src/modules/common/components/ui/tooltip/tooltip.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/layouts/application/application.layout.tsx b/presentation/src/modules/common/layouts/application/application.layout.tsx
similarity index 76%
rename from examples/data-fetching/src/modules/common/layouts/application/application.layout.tsx
rename to presentation/src/modules/common/layouts/application/application.layout.tsx
index 45e6520..526f3ac 100644
--- a/examples/data-fetching/src/modules/common/layouts/application/application.layout.tsx
+++ b/presentation/src/modules/common/layouts/application/application.layout.tsx
@@ -9,11 +9,7 @@ export type ApplicationLayoutProps = PropsWithChildren<{}>
export function ApplicationLayout(props: ApplicationLayoutProps) {
return (
-
-
- {props.children}
-
-
+ {props.children}
)
}
diff --git a/examples/data-fetching/src/modules/common/layouts/application/application.module.css b/presentation/src/modules/common/layouts/application/application.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/application/application.module.css
rename to presentation/src/modules/common/layouts/application/application.module.css
diff --git a/examples/data-fetching/src/modules/common/layouts/application/application.stories.tsx b/presentation/src/modules/common/layouts/application/application.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/application/application.stories.tsx
rename to presentation/src/modules/common/layouts/application/application.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/layouts/application/index.ts b/presentation/src/modules/common/layouts/application/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/application/index.ts
rename to presentation/src/modules/common/layouts/application/index.ts
diff --git a/examples/data-fetching/src/modules/common/layouts/root/index.ts b/presentation/src/modules/common/layouts/root/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/root/index.ts
rename to presentation/src/modules/common/layouts/root/index.ts
diff --git a/examples/data-fetching/src/modules/common/layouts/root/root.layout.tsx b/presentation/src/modules/common/layouts/root/root.layout.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/root/root.layout.tsx
rename to presentation/src/modules/common/layouts/root/root.layout.tsx
diff --git a/examples/data-fetching/src/modules/common/layouts/root/root.module.css b/presentation/src/modules/common/layouts/root/root.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/root/root.module.css
rename to presentation/src/modules/common/layouts/root/root.module.css
diff --git a/examples/data-fetching/src/modules/common/layouts/root/root.stories.tsx b/presentation/src/modules/common/layouts/root/root.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/layouts/root/root.stories.tsx
rename to presentation/src/modules/common/layouts/root/root.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/providers/api-context/api-context.default.tsx b/presentation/src/modules/common/providers/api-context/api-context.default.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/api-context/api-context.default.tsx
rename to presentation/src/modules/common/providers/api-context/api-context.default.tsx
diff --git a/examples/data-fetching/src/modules/common/providers/api-context/api-context.provider.tsx b/presentation/src/modules/common/providers/api-context/api-context.provider.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/api-context/api-context.provider.tsx
rename to presentation/src/modules/common/providers/api-context/api-context.provider.tsx
diff --git a/examples/data-fetching/src/modules/common/providers/api-context/axios.instance.ts b/presentation/src/modules/common/providers/api-context/axios.instance.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/api-context/axios.instance.ts
rename to presentation/src/modules/common/providers/api-context/axios.instance.ts
diff --git a/examples/data-fetching/src/modules/common/providers/api-context/index.ts b/presentation/src/modules/common/providers/api-context/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/api-context/index.ts
rename to presentation/src/modules/common/providers/api-context/index.ts
diff --git a/examples/data-fetching/src/modules/common/providers/app/app.provider.tsx b/presentation/src/modules/common/providers/app/app.provider.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/app/app.provider.tsx
rename to presentation/src/modules/common/providers/app/app.provider.tsx
diff --git a/examples/data-fetching/src/modules/common/providers/app/index.ts b/presentation/src/modules/common/providers/app/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/app/index.ts
rename to presentation/src/modules/common/providers/app/index.ts
diff --git a/examples/data-fetching/src/modules/common/providers/query/index.ts b/presentation/src/modules/common/providers/query/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/query/index.ts
rename to presentation/src/modules/common/providers/query/index.ts
diff --git a/examples/data-fetching/src/modules/common/providers/query/query.provider.tsx b/presentation/src/modules/common/providers/query/query.provider.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/providers/query/query.provider.tsx
rename to presentation/src/modules/common/providers/query/query.provider.tsx
diff --git a/examples/data-fetching/src/modules/common/views/main/app-main.module.css b/presentation/src/modules/common/views/main/app-main.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/views/main/app-main.module.css
rename to presentation/src/modules/common/views/main/app-main.module.css
diff --git a/examples/data-fetching/src/modules/common/views/main/app-main.stories.tsx b/presentation/src/modules/common/views/main/app-main.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/views/main/app-main.stories.tsx
rename to presentation/src/modules/common/views/main/app-main.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/views/main/app-main.view.tsx b/presentation/src/modules/common/views/main/app-main.view.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/views/main/app-main.view.tsx
rename to presentation/src/modules/common/views/main/app-main.view.tsx
diff --git a/examples/data-fetching/src/modules/common/views/main/index.ts b/presentation/src/modules/common/views/main/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/views/main/index.ts
rename to presentation/src/modules/common/views/main/index.ts
diff --git a/examples/data-fetching/src/modules/common/widgets/footer/footer.module.css b/presentation/src/modules/common/widgets/footer/footer.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/footer/footer.module.css
rename to presentation/src/modules/common/widgets/footer/footer.module.css
diff --git a/examples/data-fetching/src/modules/common/widgets/footer/footer.stories.tsx b/presentation/src/modules/common/widgets/footer/footer.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/footer/footer.stories.tsx
rename to presentation/src/modules/common/widgets/footer/footer.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/widgets/footer/footer.widget.tsx b/presentation/src/modules/common/widgets/footer/footer.widget.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/footer/footer.widget.tsx
rename to presentation/src/modules/common/widgets/footer/footer.widget.tsx
diff --git a/examples/data-fetching/src/modules/common/widgets/footer/index.ts b/presentation/src/modules/common/widgets/footer/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/footer/index.ts
rename to presentation/src/modules/common/widgets/footer/index.ts
diff --git a/examples/data-fetching/src/modules/common/widgets/header/header.module.css b/presentation/src/modules/common/widgets/header/header.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/header/header.module.css
rename to presentation/src/modules/common/widgets/header/header.module.css
diff --git a/examples/data-fetching/src/modules/common/widgets/header/header.stories.tsx b/presentation/src/modules/common/widgets/header/header.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/header/header.stories.tsx
rename to presentation/src/modules/common/widgets/header/header.stories.tsx
diff --git a/examples/data-fetching/src/modules/common/widgets/header/header.widget.tsx b/presentation/src/modules/common/widgets/header/header.widget.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/header/header.widget.tsx
rename to presentation/src/modules/common/widgets/header/header.widget.tsx
diff --git a/examples/data-fetching/src/modules/common/widgets/header/index.ts b/presentation/src/modules/common/widgets/header/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/common/widgets/header/index.ts
rename to presentation/src/modules/common/widgets/header/index.ts
diff --git a/examples/data-fetching/src/modules/hookey/index.ts b/presentation/src/modules/hookey/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/hookey/index.ts
rename to presentation/src/modules/hookey/index.ts
diff --git a/examples/data-fetching/src/modules/users/views/main/index.ts b/presentation/src/modules/users/views/main/index.ts
similarity index 100%
rename from examples/data-fetching/src/modules/users/views/main/index.ts
rename to presentation/src/modules/users/views/main/index.ts
diff --git a/examples/data-fetching/src/modules/users/views/main/users-main.module.css b/presentation/src/modules/users/views/main/users-main.module.css
similarity index 100%
rename from examples/data-fetching/src/modules/users/views/main/users-main.module.css
rename to presentation/src/modules/users/views/main/users-main.module.css
diff --git a/examples/data-fetching/src/modules/users/views/main/users-main.stories.tsx b/presentation/src/modules/users/views/main/users-main.stories.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/users/views/main/users-main.stories.tsx
rename to presentation/src/modules/users/views/main/users-main.stories.tsx
diff --git a/examples/data-fetching/src/modules/users/views/main/users-main.view.tsx b/presentation/src/modules/users/views/main/users-main.view.tsx
similarity index 100%
rename from examples/data-fetching/src/modules/users/views/main/users-main.view.tsx
rename to presentation/src/modules/users/views/main/users-main.view.tsx
diff --git a/presentation/src/styles/main.css b/presentation/src/styles/main.css
new file mode 100644
index 0000000..4c32264
--- /dev/null
+++ b/presentation/src/styles/main.css
@@ -0,0 +1,94 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');
+
+.data-fetching {
+ display: grid;
+ padding: 20rem;
+ gap: 8rem;
+ background-color: #fafafa;
+ grid-template-columns: 1fr 1fr;
+
+ > * {
+ background-color: #e9ecef;
+ border-radius: 1.5rem;
+ padding: 2rem;
+ min-height: 15rem;
+
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+ > h3 {
+ text-align: center;
+ font-size: 2rem;
+ font-weight: 200;
+ }
+
+ > div {
+ > span {
+ font-weight: 200;
+ &:not(:last-child)::after {
+ content: ', ';
+ }
+ }
+ &:nth-of-type(2) {
+ text-align: center;
+ }
+ > button {
+ background-color: #8e9aaf;
+ color: white;
+ border-radius: 0.5rem;
+ padding: 0.5rem;
+
+ transition: all 0.1s;
+
+ &:hover {
+ transform: translateY(-4px) scale(1.02);
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
+ }
+ }
+ }
+ }
+}
+
+.main-presentation {
+ > button {
+ position: absolute;
+ bottom: 2rem;
+ left: 50%;
+ transform: translateX(-50%);
+
+ background-color: #8e9aaf;
+ color: white;
+ border-radius: 0.5rem;
+ padding: 0.5rem 1rem;
+ font-weight: 200;
+ font-size: 1.5rem;
+
+ transition: all 0.1s;
+
+ &:hover {
+ transform: translateX(-50%) translateY(-4px) scale(1.02);
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
+ }
+ }
+ > div {
+ display: flex;
+ gap: 3rem;
+ flex-direction: column;
+ justify-content: space-between;
+
+ padding: 10rem 30rem;
+
+ > h3 {
+ text-align: center;
+ font-size: 2.8rem;
+ font-weight: 100;
+ }
+ }
+ &-comparation {
+ }
+}
diff --git a/examples/data-fetching/tailwind.config.js b/presentation/tailwind.config.js
similarity index 100%
rename from examples/data-fetching/tailwind.config.js
rename to presentation/tailwind.config.js
diff --git a/examples/data-fetching/tsconfig.json b/presentation/tsconfig.json
similarity index 100%
rename from examples/data-fetching/tsconfig.json
rename to presentation/tsconfig.json
diff --git a/presentation_brainstorm.md b/presentation_brainstorm.md
index 202e641..cd0a8e6 100644
--- a/presentation_brainstorm.md
+++ b/presentation_brainstorm.md
@@ -1,6 +1,8 @@
## Server components [Nextjs docs](https://nextjs.org/docs/app/building-your-application/rendering/server-components)
## Presentation flow
+
+0. Comparation between NextJS and React
1. Introduction without strategies.
2. Benefits.
3. Actual process and why its important to know it.
@@ -50,24 +52,32 @@ The rendering works is split into chunks:
- Streaming: work is split into chunks and streamed as they become ready so the load is progressive.
### [Fetching data from the server](https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#revalidating-data)
-To fetch data from the server you only need an `async` component. The data is automatically cached by Next to avoid constant calls to the data source. This means you can omit the cache configuration in your fetch call:
+
+To fetch data from the server you only need an `async` component. The data is automatically cached by Next to avoid constant calls to the data source. This means you can omit the cache configuration in your fetch call:
+
```js
-// not needed
-fetch('https:...', { cache: 'force-cache' })
+// not needed
+fetch("https:...", { cache: "force-cache" });
```
+
But you can also revalidate on every request:
+
```js
-fetch('https://...', { cache: 'no-store' })
+fetch("https://...", { cache: "no-store" });
```
#### Revalidation
Revalidation is not directly managed but you can force it with:
+
- A timer:
+
```js
-fetch('https://...', { next: { revalidate: 3600 } })
+fetch("https://...", { next: { revalidate: 3600 } });
```
+
- Manually:
+
```js
// page.tsx file
export default async function Page() {
@@ -79,7 +89,7 @@ export default async function Page() {
// action.ts file
'use server' // cause of the .ts
import { revalidateTag } from 'next/cache'
-
+
export default async function action() {
revalidateTag('collection')
}
@@ -89,3 +99,8 @@ export default async function action() {
## Serverside fetching
[Different types](https://wallis.dev/blog/nextjs-serverside-data-fetching)
+
+### GerServerSideProps (async function)
+
+- Automatic cache
+- Revalidated either by timeout or forced with tags