Skip to content

Commit 11971bb

Browse files
committed
feat: add footer
1 parent 0652a68 commit 11971bb

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

apps/gifting-concierge/src/app/confirm/layout.tsx

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
import type { Metadata } from "next";
2+
import { WordRotate } from "@theliaison/ui/magicui/word-rotate";
23
import { Header } from "./[giftId]/header";
4+
import Link from "next/link";
5+
6+
const navLinks = [
7+
{
8+
name: "Home",
9+
href: "/",
10+
},
11+
{
12+
name: "How it works",
13+
href: "/how-it-works",
14+
},
15+
{
16+
name: "Social Polling",
17+
href: "https://theliaison.vercel.app/",
18+
},
19+
{
20+
name: "Gift Shop",
21+
href: "/giftshop",
22+
},
23+
];
324

425
export const metadata: Metadata = {
526
title: "Someone special wants to send you a gift! - The Liaison",
@@ -29,6 +50,48 @@ export default function Layout({ children }: { children: React.ReactNode }) {
2950
<div className="relative z-20 mx-auto min-h-screen h-full w-full max-w-7xl px-6 md:px-8 lg:px-12 bg-black">
3051
<Header />
3152
{children}
53+
<footer className="mt-24 mb-8 max-w-screen-xl mx-auto px-6 lg:px-8 text-white">
54+
<div className="flex items-center justify-center">
55+
<span className="text-medium font-medium">
56+
TL <strong>Gifting Concierge</strong>
57+
</span>
58+
</div>
59+
<div className="flex items-center justify-center mx-auto w-full">
60+
<WordRotate
61+
words={[
62+
'"A gift consist not in what is done or given, but in the intention of the giver or doer." - Seneca',
63+
'"The manner of giving is worth more than the gift." - Pierre Corneille',
64+
'"Every gift which is given, even though it be small, is in reality great, if it is given with affection." - Pindar',
65+
'"We make a living by what we get, but we make a life by what we give." - Winston Churchill',
66+
'"No one has ever overcome poor by giving." - Anne Frank',
67+
'"It is not how much we give, but how much love we put into giving." - Mother Teresa',
68+
'"For it is in giving that we receive." - Francis of Assisi',
69+
'"Gratitude is not only the greatest of virtues, but the parent of all others." - Cicero',
70+
'"When we give cheerfully and accept gratefully, everyone is blessed." - Maya Angelou',
71+
'"The meaning of life is to find your gift. The purpose of life is to give it away." - Pablo Picasso',
72+
]}
73+
duration={5000}
74+
/>
75+
</div>
76+
77+
<div className="flex flex-wrap justify-center gap-x-4 gap-y-1">
78+
{navLinks.map((item) => (
79+
<Link
80+
key={item.name}
81+
isExternal
82+
className="text-default-500"
83+
href={item.href}
84+
size="sm"
85+
>
86+
{item.name}
87+
</Link>
88+
))}
89+
</div>
90+
91+
<p className="mt-1 text-center text-small text-default-400">
92+
&copy; {new Date().getFullYear()} The Liaison. All rights reserved.
93+
</p>
94+
</footer>
3295
</div>
3396
</main>
3497
);

0 commit comments

Comments
 (0)