mirror of
https://github.com/20kaushik02/spotify-manager-web.git
synced 2025-12-06 05:24:07 +00:00
bleh, and spotify redirect uri
https://developer.spotify.com/blog/2025-02-12-increasing-the-security-requirements-for-integrating-with-spotify
This commit is contained in:
parent
a7df0b4d30
commit
e157ae4414
@ -1 +1 @@
|
||||
REACT_APP_API_BASE_URL = "http://localhost:9001"
|
||||
REACT_APP_API_BASE_URL = "http://127.0.0.1:9001"
|
||||
|
||||
@ -12,6 +12,7 @@ const Navbar = () => {
|
||||
<nav className={`${styles.navbar_wrapper} custom_scrollbar`}>
|
||||
<StyledNavLink path="/" text="About" />
|
||||
<StyledNavLink path="/graph" text="Graph" />
|
||||
<StyledNavLink path="/how-to" text="How To" />
|
||||
{auth === true ? (
|
||||
<StyledNavLink path="/logout" text="Logout" />
|
||||
) : (
|
||||
|
||||
11
src/pages/HowToUse/index.tsx
Normal file
11
src/pages/HowToUse/index.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
|
||||
const HowToUse = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>How To Use?</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default HowToUse;
|
||||
@ -11,7 +11,7 @@ const Login = () => {
|
||||
|
||||
return () => clearTimeout(timeoutID);
|
||||
}, []);
|
||||
return <div className={styles.login_wrapper}>Redirecting to Spotify...</div>;
|
||||
return <div className={styles.login_wrapper}>Logging in to Spotify...</div>;
|
||||
};
|
||||
|
||||
export default Login;
|
||||
|
||||
@ -8,6 +8,7 @@ import PageNotFound from "../pages/PageNotFound";
|
||||
import Graph from "../pages/Graph";
|
||||
import Login from "../pages/Login";
|
||||
import Logout from "../pages/Logout";
|
||||
import HowToUse from "../pages/HowToUse";
|
||||
|
||||
const AllRoutes = () => {
|
||||
return (
|
||||
@ -26,6 +27,7 @@ const AllRoutes = () => {
|
||||
|
||||
{/* Common routes */}
|
||||
<Route path="/" element={<Landing />} />
|
||||
<Route path="/how-to" element={<HowToUse />} />
|
||||
|
||||
{/* 404 */}
|
||||
<Route path="/page-not-found" element={<PageNotFound />} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user