diff --git a/README.md b/README.md index 6a319512..87b7deac 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 62e11acb..e6f0daec 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 c897d588..06f2b355 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 c0849f01..864f40de 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 7e8e7e35..095affab 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 ff155bc7..b3316304 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 e8920ebc..fc7ae25a 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')} /> -
- -
+