Skip to content

Commit

Permalink
Refactor homepage content and add ping API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alii committed Oct 9, 2024
1 parent 8aa9697 commit 9f51535
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 3 additions & 0 deletions src/pages/api/ping.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {api} from '../../server/api';

export default api({GET: async () => Date.now()});
36 changes: 13 additions & 23 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,26 +69,9 @@ export default function Home(props: Props) {
key: 'what-i-do',
content: (
<p className="px-3 py-2">
I am currently working on{' '}
<Link
href="https://cubby.nyc"
className="nice-underline-neutral-400 dark:nice-underline-neutral-200/50"
target="_blank"
rel="noopener noreferrer"
>
Cubby
</Link>
. It's a research tool from the future. I also do a lot of open source stuff. You
can{' '}
<Link
href="https://github.com/alii"
className="nice-underline-neutral-400 dark:nice-underline-neutral-200/50"
target="_blank"
rel="noopener noreferrer"
>
check that out on my GitHub
</Link>
.
I am an open source enthusiast and I've been called a TypeScript wizard at least a
few times. I'm interested in things like language specifications and compiler
internals.
</p>
),
},
Expand Down Expand Up @@ -140,8 +123,8 @@ export default function Home(props: Props) {
content: (
<div className="space-y-3 px-3 py-2">
<p>
I listen to a lot of music. Mostly I love all/anything electronic, but I'm
especially into Drum & Bass. Currently listening to this on Spotify:
I listen to a lot of music. I love all electronic music, and{' '}
<i>right now</i> I am listening to this on Spotify
</p>

<Link
Expand Down Expand Up @@ -226,7 +209,14 @@ export default function Home(props: Props) {
>
DJing (on YouTube)
</Link>{' '}
or trying my hardest to figure out Ableton Live
or{' '}
<Link
href="https://soundcloud.com/alistairsmusic/"
className="underline decoration-neutral-400 dark:decoration-neutral-200/50"
target="_blank"
>
trying my hardest to figure out Ableton Live
</Link>
</div>
),
},
Expand Down

0 comments on commit 9f51535

Please sign in to comment.