spacing, link display, jhunterdeloche prep

This commit is contained in:
Noah Swerhun 2024-04-15 00:05:21 -05:00
parent 93fbb87dee
commit 35f334c545
6 changed files with 22 additions and 2 deletions

BIN
src/assets/jhdcom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
src/assets/jhdcom_orig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View file

@ -7,7 +7,7 @@ const { class: cls, ...rest }: HTMLAttributes<"a"> = Astro.props;
<a <a
class={cn( class={cn(
"underline underline-offset-4 hover:underline-offset-8 hover:text-white transition-all duration-300 p-3", "inline-block underline underline-offset-4 hover:underline-offset-8 hover:text-white transition-all duration-300 p-3",
cls, cls,
)} )}
{...rest}><slot /> →</a {...rest}><slot /> →</a

View file

@ -14,7 +14,7 @@ const props: Props = Astro.props;
--- ---
<div <div
class={"flex justify-around items-center" + class={"flex justify-around items-center my-3" +
(props.reverse (props.reverse
? " md:flex-row-reverse flex-col-reverse" ? " md:flex-row-reverse flex-col-reverse"
: " md:flex-row flex-col")} : " md:flex-row flex-col")}

View file

@ -6,6 +6,7 @@ import Project from "@/components/Project.astro";
import drfeelycom from "@/assets/drfeelycom.png"; import drfeelycom from "@/assets/drfeelycom.png";
import ngen from "@/assets/ngen.png"; import ngen from "@/assets/ngen.png";
import jhdcom from "@/assets/jhdcom.png";
--- ---
<Section id="projects"> <Section id="projects">
@ -39,6 +40,22 @@ import ngen from "@/assets/ngen.png";
treatment methods. treatment methods.
</Project> </Project>
<!-- <Project -->
<!-- name="JHUNTERDELOCHE.COM" -->
<!-- image={{ src: jhdcom, alt: "Picture of jhunterdeloche.com homepage" }} -->
<!-- links={[ -->
<!-- { text: "JHunterDeLoche.com", url: "https://jhunterdeloche.com" }, -->
<!-- { -->
<!-- text: "Git Repo", -->
<!-- url: "https://git.noahsw.xyz/noah/jhunterdeloche.com", -->
<!-- }, -->
<!-- ]} -->
<!-- > -->
<!-- Personal website for Hunter DeLoche, a fellow University of Chicago student. -->
<!-- Includes information about Hunter's studies and music production activities -->
<!-- in his band, "Amnesium." -->
<!-- </Project> -->
<div class="flex justify-around mt-10"> <div class="flex justify-around mt-10">
<LinkButton href="https://git.noahsw.xyz"> <LinkButton href="https://git.noahsw.xyz">
View all projects at git.noahsw.xyz View all projects at git.noahsw.xyz

View file

@ -16,5 +16,8 @@ export default {
}, },
}, },
}, },
future: {
hoverOnlyWhenSupported: true,
},
plugins: [], plugins: [],
}; };