diff --git a/README.md b/README.md index 71cbdc0..7d489b3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -# Next enterprise media starter //final name goes here +# Next news -![Project intro image](./project-logo.png) - -Welcome to the _Next enterprise media starter_ //final name goes here, an open-source plug and play template and starter for you media apps or blogs! It's loaded with features that'll help you build a high-performance, maintainable, and enjoyable app. We've done all the heavy lifting for you, so sit back, relax, and get ready to conquer the world with your incredible app! 🌍 +Welcome to **Next.js - Hygraph news starter**, an open-source plug and play template and starter for you media apps or blogs! It's build on top of [next-enterprise](https://github.com/Blazity/next-enterprise) so it comes packed with functionalities designed to assist you in creating an app that is not only high-performing and maintainable but also enjoyable to use.
@@ -35,7 +33,7 @@ To get started with this boilerplate, follow these steps: ```bash ## Don't forget to ⭐ star and fork it first :) -git clone https://github.com/ + + + ) +} diff --git a/src/app/[lang]/layout.tsx b/src/app/[lang]/layout.tsx index 2827100..a7bfad9 100644 --- a/src/app/[lang]/layout.tsx +++ b/src/app/[lang]/layout.tsx @@ -1,3 +1,5 @@ +import { notFound } from "next/navigation" +import { unstable_setRequestLocale } from "next-intl/server" import { Footer } from "@/components/Footer/Footer" import { Navigation } from "@/components/Navigation/Navigation" import { env } from "@/env.mjs" @@ -5,8 +7,6 @@ import { i18n, type Locale } from "@/i18n/i18n" import { setTranslations } from "@/i18n/setTranslations" import { getNavigation } from "@/lib/client" import "@/styles/tailwind.css" -import { unstable_setRequestLocale } from "next-intl/server" -import { notFound } from "next/navigation" import { GoogleAnalytics } from "../GoogleAnalytics" import Providers from "../Providers" @@ -41,7 +41,7 @@ export default async function Layout({ children, params }: { children: React.Rea if (!isValidLocale) notFound() unstable_setRequestLocale(locale) const translations = await setTranslations(locale) - const { navigation, footer, logo } = await getNavigation(locale) + const { navigation, footer } = await getNavigation(locale) return ( @@ -55,7 +55,7 @@ export default async function Layout({ children, params }: { children: React.Rea
{children}
-