imeshuek commited on
Commit
f19a619
·
verified ·
1 Parent(s): 5bedb3a

Upload src/app/layout.tsx

Browse files
Files changed (1) hide show
  1. src/app/layout.tsx +10 -96
src/app/layout.tsx CHANGED
@@ -1,110 +1,24 @@
1
  import type { Metadata } from 'next'
2
  import './globals.css'
 
 
 
3
 
4
  export const metadata: Metadata = {
5
  title: 'Evermore — Plan Your Perfect Wedding',
6
  description: 'Discover curated wedding vendors, manage your budget, sign contracts, and bring your dream wedding to life.',
7
  }
8
 
9
- export default function RootLayout({
10
- children,
11
- }: {
12
- children: React.ReactNode
13
- }) {
14
  return (
15
  <html lang="en">
16
  <body className="font-body antialiased">
17
- {/* Header */}
18
- <header className="sticky top-0 z-50 bg-ivory-50/80 backdrop-blur-xl border-b border-ivory-200">
19
- <div className="wedding-section">
20
- <div className="flex items-center justify-between h-16">
21
- {/* Logo */}
22
- <a href="/" className="flex items-center gap-2">
23
- <span className="text-2xl">💍</span>
24
- <span className="font-heading text-xl font-semibold text-charcoal-700 tracking-wide">
25
- Evermore
26
- </span>
27
- </a>
28
-
29
- {/* Nav */}
30
- <nav className="hidden md:flex items-center gap-8">
31
- <a href="/search" className="text-sm font-medium text-charcoal-400 hover:text-gold-500 transition-colors">
32
- Explore Vendors
33
- </a>
34
- <a href="/planner" className="text-sm font-medium text-charcoal-400 hover:text-gold-500 transition-colors">
35
- My Planner
36
- </a>
37
- <a href="/contracts" className="text-sm font-medium text-charcoal-400 hover:text-gold-500 transition-colors">
38
- Contracts
39
- </a>
40
- <a href="/shortlist" className="text-sm font-medium text-charcoal-400 hover:text-gold-500 transition-colors">
41
- Shortlist
42
- </a>
43
- </nav>
44
-
45
- {/* Actions */}
46
- <div className="flex items-center gap-3">
47
- <button className="p-2 text-charcoal-400 hover:text-gold-500 transition-colors" aria-label="Notifications">
48
- <svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
49
- <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M14.857 17.082a23.848 23.848 0 005.644 1.014 1.5 1.5 0 01-1.06 2.822 20.852 20.852 0 01-5.584-1.09m-4.236-2.494a23.848 23.848 0 005.644 1.014 1.5 1.5 0 01-1.06 2.822 20.852 20.852 0 01-5.584-1.09m4.236 2.494L12 21.75l-2.261-2.261a20.852 20.852 0 01-5.584 1.09 1.5 1.5 0 01-1.06-2.822 23.848 23.848 0 005.644-1.014m0 0L12 14.25l-3.092 3.092M12 14.25V3.75a1.5 1.5 0 013 0v10.5" />
50
- </svg>
51
- </button>
52
- <button className="wedding-btn-primary">
53
- Sign In
54
- </button>
55
- </div>
56
- </div>
57
- </div>
58
- </header>
59
-
60
- {/* Main */}
61
- <main className="min-h-screen">
62
- {children}
63
- </main>
64
-
65
- {/* Footer */}
66
- <footer className="bg-charcoal-700 text-ivory-100 py-16 mt-24">
67
- <div className="wedding-section">
68
- <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
69
- <div>
70
- <h3 className="font-heading text-xl text-ivory-50 mb-4">Evermore</h3>
71
- <p className="text-sm text-charcoal-300 leading-relaxed">
72
- Your curated wedding planning companion. Discover vendors, manage budgets, and sign contracts — all in one place.
73
- </p>
74
- </div>
75
- <div>
76
- <h4 className="font-heading text-sm font-semibold text-gold-300 mb-4 uppercase tracking-wider">For Couples</h4>
77
- <ul className="space-y-2 text-sm text-charcoal-300">
78
- <li><a href="/search" className="hover:text-ivory-50 transition-colors">Find Vendors</a></li>
79
- <li><a href="/planner" className="hover:text-ivory-50 transition-colors">Planner Dashboard</a></li>
80
- <li><a href="/contracts" className="hover:text-ivory-50 transition-colors">My Contracts</a></li>
81
- <li><a href="/shortlist" className="hover:text-ivory-50 transition-colors">Shortlisted</a></li>
82
- </ul>
83
- </div>
84
- <div>
85
- <h4 className="font-heading text-sm font-semibold text-gold-300 mb-4 uppercase tracking-wider">For Vendors</h4>
86
- <ul className="space-y-2 text-sm text-charcoal-300">
87
- <li><a href="#" className="hover:text-ivory-50 transition-colors">List Your Business</a></li>
88
- <li><a href="#" className="hover:text-ivory-50 transition-colors">Vendor Portal</a></li>
89
- <li><a href="#" className="hover:text-ivory-50 transition-colors">Contract Builder</a></li>
90
- </ul>
91
- </div>
92
- <div>
93
- <h4 className="font-heading text-sm font-semibold text-gold-300 mb-4 uppercase tracking-wider">Legal</h4>
94
- <ul className="space-y-2 text-sm text-charcoal-300">
95
- <li><a href="#" className="hover:text-ivory-50 transition-colors">Privacy Policy</a></li>
96
- <li><a href="#" className="hover:text-ivory-50 transition-colors">Terms of Service</a></li>
97
- <li><a href="#" className="hover:text-ivory-50 transition-colors">Cookie Policy</a></li>
98
- </ul>
99
- </div>
100
- </div>
101
- <div className="wedding-divider mt-12 mb-8" />
102
- <p className="text-center text-xs text-charcoal-400">
103
- © 2026 Evermore. Crafted with love for couples everywhere.
104
- </p>
105
- </div>
106
- </footer>
107
  </body>
108
  </html>
109
  )
110
- }
 
1
  import type { Metadata } from 'next'
2
  import './globals.css'
3
+ import { AppProvider } from '@/lib/app-context'
4
+ import Header from '@/components/Header'
5
+ import Footer from '@/components/Footer'
6
 
7
  export const metadata: Metadata = {
8
  title: 'Evermore — Plan Your Perfect Wedding',
9
  description: 'Discover curated wedding vendors, manage your budget, sign contracts, and bring your dream wedding to life.',
10
  }
11
 
12
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
 
 
 
 
13
  return (
14
  <html lang="en">
15
  <body className="font-body antialiased">
16
+ <AppProvider>
17
+ <Header />
18
+ <main className="min-h-screen">{children}</main>
19
+ <Footer />
20
+ </AppProvider>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  </body>
22
  </html>
23
  )
24
+ }