Skip to content

Commit

Permalink
Update contact section
Browse files Browse the repository at this point in the history
  • Loading branch information
Hatchibombotar committed May 6, 2024
1 parent c166cfc commit 9f209a1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 20 deletions.
28 changes: 28 additions & 0 deletions src/components/Contact.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
import { SiDiscord } from 'solid-icons/si'
import { IoMail } from "solid-icons/io";
---
<div class="prose">
<ul>
<li>
<div class="flex items-center gap-2">
<SiDiscord class="fill-neutral-800 h-5 w-5"/>
<span>Discord - </span>
<a href="https://discord.com/users/629396893440671765" target="_blank">
@hatchibombotar
</a>
</div>
</li>
<li>
<div class="flex items-center gap-2">
<IoMail class="fill-neutral-800 h-5 w-5"/>
<span>Email - </span>
<a href="mailto:hatchibombotar.mc@gmail.com" target="_blank">
hatchibombotar.mc@gmail.com
</a>
</div>
</li>
</ul>
</div>
18 changes: 5 additions & 13 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import Layout from "../layouts/Layout.astro";
import { FiLink, FiGithub } from "solid-icons/fi";
import skills from "../data/skills"
import projects from "../data/projects"
import Contact from "../components/Contact.astro";
const logo = "/assets/logo_small.png";
const github_user = await (async () => {
const data = await fetch("https://api.github.com/users/Hatchibombotar");
return await data.json();
})();
---

<Layout>
Expand Down Expand Up @@ -129,19 +129,11 @@ const github_user = await (async () => {
))
}
</div>
<hr class="my-5" />
<hr class="my-5" />

<h2 class="text-2xl font-semibold my-3" id="contact">Contact</h2>
<div class="prose">
<ul>
<li>Discord - @hatchibombotar</li>
<li>
Email - <a href="mailto:hatchibombotar.mc@gmail.com"
>hatchibombotar.mc@gmail.com</a>
</li>
</ul>
</div>
<h2 class="text-2xl font-semibold my-3" id="contact">Contact</h2>
<Contact/>

<footer class="h-24"></footer>
<footer class="h-24"></footer>
</div>
</Layout>
9 changes: 2 additions & 7 deletions src/pages/minecraft.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import Contact from "../components/Contact.astro";
import SubLayout from "../layouts/SubLayout.astro";
import {formatDate} from "../utils"
Expand Down Expand Up @@ -50,13 +51,7 @@ const mcpedl_submissions = (await (async () => {
<hr class="my-4"/>

<h3 class="">Contact</h3>
<ul>
<li>Discord - @hatchibombotar</li>
<li>
Email - <a href="mailto:hatchibombotar.mc@gmail.com"
>hatchibombotar.mc@gmail.com</a>
</li>
</ul>
<Contact/>
</div>


Expand Down

0 comments on commit 9f209a1

Please sign in to comment.