diff --git a/app/public/vite.svg b/app/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/app/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/src/assets/react.svg b/app/src/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/app/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/src/index.css b/app/src/index.css index 46e26f4..a38ffdf 100644 --- a/app/src/index.css +++ b/app/src/index.css @@ -1,70 +1,91 @@ @import "tailwindcss"; :root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; + font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; + font-weight: 500; + color: #646cff; + text-decoration: inherit; } a:hover { - color: #535bf2; + color: #535bf2; } body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - height: 98vh; + margin: 0; + display: flex; + place-items: center; + min-width: 320px; + height: 98vh; +} + +.title { + display: flex; + position: absolute; + top: 0px; + left: 10vw; + right: 10vw; + width: fit-content; + padding: 10px 5vw; + margin: 0 auto; + border-bottom-right-radius: 2rem; + border-bottom-left-radius: 2rem; + box-shadow: 0 4px 1rem rgb(0, 119, 30); + font-weight: 600; + letter-spacing: 2px; + font-size: 2.25rem; + background-image: url(../public/favicon.png); + background-size: cover; + background-position: 45px -15px; + cursor: default; } h1 { - font-size: 3.2em; - line-height: 1.1; + font-size: 3.2em; + line-height: 1.1; } button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; } button:hover { - border-color: #646cff; + border-color: #646cff; } button:focus, button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; + outline: 4px auto -webkit-focus-ring-color; } @media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } } diff --git a/app/src/pages/Home.tsx b/app/src/pages/Home.tsx index 2aaae11..1cf7f2b 100644 --- a/app/src/pages/Home.tsx +++ b/app/src/pages/Home.tsx @@ -55,86 +55,89 @@ const Home = () => { }; return ( -
-

Upload Spotify files

+ <> +

Spotify Window

+
+

Upload Spotify files

- {/* Hidden actual input */} - + {/* Hidden actual input */} + - {/* Custom drop zone */} -
-
📁
-

Drop JSON files here or click to browse

-

Multiple .json files accepted

-
+ {/* Custom drop zone */} +
+
📁
+

Drop JSON files here or click to browse

+

Multiple .json files accepted

+
- {files.length > 0 && ( -
-

{files.length} files selected:

- {files.map((file, index) => ( -
- {file.name} - -
- ))} - -
- )} -
+ {file.name} + +
+ ))} + + + )} + + ); }; diff --git a/app/src/pages/StatView.tsx b/app/src/pages/StatView.tsx index 7ca4abf..5db15e6 100644 --- a/app/src/pages/StatView.tsx +++ b/app/src/pages/StatView.tsx @@ -60,6 +60,7 @@ const StatView = () => { return (
+

Spotify Window

navigate(-1)} />