refactor(page): remove unused language switcher and related imports
This commit is contained in:
+14
-14
@@ -3,8 +3,8 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-200-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-200-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-200-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-200-normal.woff') format('woff');
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -12,43 +12,43 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-300-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-300-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-300-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-300-normal.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-400-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-400-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-400-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-400-normal.woff') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-500-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-500-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-500-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-500-normal.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-600-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-600-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-600-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-600-normal.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-700-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-700-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-700-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-700-normal.woff') format('woff');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
src: url('/fonts/manrope/manrope-cyrillic-800-normal.woff2') format('woff2'),
|
||||
url('/fonts/manrope/manrope-cyrillic-800-normal.woff') format('woff');
|
||||
src: url('../assets/fonts/manrope/manrope-cyrillic-800-normal.woff2') format('woff2'),
|
||||
url('../assets/fonts/manrope/manrope-cyrillic-800-normal.woff') format('woff');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
+5
-4
@@ -1,11 +1,12 @@
|
||||
'use client'
|
||||
import type { Metadata } from 'next';
|
||||
import './globals.css';
|
||||
import { cookies } from 'next/headers';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Create Next App',
|
||||
description: 'Generated by create next app',
|
||||
};
|
||||
// export const metadata: Metadata = {
|
||||
// title: 'Create Next App',
|
||||
// description: 'Generated by create next app',
|
||||
// };
|
||||
|
||||
export default async function RootLayout({
|
||||
children,
|
||||
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
import { t } from '@/locales/translates';
|
||||
// ... existing imports ...
|
||||
import Header from '@/components/layout/header';
|
||||
|
||||
async function getData() {
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
@@ -10,7 +11,7 @@ export default async function Home() {
|
||||
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col items-center justify-between p-24 text-gray-300">
|
||||
<span>{t('pages_home_title') as string}</span>
|
||||
<Header />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user