File tree Expand file tree Collapse file tree 5 files changed +79
-24
lines changed
Expand file tree Collapse file tree 5 files changed +79
-24
lines changed Original file line number Diff line number Diff line change 99 "lint" : " next lint"
1010 },
1111 "dependencies" : {
12+ "next" : " 15.2.3" ,
1213 "react" : " ^19.0.0" ,
1314 "react-dom" : " ^19.0.0" ,
14- "next " : " 15.2.3 "
15+ "react-dropzone " : " ^14.3.8 "
1516 },
1617 "devDependencies" : {
17- "typescript" : " ^5" ,
18+ "@eslint/eslintrc" : " ^3" ,
19+ "@tailwindcss/postcss" : " ^4" ,
1820 "@types/node" : " ^20" ,
1921 "@types/react" : " ^19" ,
2022 "@types/react-dom" : " ^19" ,
21- "@tailwindcss/postcss" : " ^4" ,
22- "tailwindcss" : " ^4" ,
2323 "eslint" : " ^9" ,
2424 "eslint-config-next" : " 15.2.3" ,
25- "@eslint/eslintrc" : " ^3"
25+ "tailwindcss" : " ^4" ,
26+ "typescript" : " ^5"
2627 }
2728}
Original file line number Diff line number Diff line change 1212 --font-mono : var (--font-geist-mono );
1313}
1414
15- @media (prefers-color-scheme : dark) {
16- : root {
17- --background : # 0a0a0a ;
18- --foreground : # ededed ;
19- }
20- }
2115
2216body {
2317 background : var (--background );
Original file line number Diff line number Diff line change 1- export default function Home ( ) {
2- return (
3- < main className = "flex items-center justify-center" >
4- < header className = "text-4xl" >
5- FollowDiff
6- </ header >
1+ "use client"
2+
3+ import Link from "next/link" ;
74
8- </ main >
95
6+ export default function Home ( ) {
7+ 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'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 >
13+ { /* Drop Zone */ }
14+ < div className = "border-2 px-1/2 py-40 flex flex-col gap-8 items-center justify-center w-1/2" >
15+ Drag & drop your followers . json & following . json files here
16+ < span > or</ span >
17+ < button className = "border-1 p-2" > Select Files</ button >
18+ </ div >
19+ < Link href = "/tutorial" className = "underline" > Don't have your files? Here's how to get them.</ Link >
20+ </ main >
21+ < footer className = "fixed bottom-0 right-0 p-4" >
22+ Open Source & Privacy - First
23+ </ footer >
24+ </ div >
1025 ) ;
1126}
27+
Original file line number Diff line number Diff line change 1+ import Link from "next/link"
2+
3+ export default function Tutorial ( ) {
4+ return (
5+ < main className = "mx-auto container flex flex-col items-center" >
6+ < h1 className = "text-xl" > Tutorial Page</ h1 >
7+ < Link href = "/" className = "text-lg bg-slate-300 p-4 border-2" > Go Back</ Link >
8+ </ main >
9+ ) ;
10+ }
You can’t perform that action at this time.
0 commit comments