Skip to content

Commit 1a49283

Browse files
author
Dan Costello
committed
Tweak homepage design
1 parent 49ca473 commit 1a49283

File tree

2 files changed

+14
-59
lines changed

2 files changed

+14
-59
lines changed

app/(home)/page.tsx

Lines changed: 13 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Link from "next/link";
22
import Image from "next/image";
3+
import { LockIcon, ShieldIcon, UsersIcon } from "lucide-react";
34

45
export default function HomePage() {
56
return (
@@ -30,46 +31,29 @@ export default function HomePage() {
3031
</Link>
3132
<Link
3233
href="https://github.com/userclouds/userclouds-oss"
33-
className="inline-flex items-center justify-center rounded-lg border border-fd-border bg-background px-6 py-3 text-sm font-medium hover:bg-fd-muted/50 transition-colors"
34+
className="inline-flex items-center justify-center rounded-lg border border-fd-border bg-background px-6 py-3 text-sm font-medium hover:bg-fd-primary/20 transition-colors"
3435
target="_blank"
3536
rel="noopener noreferrer"
3637
>
3738
<svg
38-
xmlns="http://www.w3.org/2000/svg"
39-
width="18"
40-
height="18"
39+
role="img"
4140
viewBox="0 0 24 24"
42-
fill="none"
43-
stroke="currentColor"
44-
strokeWidth="2"
45-
strokeLinecap="round"
46-
strokeLinejoin="round"
47-
className="mr-2"
41+
xmlns="http://www.w3.org/2000/svg"
42+
className="mr-2 size-6"
4843
>
49-
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
50-
<path d="M9 18c-4.51 2-5-2-7-2" />
44+
<title>GitHub</title>
45+
<path
46+
className="dark:fill-white"
47+
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
48+
/>
5149
</svg>
5250
GitHub
5351
</Link>
5452
</div>
5553

5654
<div className="mt-16 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl">
5755
<div className="flex flex-col items-center p-6 bg-fd-card rounded-lg border border-fd-border">
58-
<svg
59-
xmlns="http://www.w3.org/2000/svg"
60-
width="24"
61-
height="24"
62-
viewBox="0 0 24 24"
63-
fill="none"
64-
stroke="currentColor"
65-
strokeWidth="2"
66-
strokeLinecap="round"
67-
strokeLinejoin="round"
68-
className="mb-4 text-fd-primary"
69-
>
70-
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
71-
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
72-
</svg>
56+
<LockIcon className="mb-2 size-5" />
7357
<h3 className="text-lg font-semibold mb-2">Authentication</h3>
7458
<p className="text-fd-muted-foreground text-center">
7559
Secure, flexible user authentication system with multiple identity
@@ -78,44 +62,15 @@ export default function HomePage() {
7862
</div>
7963

8064
<div className="flex flex-col items-center p-6 bg-fd-card rounded-lg border border-fd-border">
81-
<svg
82-
xmlns="http://www.w3.org/2000/svg"
83-
width="24"
84-
height="24"
85-
viewBox="0 0 24 24"
86-
fill="none"
87-
stroke="currentColor"
88-
strokeWidth="2"
89-
strokeLinecap="round"
90-
strokeLinejoin="round"
91-
className="mb-4 text-fd-primary"
92-
>
93-
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10" />
94-
</svg>
65+
<ShieldIcon className="mb-2 size-6" />
9566
<h3 className="text-lg font-semibold mb-2">Authorization</h3>
9667
<p className="text-fd-muted-foreground text-center">
9768
Fine-grained access control with easy-to-implement permission models
9869
</p>
9970
</div>
10071

10172
<div className="flex flex-col items-center p-6 bg-fd-card rounded-lg border border-fd-border">
102-
<svg
103-
xmlns="http://www.w3.org/2000/svg"
104-
width="24"
105-
height="24"
106-
viewBox="0 0 24 24"
107-
fill="none"
108-
stroke="currentColor"
109-
strokeWidth="2"
110-
strokeLinecap="round"
111-
strokeLinejoin="round"
112-
className="mb-4 text-fd-primary"
113-
>
114-
<path d="M21 5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2" />
115-
<path d="M16 2v4" />
116-
<path d="M8 2v4" />
117-
<path d="M2 10h20" />
118-
</svg>
73+
<UsersIcon className="mb-2 size-6" />
11974
<h3 className="text-lg font-semibold mb-2">User Data Management</h3>
12075
<p className="text-fd-muted-foreground text-center">
12176
Centralized user data storage with privacy-preserving tokenization

app/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
--color-fd-popover-foreground: hsl(220, 60%, 94%);
3939
--color-fd-card: hsla(220, 56%, 15%, 0.4);
4040
--color-fd-card-foreground: hsl(220, 60%, 94%);
41-
--color-fd-border: hsla(220, 50%, 50%, 0.2);
41+
--color-fd-border: hsla(220, 50%, 50%, 0.5);
4242
--color-fd-primary: hsl(203, 100%, 50%);
4343
--color-fd-primary-foreground: hsl(0, 0%, 20%);
4444
--color-fd-secondary: hsl(220, 50%, 20%);

0 commit comments

Comments
 (0)