-
Notifications
You must be signed in to change notification settings - Fork 0
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
9ecea17
commit 6c7f35c
Showing
17 changed files
with
4,797 additions
and
3,648 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"_variables": { | ||
"lastUpdateCheck": 1727643088689 | ||
"lastUpdateCheck": 1733513283182 | ||
} | ||
} |
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,2 +1,2 @@ | ||
/// <reference types="astro/client" /> | ||
/// <reference path="astro/content.d.ts" /> | ||
/// <reference path="content.d.ts" /> |
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,2 +1,3 @@ | ||
.astro | ||
node_modules | ||
dist |
Large diffs are not rendered by default.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,53 @@ | ||
import { createSignal } from "solid-js"; | ||
import skills from "../data/skills"; | ||
|
||
|
||
|
||
export default function SkillIcons() { | ||
return <div class="grid xs:grid-cols-2 sm:grid-cols-3"> | ||
{ | ||
skills.map((skill) => { | ||
const [lightsOn, setLightsOn] = createSignal(false) | ||
function toggleLights() { | ||
setLightsOn(!lightsOn()) | ||
if (lightsOn()) { | ||
const click = new Audio('sound/switch1.ogg'); | ||
click.play() | ||
} else { | ||
const click = new Audio('sound/switch2.ogg'); | ||
click.play() | ||
} | ||
} | ||
return <button | ||
class="flex xs:justify-normal justify-center items-center m-2 text-left" | ||
onClick={() => toggleLights()} | ||
> | ||
<div | ||
class="transition duration-[0.1s] ease-[cubic-bezier(1,1,0,0)]" | ||
classList={{ | ||
"grayscale brightness-[0.2]": !lightsOn() | ||
}} | ||
> | ||
{skill.iconType == "image" ? ( | ||
<div class="mx-2 flex items-center"> | ||
<img | ||
width={25} | ||
src={skill.icon as string} | ||
alt={`skill icon for ${skill.name}`} | ||
/> | ||
</div> | ||
) : ( | ||
<div | ||
style={{ "--colour": skill.colour }} | ||
class="mx-2 flex items-center fill-[var(--colour)]" | ||
> | ||
<skill.icon size={25} class="fill-inherit" /> | ||
</div> | ||
)} | ||
</div> | ||
<span>{skill.name}</span> | ||
</button> | ||
}) | ||
} | ||
</div> | ||
} |
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,19 +1,20 @@ | ||
import { z, defineCollection } from 'astro:content'; | ||
import { glob } from 'astro/loaders'; | ||
|
||
const postsCollection = defineCollection({ | ||
type: 'content', // v2.5.0 and later | ||
loader: glob({ pattern: '**/*.md', base: "./src/content/posts" }), | ||
schema: z.object({ | ||
title: z.string(), | ||
date: z.string().optional(), | ||
description: z.string(), | ||
links: z.array(z.object({ | ||
name: z.string(), | ||
link: z.string(), | ||
name: z.string(), | ||
url: z.string(), | ||
})), | ||
image: z.string().optional(), | ||
}), | ||
}); | ||
|
||
export const collections = { | ||
'post': postsCollection, | ||
'posts': postsCollection, | ||
}; |
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 |
---|---|---|
@@ -1,40 +1,29 @@ | ||
--- | ||
import Layout from "../layouts/Layout.astro"; | ||
import { SiDiscord } from "solid-icons/si"; | ||
import { IoMail } from "solid-icons/io"; | ||
--- | ||
|
||
<Layout> | ||
<h2 class="text-2xl font-bold my-3">Contact</h2> | ||
<p class="mb-3"> | ||
Want to ask about one of my projects or about hiring me? <br> You can reach me | ||
by email or discord. | ||
</p> | ||
<div class="grid sm:grid-cols-2 gap-4"> | ||
<a | ||
href="mailto:hatchibombotar.mc@gmail.com" | ||
class="block bg-neutral-50 rounded-lg shadow-sm border px-3 py-4 my-2" | ||
target="_blank" | ||
> | ||
<div class="flex items-center justify-center sm:justify-start gap-2"> | ||
<IoMail class="fill-black h-5 w-5" /> | ||
<span class="text-lg text-neutral-800 font-semibold"> | ||
hatchibombotar.mc@gmail.com | ||
</span> | ||
</div> | ||
<span class="text-neutral-800 text-sm">Email</span> | ||
</a> | ||
<a | ||
href="https://discord.com/users/629396893440671765" | ||
class="block bg-neutral-50 rounded-lg shadow-sm border px-3 py-4 my-2" | ||
target="_blank" | ||
> | ||
<div class="flex items-center justify-center sm:justify-start gap-2"> | ||
<SiDiscord class="fill-black h-5 w-5" /> | ||
<span class="text-lg text-neutral-800 font-semibold"> | ||
<ul class="prose underline-offset-2"> | ||
<li> | ||
<div class="flex items-center gap-2"> | ||
<span>Discord: </span> | ||
<a href="https://discord.com/users/629396893440671765" target="_blank"> | ||
@hatchibombotar | ||
</span> | ||
</a> | ||
</div> | ||
</li> | ||
<li> | ||
<div class="flex items-center gap-2"> | ||
<span>Email: </span> | ||
<a href="mailto:hatchibombotar.mc@gmail.com" target="_blank"> | ||
hatchibombotar.mc@gmail.com | ||
</a> | ||
</div> | ||
<span class="text-neutral-800 text-sm">Discord</span> | ||
</a> | ||
</div> | ||
</li> | ||
</ul> | ||
</Layout> |
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