From b3731095dc378c81a97fdb059f2e8012f3d3e328 Mon Sep 17 00:00:00 2001 From: Leo He <145774471+CaptainHPY@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:10:28 +0800 Subject: [PATCH] Remove Spotify (#6) * feat: remove spotify * docs: to swift --- .env.example | 6 --- src/components/layout/Footer.tsx | 6 +-- src/components/layout/Spotify.tsx | 67 ------------------------------- src/constants/env.ts | 7 ---- src/pages/blog/[...slug].tsx | 2 +- 5 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 src/components/layout/Spotify.tsx diff --git a/.env.example b/.env.example index 9c9600c..ac03c26 100644 --- a/.env.example +++ b/.env.example @@ -6,12 +6,6 @@ IP_ADDRESS_SALT= # Dev.to Credentials for getting views DEVTO_KEY= -# Spotify Credentials -# used for /api/spotify widget -SPOTIFY_CLIENT_ID= -SPOTIFY_CLIENT_SECRET= -SPOTIFY_REFRESH_TOKEN= - # Dev tools page hidden route ADMIN_PASSWORD=admin diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 5be89a5..c7d8eab 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -8,20 +8,16 @@ import { trackEvent } from '@/lib/analytics'; import useCopyToClipboard from '@/hooks/useCopyToClipboard'; import Accent from '@/components/Accent'; -import Spotify from '@/components/layout/Spotify'; import UnstyledLink from '@/components/links/UnstyledLink'; import Tooltip from '@/components/Tooltip'; -import { feedbackFlag, spotifyFlag } from '@/constants/env'; +import { feedbackFlag } from '@/constants/env'; export default function Footer() { return (