font change, url change

This commit is contained in:
Kaushik Narayan R 2025-03-20 12:45:04 -07:00
parent c135dda6d0
commit 7c24ebdcfb
6 changed files with 21 additions and 24 deletions

View File

@ -14,6 +14,7 @@
"bugs": { "bugs": {
"url": "https://github.com/20kaushik02/spotify-manager-web/issues" "url": "https://github.com/20kaushik02/spotify-manager-web/issues"
}, },
"homepage": "https://spotify-manager.knravish.me",
"dependencies": { "dependencies": {
"@dagrejs/dagre": "^1.1.4", "@dagrejs/dagre": "^1.1.4",
"@testing-library/jest-dom": "^6.6.3", "@testing-library/jest-dom": "^6.6.3",

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,10 @@
/*===== CSS GLOBAL VARIABLES =====*/ /*===== CSS GLOBAL VARIABLES =====*/
/* Font Size */ /* Font Size */
/* Colors */
:root { :root {
--normalFontSize: 16px; --normalFontSize: 16px;
--headingFontSize: 48px; --headingFontSize: 48px;
--headingFont: AileronFont;
--primaryFont: AileronFont;
--text: whitesmoke; --text: whitesmoke;
--bg: #443c9c; --bg: #443c9c;
--bgNav: #6360b1; --bgNav: #6360b1;
@ -13,19 +12,7 @@
--bgLinkInactive: #242c44; --bgLinkInactive: #242c44;
} }
/* Colors */
/* Fonts */ /* Fonts */
@font-face {
font-family: AileronFont;
src: url(/src/assets/fonts/Aileron-Black.otf);
font-weight: bold;
}
@font-face {
font-family: AileronFont;
src: url(/src/assets/fonts/Aileron-Light.otf);
font-weight: light;
}
/* rem-based (root element) sizes */ /* rem-based (root element) sizes */
:root { :root {
@ -103,16 +90,20 @@ img {
} }
body { body {
font-family: var(--primaryFont), -apple-system, BlinkMacSystemFont, "Segoe UI", font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
"Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif;
font-size: var(--normalFontSize); font-size: var(--normalFontSize);
color: var(--text); color: var(--text);
background-color: var(--bg); background-color: var(--bg);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
overflow-x: hidden; overflow-x: hidden;
letter-spacing: 1.5px; }
input,
select,
textarea,
button {
font-family: inherit;
} }
code { code {

View File

@ -1,4 +1,5 @@
import React from "react"; import React from "react";
import { Link } from "react-router-dom";
import styles from "./HowToUse.module.css"; import styles from "./HowToUse.module.css";
const HowToUse = (): React.ReactNode => { const HowToUse = (): React.ReactNode => {
return ( return (
@ -11,9 +12,9 @@ const HowToUse = (): React.ReactNode => {
<ul> <ul>
<li> <li>
In the{" "} In the{" "}
<a href="/graph"> <Link to="/graph">
<u>graph</u> <u>graph</u>
</a>{" "} </Link>{" "}
manager, click 'Sync Spotify' to load your playlists into the manager, click 'Sync Spotify' to load your playlists into the
app. This pulls your latest Spotify playlists into the app. This pulls your latest Spotify playlists into the
application. application.
@ -107,14 +108,14 @@ const HowToUse = (): React.ReactNode => {
<ul> <ul>
Check it out on GitHub: Check it out on GitHub:
<li> <li>
<a href="https://github.com/20kaushik02/spotify-manager-web"> <Link to="https://github.com/20kaushik02/spotify-manager-web">
<u>The front-end - ReactJS (ReactFlow)</u> <u>The front-end - ReactJS (ReactFlow)</u>
</a> </Link>
</li> </li>
<li> <li>
<a href="https://github.com/20kaushik02/spotify-manager"> <Link to="https://github.com/20kaushik02/spotify-manager">
<u>The REST API - ExpressJS</u> <u>The REST API - ExpressJS</u>
</a> </Link>
</li> </li>
</ul> </ul>
</li> </li>

View File

@ -4,6 +4,7 @@ import Button from "../../components/Button/index.tsx";
import { loadExportDataFullURL } from "../../api/paths.ts"; import { loadExportDataFullURL } from "../../api/paths.ts";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
import { import {
showInfoToastNotification,
showSuccessToastNotification, showSuccessToastNotification,
showWarnToastNotification, showWarnToastNotification,
} from "../../components/ToastNotification/index.tsx"; } from "../../components/ToastNotification/index.tsx";
@ -33,6 +34,9 @@ const Settings = (): React.ReactNode => {
return; return;
} }
setDataFile(selectedFile); setDataFile(selectedFile);
showInfoToastNotification(
"Note: Importing will overwrite all links currently in-place."
);
}; };
const importGraph = async () => { const importGraph = async () => {