Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-Ross committed Dec 6, 2023
2 parents a3330e4 + 5d999b6 commit 98125f7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/content/blog/jabber.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Jabber - a modern Twitch chat desktop app

I realised that the current offerings for Twitch.tv chat clients were fairly poor, and that I had to make a new one. The current options are [Chatterino](https://chatterino.com/) and [Chatty](http://chatty.github.io/), which I believe are flawed programs for a variety of reasons.

**Chatterino** - built in old technologies and UI frameworks (.NET), which limits potential for application
**Chatterino** - built in old technologies and UI frameworks (C++), which limits potential for application

![Chatterino Screenshot](/images/jabber/chatterino.png)

Expand Down
46 changes: 29 additions & 17 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,26 @@ const icons = [
<script>
import { animate } from "motion";

const element = document.querySelectorAll("#intro-box");
document.addEventListener(
"astro:page-load",
() => {
const element = document.querySelectorAll("#intro-box");

animate(
element,
{ opacity: [0, 1], transform: "none" },
{ duration: 0.8, easing: "ease-out" }
animate(
element,
{ opacity: [0, 1], transform: "none" },
{ duration: 1.2, easing: "ease-out" }
);
},
{ once: false }
);
</script>
{
/* Maybe should be h-screen, but not sure how to do the margin for the header block */
}
<section class="flex bg-gradient-to-b from-[#4F7D8B] md:h-[48rem] mb-12">
<div
class="md:mt-36 mt-2 flex max-md:flex-col md:flex-row mx-auto md:h-[26rem] w-[50rem] bg-[#1E1E1E] rounded-3xl border-[#9B9B9B] border-[1px] md:p-16 p-10 max-md:mx-6"
class="md:mt-36 mt-2 flex max-md:flex-col md:flex-row mx-auto md:h-[26rem] w-[50rem] bg-[#1E1E1E] rounded-3xl border-[#9B9B9B] border-[1px] md:p-16 p-10 max-md:mx-6 opacity-0"
id="intro-box"
>
<div class="md:w-64 flex flex-col justify-center">
Expand Down Expand Up @@ -102,15 +108,14 @@ const icons = [
<h2 class="text-5xl font-bold pb-12">My Projects</h2>
{
projects.map((data) => (

<a href={data.url}>
<Card class="md:grid md:grid-cols-2 gap-4 justify-between">
<div class="col-span-1">
<h2 class="py-2 text-4xl font-bold tracking-wider hover:underline">{data.name}</h2>
<h2 class="py-2 text-4xl font-bold tracking-wider hover:underline">
{data.name}
</h2>
<p class="py-4 text-xl">{data.description}</p>
<p class="text-lg text-neutral-300 hover:underline">
Read more
</p>
<p class="text-lg text-neutral-300 hover:underline">Read more</p>
</div>
<div class="col-span-1">
{data.thumbnail && (
Expand All @@ -124,7 +129,7 @@ const icons = [
)}
{data.thumbnailVideo && (
<video autoplay muted loop playsinline class="ml-auto">
<source src={data.thumbnailVideo} type="video/mp4">
<source src={data.thumbnailVideo} type="video/mp4" />
</video>
)}
</div>
Expand All @@ -141,11 +146,11 @@ const icons = [
blogs.map((blog) => (
<a class="" href={blog.url} data-astro-prefetch>
<Card class="max-md:my-4">
<h2 class="py-2 text-4xl font-bold tracking-wider hover:underline">{blog.title}</h2>
<h2 class="py-2 text-4xl font-bold tracking-wider hover:underline">
{blog.title}
</h2>
<p class="py-4 text-xl">{blog.description}</p>
<p class="text-lg hover:underline text-neutral-300">
Read more
</p>
<p class="text-lg hover:underline text-neutral-300">Read more</p>
</Card>
</a>
))
Expand All @@ -155,6 +160,13 @@ const icons = [

<Section>
<h2 class="text-5xl font-bold pb-12">About Me</h2>
<p class="text-lg">Hi there, I'm Harry - a full stack .NET and JavaScript developer. I'm a Software Engineer at <a class="underline" href="https://www.ssw.com.au/">ssw.com.au</a> and SSW TV <a class="underline" href="https://tv.ssw.com.au/">tv.ssw.com</a>.</p>
<p class="text-lg">
Hi there, I'm Harry - a full stack .NET and JavaScript developer. I'm a
Software Engineer at <a class="underline" href="https://www.ssw.com.au/"
>ssw.com.au</a
> and SSW TV <a class="underline" href="https://tv.ssw.com.au/"
>tv.ssw.com</a
>.
</p>
</Section>
</BaseLayout>

0 comments on commit 98125f7

Please sign in to comment.