diff --git a/README.md b/README.md index 6a31951..87b7dea 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ ## Getting Started +Here is a list of documentation to help you get started: + +- [Next.js](https://nextjs.org/docs) - Framework for routing and server-side rendering +- [React](https://react.dev/reference/react) - Library for building user interfaces +- [Tailwind CSS](https://tailwindcss.com/docs) - Styling library +- [Shadcn/ui](https://ui.shadcn.com/docs) - Reusable UI components +- [Lucide](https://lucide.dev/icons/) - Icons library +- [Next-intl](https://next-intl-docs.vercel.app/) - Internationalization library + First, install dependencies: ```bash diff --git a/src/app/[locale]/(layout)/about/page.tsx b/src/app/[locale]/(layout)/about/page.tsx index 62e11ac..e6f0dae 100644 --- a/src/app/[locale]/(layout)/about/page.tsx +++ b/src/app/[locale]/(layout)/about/page.tsx @@ -1,6 +1,6 @@ import { getTranslations, unstable_setRequestLocale } from 'next-intl/server'; -export async function generatemeta({ +export async function generateMetadata({ params: { locale }, }: { params: { locale: string }; diff --git a/src/app/[locale]/(layout)/events/page.tsx b/src/app/[locale]/(layout)/events/page.tsx index c897d58..06f2b35 100644 --- a/src/app/[locale]/(layout)/events/page.tsx +++ b/src/app/[locale]/(layout)/events/page.tsx @@ -1,6 +1,6 @@ import { getTranslations, unstable_setRequestLocale } from 'next-intl/server'; -export async function generatemeta({ +export async function generateMetadata({ params: { locale }, }: { params: { locale: string }; diff --git a/src/app/[locale]/(layout)/news/page.tsx b/src/app/[locale]/(layout)/news/page.tsx index c0849f0..864f40d 100644 --- a/src/app/[locale]/(layout)/news/page.tsx +++ b/src/app/[locale]/(layout)/news/page.tsx @@ -1,6 +1,6 @@ import { getTranslations, unstable_setRequestLocale } from 'next-intl/server'; -export async function generatemeta({ +export async function generateMetadata({ params: { locale }, }: { params: { locale: string }; diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 7e8e7e3..095affa 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -30,7 +30,7 @@ export function generateStaticParams() { return locales.map((locale) => ({ locale })); } -export async function generatemeta({ +export async function generateMetadata({ params: { locale }, }: Omit) { const t = await getTranslations({ locale, namespace: 'meta' }); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ff155bc..b331630 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ -import { type ReactNode } from "react"; +import { type ReactNode } from 'react'; -import "@/styles/globals.css"; +import '@/styles/globals.css'; type Props = { children: ReactNode; diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index e8920eb..fc7ae25 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -18,9 +18,7 @@ function Header() { events={t('events')} about={t('about')} /> -
- -
+