diff --git a/package.json b/package.json index 8dc50a8..2bfda8a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "nextjs-15-social-media-app", + "name": "GoTogether", "version": "0.1.0", "private": true, "scripts": { diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index 8c56b08..a16da57 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -13,7 +13,9 @@ export default function Page() {
-

Login to Hbook

+

+ Login to GoTogether +

diff --git a/src/app/favicon.ico b/src/app/favicon.ico index ffda0ca..66a6dc8 100644 Binary files a/src/app/favicon.ico and b/src/app/favicon.ico differ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 219eeb7..e0cc50b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -8,8 +8,8 @@ import "./globals.css"; import ReactQueryProvider from "./ReactQueryProvider"; // next-intl imports -import { NextIntlClientProvider } from 'next-intl'; -import { getLocale, getMessages } from 'next-intl/server'; // Import getMessages +import { NextIntlClientProvider } from "next-intl"; +import { getLocale, getMessages } from "next-intl/server"; // Import getMessages const geistSans = localFont({ src: "./fonts/GeistVF.woff", @@ -23,16 +23,17 @@ const geistMono = localFont({ export const metadata: Metadata = { title: { - template: "%s | GoTogether", - default: "GoTogether", + template: "%s | GoTogether", + default: "GoTogether", }, - description: "The social media app for powernerds", + description: + "GoTogether is a smart travel planning web app that combines AI-powered itinerary recommendations with social media features. Discover top destinations, collaborate with friends, share your journeys, and get real-time suggestions for hotels, restaurants, and attractions — all in one seamless platform.", }; export default async function RootLayout({ children, params, // params.locale is automatically passed by Next.js if route is /app/[locale]/... - // but getLocale() is more general if locale isn't always in path params at this layout level + // but getLocale() is more general if locale isn't always in path params at this layout level }: Readonly<{ children: React.ReactNode; params?: { locale?: string }; @@ -40,12 +41,14 @@ export default async function RootLayout({ // Use params.locale if available and valid, otherwise fallback to getLocale() // This handles cases where this RootLayout might be used directly by a locale-specific route segment. // However, with `localePrefix: 'as-needed'` and middleware, `getLocale()` should be reliable. - const locale = params?.locale || await getLocale(); + const locale = params?.locale || (await getLocale()); console.log("RootLayout - Determined locale:", locale); // Added console.log const messages = await getMessages(); // Uses the locale from getRequestConfig in i18n.ts return ( - {/* Set lang attribute to the current locale */} + + {" "} + {/* Set lang attribute to the current locale */}