diff --git a/src/components/CustomButton.tsx b/src/components/CustomButton.tsx new file mode 100644 index 0000000..b114bc9 --- /dev/null +++ b/src/components/CustomButton.tsx @@ -0,0 +1,26 @@ +export default function CustomButton({ + to, + icon, + children +}: { + to: string, + icon?: JSX.Element, + children: string | JSX.Element | JSX.Element[] +}) { + return ( +
+ +
+
+
+ { icon && icon } +
+
+ {children} +
+
+
+
+
+ ) +} \ No newline at end of file diff --git a/src/components/Icons.tsx b/src/components/Icons.tsx index ec57e07..fddf46d 100644 --- a/src/components/Icons.tsx +++ b/src/components/Icons.tsx @@ -3,7 +3,7 @@ export const GitHub = () => { GitHub Last.fm X + @@ -78,7 +78,7 @@ export const Medal = () => { export const Link = () => { return ( - + @@ -87,7 +87,7 @@ export const Link = () => { export const LinkedIn = () => { return ( - + { export const Bluesky = () => { return ( - + diff --git a/src/main.tsx b/src/main.tsx index e97300a..ef62b84 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -9,6 +9,7 @@ import './assets/main.css' import MainPage from './pages/index'; import PrivacyPage from './pages/privacy'; import MusicWidget from './pages/music'; +import LinksPage from './pages/links'; const router = createBrowserRouter([ { @@ -22,6 +23,10 @@ const router = createBrowserRouter([ { path: '/music', element: + }, + { + path: '/links', + element: } ]) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8c8e548..ee22583 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -39,6 +39,9 @@ export default function Home() { + +

and more..

+ diff --git a/src/pages/links.tsx b/src/pages/links.tsx new file mode 100644 index 0000000..5e9dd56 --- /dev/null +++ b/src/pages/links.tsx @@ -0,0 +1,26 @@ +import CustomButton from "../components/CustomButton"; +import { Bluesky, GitHub, LastFM, LinkedIn, Medal, Twitter } from "../components/Icons"; + +export default function Links() { + return ( +
+
+ +

Alex Frantz

+
+

QA @ Medal.tv

+ +
+ +
+ } to="https://medal.tv/users/215577">Medal + } to="https://twitter.com/carlgrimesdupe">Twitter + } to="https://bsky.app/profile/alexav.gg">Bluesky + } to="https://github.com/azpha">GitHub + } to="https://last.fm/user/lulawex">Last.fm + } to="https://last.fm/user/lulawex">LinkedIn +
+
+
+ ) +} \ No newline at end of file diff --git a/src/public/site.webmanifest b/src/public/site.webmanifest index 50bea4a..cd12b20 100644 --- a/src/public/site.webmanifest +++ b/src/public/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "", - "short_name": "", + "name": "Alex Frantz", + "short_name": "Alex Frantz", "icons": [ { "src": "/android-chrome-192x192.png",