albert
-
+
{Math.floor(
(new Date().getTime() - new Date('2004-07-22').getTime()) /
(1000 * 60 * 60 * 24 * 365.25),
diff --git a/src/components/SocialLayout.tsx b/src/components/SocialLayout.tsx
index 60785b6..54bf6ff 100644
--- a/src/components/SocialLayout.tsx
+++ b/src/components/SocialLayout.tsx
@@ -4,18 +4,16 @@ import React from 'react';
export const SocialLayout = () => {
return (
- <>
-
- {socials.map((social) => (
-
- {React.createElement(social.icon)}
-
- ))}
-
- >
+
+ {socials.map((social) => (
+
+ {React.createElement(social.icon)}
+
+ ))}
+
);
};
diff --git a/src/components/SpotifyCard.tsx b/src/components/SpotifyCard.tsx
index 1a288e8..3818471 100644
--- a/src/components/SpotifyCard.tsx
+++ b/src/components/SpotifyCard.tsx
@@ -1,9 +1,9 @@
import { truncate } from '@/utils/truncate';
-import FadeIn from 'react-fade-in';
import Image from 'next/image';
import useSWR from 'swr';
import SongImage from '@/public/song.webp';
import Link from 'next/link';
+import { HiMusicNote } from 'react-icons/hi';
export const fetcher = (url: RequestInfo) => fetch(url).then((r) => r.json());
@@ -14,35 +14,29 @@ export const NowPlayingCard = () => {
});
return (
-
-
- {spotify.song ? (
-
- ) : (
-
- )}
-
-
- Listening to{' '}
- {spotify.song ? (
-
- {truncate(`${spotify.song.title}`, 20)}
-
- ) : (
- nothing
- )}
-
+
+ {spotify.song ? (
+
+ ) : (
+
+ )}
+
+
+ Listening to{' '}
+ {spotify.song ? (
+
+ {truncate(`${spotify.song.title}`, 20)}
+
+ ) : (
+ nothing
+ )}
-
+
);
};
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index c6875cf..3679327 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,9 +1,5 @@
import { MainLayout } from '@/components/MainLayout';
export default function Home () {
- return (
- <>
-
- >
- );
+ return
;
}