From 65224dadb1cb37d94066aa3c26b2eb71f05871a8 Mon Sep 17 00:00:00 2001 From: Welliton Gervickas Date: Thu, 26 Oct 2023 18:08:27 -0300 Subject: [PATCH] fix: layout changes --- app/[locale]/apps/components/Container.tsx | 13 +++-- app/[locale]/apps/layout.tsx | 2 +- app/[locale]/components/MaintenanceMode.tsx | 2 +- app/[locale]/layout.tsx | 6 +-- app/components/Separator.tsx | 2 +- app/components/header/Header.tsx | 2 +- app/components/language/List.tsx | 3 +- app/components/language/Provider.tsx | 19 ++------ app/components/language/Selector.tsx | 3 +- app/components/logo/Logo.tsx | 2 +- .../navigation/aside/AsideNavigation.tsx | 17 ++++--- .../navigation/aside/AsideNavigationItem.tsx | 5 +- app/components/navigation/heading/index.ts | 5 -- app/components/navigation/index.ts | 1 - .../navigation/main/MainListItem.tsx | 5 +- app/components/theme/List.tsx | 3 +- app/components/theme/Selector.tsx | 5 +- app/components/typography/Heading.tsx | 13 ++--- .../HeadingNavigation.tsx | 2 +- app/components/typography/Text.tsx | 47 +++++++++++++++++++ app/components/typography/index.ts | 2 + app/components/wallet/network/List.tsx | 3 +- app/components/wallet/network/Selector.tsx | 5 +- app/components/wallet/panel/Container.tsx | 10 ++-- app/layout.tsx | 2 +- 25 files changed, 117 insertions(+), 62 deletions(-) delete mode 100644 app/components/navigation/heading/index.ts rename app/components/{navigation/heading => typography}/HeadingNavigation.tsx (95%) create mode 100644 app/components/typography/Text.tsx diff --git a/app/[locale]/apps/components/Container.tsx b/app/[locale]/apps/components/Container.tsx index d3aea51..bc9a36e 100644 --- a/app/[locale]/apps/components/Container.tsx +++ b/app/[locale]/apps/components/Container.tsx @@ -1,15 +1,22 @@ 'use client' import { Locales } from '@/locales/locales' -import { Heading } from '@/app/components/typography/Heading' import { useI18n } from '@/locales/client' +import { HeadingNavigation } from '@/app/components/typography' +import { Typography } from '@/app/components' export const AppsContainer = () => { const t = useI18n() return ( -
- {t(Locales.APPS)} +
+
+ {t(Locales.APPS)} + + Enjoy thousand of the latest ethereum apps, games, music, movies, TV, + books, magazines & more. Anytime, anywhere, across your devices. + +
) } diff --git a/app/[locale]/apps/layout.tsx b/app/[locale]/apps/layout.tsx index 620c1cc..0942737 100644 --- a/app/[locale]/apps/layout.tsx +++ b/app/[locale]/apps/layout.tsx @@ -23,7 +23,7 @@ export default function Layout({ children }: LayoutProps) { ] return ( - + {children} ) diff --git a/app/[locale]/components/MaintenanceMode.tsx b/app/[locale]/components/MaintenanceMode.tsx index d980432..8fd72e6 100644 --- a/app/[locale]/components/MaintenanceMode.tsx +++ b/app/[locale]/components/MaintenanceMode.tsx @@ -7,7 +7,7 @@ export const MaintenanceMode = () => {
- +
) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 6b2c779..13b93dd 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -26,8 +26,8 @@ export default function BaseLayout({ children, params }: BaseLayoutProps) { className={classNames( 'flex min-h-screen flex-col', 'h-screen overflow-x-hidden text-sm font-medium', - 'bg-stone-100 text-stone-600/70', - 'dark:bg-third-100 dark:text-gray-400' + 'bg-stone-100 text-stone-900/70', + 'dark:bg-third-100 dark:text-cyan-50' )} > {process.env.NEXT_PUBLIC_MAINTENANCE_MODE === 'true' ? ( @@ -35,7 +35,7 @@ export default function BaseLayout({ children, params }: BaseLayoutProps) { ) : (
-
{children}
+
{children}