Skip to content

Commit 1cb2eb1

Browse files
committed
feat: add quotes rotate with dark mode
1 parent 2687aed commit 1cb2eb1

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

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

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { WordRotate } from "@theliaison/ui/magicui/word-rotate";
21
import type { Metadata } from "next";
32
import Link from "next/link";
43
import { Header } from "./[giftId]/header";
4+
import { QuotesRotate } from "~/components/quotes-rotate";
55

66
const navLinks = [
77
{
@@ -51,28 +51,14 @@ export default function Layout({ children }: { children: React.ReactNode }) {
5151
<Header />
5252
{children}
5353
<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 mx-auto w-full">
55+
<QuotesRotate isDark />
56+
</div>
5457
<div className="flex items-center justify-center">
5558
<span className="text-medium font-medium">
5659
TL <strong>Gifting Concierge</strong>
5760
</span>
5861
</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>
7662

7763
<div className="flex flex-wrap justify-center gap-x-4 gap-y-1">
7864
{navLinks.map((item) => (

0 commit comments

Comments
 (0)