mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-18 21:15:16 +02:00
feat: readded google signins and add global announcement feature
- Updated .env.example to include new environment variables for Google authentication and global announcement settings. - Integrated Google sign-in functionality in SignInButton and HeroSection components, allowing users to log in with their Google accounts. - Added GlobalAnnouncement component to display maintenance notices or announcements on the homepage layout. - Enhanced styling for Google sign-in buttons to improve user experience.
This commit is contained in:
parent
b89866541e
commit
4e5c13f60a
6 changed files with 214 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import { usePathname } from "next/navigation";
|
||||
import { FooterNew } from "@/components/homepage/footer-new";
|
||||
import { GlobalAnnouncement } from "@/components/homepage/global-announcement";
|
||||
import { Navbar } from "@/components/homepage/navbar";
|
||||
|
||||
export default function HomePageLayout({ children }: { children: React.ReactNode }) {
|
||||
|
|
@ -15,6 +16,7 @@ export default function HomePageLayout({ children }: { children: React.ReactNode
|
|||
|
||||
return (
|
||||
<main className="min-h-screen bg-linear-to-b from-gray-50 to-gray-100 text-gray-900 dark:from-black dark:to-gray-900 dark:text-white overflow-x-hidden">
|
||||
<GlobalAnnouncement />
|
||||
<Navbar />
|
||||
{children}
|
||||
{!isAuthPage && <FooterNew />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue