diff --git a/.env.example b/.env.example deleted file mode 100644 index 8c8dfed..0000000 --- a/.env.example +++ /dev/null @@ -1,4 +0,0 @@ -SPOTIFY_CLIENT_ID=your_client_id_here -SPOTIFY_CLIENT_SECRET=your_client_secret_here -SPOTIFY_ACCESS_TOKEN=BQA... -SPOTIFY_REFRESH_TOKEN=AQA... \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 68582ab..17e5128 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -42,7 +42,6 @@ export default defineConfig({ "arrow-left", ], "simple-icons": [ - "spotify", "gitea", "bluesky", "react", diff --git a/docker-compose.yml b/docker-compose.yml index f85fef5..438bdf1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,8 +5,4 @@ services: - "${APP_PORT}:4321" environment: NODE_ENV: production - SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID} - SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET} - SPOTIFY_REFRESH_TOKEN: ${SPOTIFY_REFRESH_TOKEN} - SPOTIFY_ACCESS_TOKEN: ${SPOTIFY_ACCESS_TOKEN} restart: unless-stopped diff --git a/src/components/SocialLinks.astro b/src/components/SocialLinks.astro index 710bda6..b291a4c 100644 --- a/src/components/SocialLinks.astro +++ b/src/components/SocialLinks.astro @@ -1,44 +1,31 @@ --- import { Icon } from "astro-icon/components"; -import SpotifyIcon from "./SpotifyIcon"; import { socialLinks } from "../config/data"; // Helper function to check if icon is a string (Astro icon) function isAstroIcon(icon: any): icon is string { return typeof icon === "string"; } - -// Helper function to check if icon is SpotifyIcon component -function isSpotifyIcon(icon: any): boolean { - return icon === SpotifyIcon; -} ---