-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1024ace
commit 1cd9346
Showing
24 changed files
with
335 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
const postcssEach = require('postcss-each'); | ||
const tailwindcss = require('tailwindcss'); | ||
const autoprefixer = require('autoprefixer'); | ||
|
||
const config = { | ||
plugins: [ | ||
//Some plugins, like tailwindcss/nesting, need to run before Tailwind, | ||
tailwindcss(), | ||
//But others, like autoprefixer, need to run after, | ||
autoprefixer | ||
] | ||
plugins: [postcssEach, tailwindcss(), autoprefixer] | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
fill="currentColor" | ||
class="w-6 h-6" | ||
> | ||
<path | ||
d="M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z" | ||
/> | ||
<path | ||
d="M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z" | ||
/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
fill="currentColor" | ||
class="w-6 h-6" | ||
> | ||
<path | ||
d="M20 3H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM8.339 18.337H5.667v-8.59h2.672v8.59zM7.003 8.574a1.548 1.548 0 1 1 0-3.096 1.548 1.548 0 0 1 0 3.096zm11.335 9.763h-2.669V14.16c0-.996-.018-2.277-1.388-2.277-1.39 0-1.601 1.086-1.601 2.207v4.248h-2.667v-8.59h2.56v1.174h.037c.355-.675 1.227-1.387 2.524-1.387 2.704 0 3.203 1.778 3.203 4.092v4.71z" | ||
/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 20 20" | ||
fill="currentColor" | ||
class="w-5 h-5" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
d="M17.721 1.599a.75.75 0 01.279.584v11.29a2.25 2.25 0 01-1.774 2.198l-2.041.442a2.216 2.216 0 01-.938-4.333l2.662-.576a.75.75 0 00.591-.734V6.112l-8 1.73v7.684a2.25 2.25 0 01-1.774 2.2l-2.042.44a2.216 2.216 0 11-.935-4.33l2.659-.574A.75.75 0 007 12.53V4.237a.75.75 0 01.591-.733l9.5-2.054a.75.75 0 01.63.149z" | ||
clip-rule="evenodd" | ||
/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export type NowPlayingResponse = { | ||
/** | ||
* Whether the track is from recently played or currently playing. | ||
*/ | ||
isPlayingNow: boolean; | ||
isPaused: boolean; | ||
progessMs: number; | ||
track: SpotifyApi.TrackObjectFull | null; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<script lang="ts"> | ||
import Clock from './Clock.svelte'; | ||
import DiscordInfo from './DiscordInfo.svelte'; | ||
import SocialLink from './SocialLink.svelte'; | ||
import SpotifyInfo from './SpotifyInfo.svelte'; | ||
import GitHub from '$lib/components/icons/GitHub.svelte'; | ||
import Envelope from '$lib/components/icons/Envelope.svelte'; | ||
import Linkedin from '$lib/components/icons/Linkedin.svelte'; | ||
import Spotify from '$lib/components/icons/Spotify.svelte'; | ||
import Twitter from '$lib/components/icons/Twitter.svelte'; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>Daniel</title> | ||
</svelte:head> | ||
|
||
<main class="wrapper"> | ||
<h1 class="text-6xl font-black">Daniel!</h1> | ||
|
||
<p class="mt-4 text-gray-400"> | ||
Hey! I'm <b>Daniel</b>, a 17-year-old developer from | ||
<b>Atlanta, Georgia</b>. | ||
</p> | ||
|
||
<div class="mt-4 flex gap-4"> | ||
<SocialLink href="https://github.com/cubedhuang" name="GitHub"> | ||
<GitHub /> | ||
</SocialLink> | ||
|
||
<SocialLink | ||
href="https://www.linkedin.com/in/cubedhuang" | ||
name="LinkedIn" | ||
> | ||
<Linkedin /> | ||
</SocialLink> | ||
|
||
<SocialLink href="https://twitter.com/cubedhuang" name="Twitter"> | ||
<Twitter /> | ||
</SocialLink> | ||
|
||
<SocialLink | ||
href="https://open.spotify.com/user/22ah5au2dajm7rqn3znkf4tnq?si=95e89d77cb0046f5" | ||
name="Spotify" | ||
> | ||
<Spotify /> | ||
</SocialLink> | ||
|
||
<SocialLink href="mailto:[email protected]" name="Email"> | ||
<Envelope /> | ||
</SocialLink> | ||
</div> | ||
|
||
<Clock /> | ||
|
||
<DiscordInfo /> | ||
<SpotifyInfo /> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts"> | ||
export let href: string; | ||
export let name: string; | ||
</script> | ||
|
||
<a | ||
{href} | ||
aria-label={name} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
class="transition hover:text-gray-400" | ||
> | ||
<slot /> | ||
</a> |
Oops, something went wrong.