Skip to content

Commit a94b098

Browse files
committed
feat(web): update HomePage layout with new features and styling improvements
1 parent db43ce6 commit a94b098

9 files changed

Lines changed: 290 additions & 202 deletions

File tree

apps/web/public/story/1.jpg

268 KB
Loading

apps/web/public/story/2.jpg

211 KB
Loading

apps/web/public/story/3.jpg

274 KB
Loading

apps/web/public/story/4.jpg

276 KB
Loading

apps/web/public/story/5.jpg

244 KB
Loading

apps/web/public/story/6.jpg

265 KB
Loading

apps/web/src/components/layouts/home-footer.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ export function HomeFooter() {
124124

125125
<div className="border-t border-border pt-8 flex flex-col sm:flex-row gap-2 justify-between items-center text-sm text-muted-foreground">
126126
<p>&copy; {currentYear} Dafthunk. All rights reserved.</p>
127-
{/* Uptime Counter */}
128-
<div className="rounded-md bg-neutral-100 dark:bg-neutral-800 px-4 py-1 text-xs font-mono text-neutral-700 dark:text-neutral-200 shadow border border-neutral-200 dark:border-neutral-700">
129-
Site has been procrastinating for:{" "}
130-
<span className="font-semibold">{uptime}</span>
131-
</div>
132127
</div>
133128
</div>
134129
</footer>

apps/web/src/pages/home-page.tsx

Lines changed: 262 additions & 185 deletions
Large diffs are not rendered by default.

apps/web/tailwind.config.js

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,41 @@ export default {
6565
},
6666
keyframes: {
6767
"accordion-down": {
68-
from: {
69-
height: "0",
70-
},
71-
to: {
72-
height: "var(--radix-accordion-content-height)",
73-
},
68+
from: { height: "0" },
69+
to: { height: "var(--radix-accordion-content-height)" },
7470
},
7571
"accordion-up": {
76-
from: {
77-
height: "var(--radix-accordion-content-height)",
78-
},
79-
to: {
80-
height: "0",
81-
},
72+
from: { height: "var(--radix-accordion-content-height)" },
73+
to: { height: "0" },
74+
},
75+
"blink-1": {
76+
"0%": { opacity: "1" },
77+
"47%": { opacity: "1" },
78+
"48%": { opacity: "0" },
79+
"52%": { opacity: "0" },
80+
"53%": { opacity: "1" },
81+
"97%": { opacity: "1" },
82+
"98%": { opacity: "0" },
83+
"99.5%": { opacity: "0" },
84+
"100%": { opacity: "1" },
85+
},
86+
"blink-2": {
87+
"0%": { opacity: "0" },
88+
"47%": { opacity: "0" },
89+
"48%": { opacity: "1" },
90+
"52%": { opacity: "1" },
91+
"53%": { opacity: "0" },
92+
"97%": { opacity: "0" },
93+
"98%": { opacity: "1" },
94+
"99.5%": { opacity: "1" },
95+
"100%": { opacity: "0" },
8296
},
8397
},
8498
animation: {
8599
"accordion-down": "accordion-down 0.2s ease-out",
86100
"accordion-up": "accordion-up 0.2s ease-out",
101+
"blink-1": "blink-1 2.7s ease-out infinite",
102+
"blink-2": "blink-2 2.7s ease-out infinite",
87103
},
88104
},
89105
},

0 commit comments

Comments
 (0)