vmi-virtual-memorial/vmi-wd-frontend / 7012b06

Browse files

tear out footer

Authored by espadonne
SHA
7012b061e7225c1886365fd2efe96e21759c94e4
Parents
7e35af0
Tree
73eed2d

3 changed files

StatusFile+-
M app/layout.tsx 6 2
M app/page.tsx 0 9
A components/Footer.tsx 11 0
app/layout.tsxmodified
@@ -1,5 +1,6 @@
11
 import type { Metadata } from "next";
22
 import "./globals.css";
3
+import Footer from "@/components/Footer";
34
 
45
 export const metadata: Metadata = {
56
   title: "VMI Virtual Memorial",
@@ -13,8 +14,11 @@ export default function RootLayout({
1314
 }>) {
1415
   return (
1516
     <html lang="en">
16
-      <body className="antialiased">
17
-        {children}
17
+      <body className="antialiased flex flex-col min-h-screen">
18
+        <div className="flex-grow">
19
+          {children}
20
+        </div>
21
+        <Footer />
1822
       </body>
1923
     </html>
2024
   );
app/page.tsxmodified
@@ -149,15 +149,6 @@ export default function Home() {
149149
           )}
150150
         </div>
151151
       </main>
152
-
153
-      {/* Footer */}
154
-      <footer className="bg-gray-900 text-white py-8 mt-16">
155
-        <div className="max-w-5xl mx-auto px-4 text-center">
156
-          <p className="text-sm">
157
-            © {new Date().getFullYear()} matthew forrester wolffe, Richard Colwell Wolffe Jr.
158
-          </p>
159
-        </div>
160
-      </footer>
161152
     </div>
162153
   );
163154
 }