Skip to content

Commit aff4ec2

Browse files
committed
Cleanup, changed Icon, and created Extension Preview
1 parent 1c24c74 commit aff4ec2

39 files changed

Lines changed: 107 additions & 1934 deletions

app/+not-found/page.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/[...slug]/page.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/components/admin/UserRow.tsx

Lines changed: 0 additions & 73 deletions
This file was deleted.

app/components/chips/FilterChip.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/components/comments/thread.tsx

Lines changed: 0 additions & 141 deletions
This file was deleted.

app/components/modals/RoleSelect.tsx

Lines changed: 0 additions & 62 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
"use client";
2+
3+
export default function ExtensionPreview() {
4+
return (
5+
<div className="p-5 w-[300px]
6+
bg-linear-to-b from-(--gray-700-transparent) to-(--gray-700)/80
7+
backdrop-blur-md
8+
text-(--color-text)
9+
rounded-2xl
10+
shadow-lg ring-1 ring-(--color-accent-dark)">
11+
<div className="text-center mb-4">
12+
<h1 className="py-3 text-3xl font-semibold text-(--color-accent)">FairPlay</h1>
13+
</div>
14+
15+
<div className="space-y-3">
16+
<label className="flex items-center">
17+
<input type="checkbox" defaultChecked id="ytShorts" className="mr-3 accent-(--color-accent-dark)" />
18+
<span className="text-(--color-text-para)">YouTube Shorts</span>
19+
</label>
20+
21+
<label className="flex items-center">
22+
<input type="checkbox" id="blockTikTok" className="mr-3 accent-(--color-accent-dark)" />
23+
<span className="text-(--color-text-para)">TikTok</span>
24+
</label>
25+
26+
<label className="flex items-center">
27+
<input type="checkbox" id="snapVert" className="mr-3 accent-(--color-accent-dark)" />
28+
<span className="text-(--color-text-para)">Snapchat Spotlights</span>
29+
</label>
30+
</div>
31+
32+
<h4 className="mt-6 mb-2 text-(--color-text-bold) font-medium">Custom website</h4>
33+
<input
34+
type="text"
35+
id="customDomain"
36+
placeholder="e.g. example.com"
37+
className="w-full bg-(--gray-500) border border-(--color-border) text-(--color-text) rounded-md p-3 placeholder-(--color-text-amount) focus:outline-none focus:ring-2 focus:ring-(--color-accent-dark)"
38+
/>
39+
40+
<ul id="customDomainList" className="list-none p-0 mt-3 text-(--color-text-para)" />
41+
42+
<button
43+
id="addDomain"
44+
className="mt-4 w-full bg-(--color-accent-dark) rounded-xl p-3 text-(--color-text) font-medium transition duration-200 hover:shadow-lg"
45+
>
46+
Add / Delete
47+
</button>
48+
</div>
49+
);
50+
}

0 commit comments

Comments
 (0)