Skip to content

Commit 295aeba

Browse files
Merge pull request #12 from Eric-Zhang-Developer/feature/beautify-front-end
Feature/beautify front end
2 parents cfe057e + 3910134 commit 295aeba

File tree

5 files changed

+45
-20
lines changed

5 files changed

+45
-20
lines changed

package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"test": "jest"
1111
},
1212
"dependencies": {
13+
"lucide-react": "^0.515.0",
1314
"next": "15.2.3",
1415
"react": "^19.0.0",
1516
"react-dom": "^19.0.0",

src/app/globals.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
--foreground: #171717;
66
}
77

8-
@theme inline {
9-
--color-background: var(--background);
10-
--color-foreground: var(--foreground);
11-
--font-sans: var(--font-geist-sans);
12-
--font-mono: var(--font-geist-mono);
13-
}
148

159

1610
body {

src/app/layout.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
import "./globals.css";
22

33

4+
export const metadata = {
5+
title: "Follower Diff - See Who Doesn't Follow You Back",
6+
description:
7+
"Safely see your Instagram non-followers using your official Instagram data. Your files are processed right in your browser and never uploaded anywhere.",
8+
}
9+
10+
411
export default function RootLayout({
512
children,
613
}: Readonly<{

src/app/page.tsx

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,40 @@
1-
"use client"
1+
"use client";
22

3+
import { Github, Upload } from "lucide-react";
34
import Link from "next/link";
45

5-
66
export default function Home() {
77
return (
8-
<div className="mx-auto container p-2">
9-
<header className="text-3xl text-center mb-8">FollowDiff</header>
10-
<main className="flex items-center justify-center flex-col gap-4">
11-
<h1 className="text-2xl">Curious Who Doesn&apos;t Follow You Back?</h1>
12-
<h2 className="text-xl text-center">Safely see your non-followers using your official Instagram data. Your files are processed right here in your browser and are never uploaded anywhere.</h2>
8+
<div className="mx-auto container p-10">
9+
<main className="flex items-center justify-center flex-col gap-4 px-12">
10+
<h1 className="text-5xl">Curious Who Doesn&apos;t Follow You Back?</h1>
11+
<h2 className="text-xl text-center">
12+
Safely see your non-followers using your official Instagram data. Your files are processed
13+
right here in your browser and are never uploaded anywhere.
14+
</h2>
15+
1316
{/* Drop Zone */}
14-
<div className="border-2 px-1/2 py-40 flex flex-col gap-8 items-center justify-center w-1/2">
17+
<div className="border-2 px-1/2 py-30 flex flex-col gap-8 items-center justify-center w-1/2 border-dashed rounded-3xl mt-12 text-lg hover:cursor-pointer">
18+
<Upload size={50}></Upload>
1519
Drag & drop your followers.json & following.json files here
1620
<span>or</span>
17-
<button className="border-1 p-2">Select Files</button>
21+
<button className="border-1 px-4 py-2 text-lg rounded-xl hover:cursor-pointer transition hover:scale-105">Select Files</button>
1822
</div>
19-
<Link href="/tutorial" className="underline"> Don&apos;t have your files? Here&apos;s how to get them.</Link>
23+
24+
<Link href="/tutorial" className="underline">
25+
{" "}
26+
Don&apos;t have your files? Here&apos;s how to get them.
27+
</Link>
2028
</main>
21-
<footer className="fixed bottom-0 right-0 p-4">
22-
Open Source & Privacy-First
23-
</footer>
29+
30+
<a
31+
href="https://github.com/Eric-Zhang-Developer/follow-diff"
32+
target="_blank"
33+
rel="noopener noreferrer"
34+
className="fixed bottom-0 right-0 p-5 flex flex-row gap-2 hover:scale-110 transition"
35+
>
36+
Open Source & Privacy-First <Github></Github>
37+
</a>
2438
</div>
2539
);
2640
}
27-
  

0 commit comments

Comments
 (0)