removed art and art feed pages; added blurb to project page, which is half-merged with that of the former art feed
This commit is contained in:
@@ -36,33 +36,13 @@
|
||||
bannerAlt="An upside-down New 3DS XL lying open on a desk with a small USB-C breakout board attached to it, and a USB-C cable plugged in. The 3DS is glowing to indicate that it is charging."
|
||||
subtitle="Things I have worked on" />
|
||||
|
||||
<!-- <p>Welcome to my projects page! Here I show off all the things I have done. Projects are ordered by general topic, sorted reverse-chronologically, and have a status marker assigned that shows whether they are active or not. have fun browsing~!</p> -->
|
||||
<p>Welcome to my (new) projects page! Here I show off all the things I have done. Projects are ordered reverse-chronologically and have some other neat information displayed. have fun browsing~!</p>
|
||||
|
||||
<!-- <p>The projects page also has two sister pages that go into detail about specific subgroups of projects:</p>
|
||||
<p>This page, in its current form, is inspired by <a href="https://deathsurplus.com/">DeathSurplus' art blog</a> – definitely go check out his website!</p>
|
||||
|
||||
<GalleryRow entries={subpages} /> -->
|
||||
<p>I'll add some more of my past projects, new projects, and an option to filter by project type <i>soon™</i>. Maybe I'll also split the content into pages.</p>
|
||||
|
||||
<!-- <TableOfContents /> -->
|
||||
|
||||
<!-- <h2 id="games">Games</h2>
|
||||
{#each games as project}
|
||||
{@render projectSummary({ project: project })}
|
||||
{/each}
|
||||
|
||||
<h2 id="hardware">Hardware</h2>
|
||||
{#each hardware as project}
|
||||
{@render projectSummary({ project: project })}
|
||||
{/each}
|
||||
|
||||
<h2 id="apps">Apps</h2>
|
||||
{#each apps as project}
|
||||
{@render projectSummary({ project: project })}
|
||||
{/each}
|
||||
|
||||
<h2 id="music">Music</h2>
|
||||
{#each music as project}
|
||||
{@render projectSummary({ project: project })}
|
||||
{/each} -->
|
||||
<hr>
|
||||
|
||||
<div class="project-container">
|
||||
{#each projects as p}
|
||||
@@ -73,12 +53,22 @@
|
||||
|
||||
{#snippet project(p: Project)}
|
||||
{#if p.directLink}
|
||||
<a href={p.directLink}>{p.title}</a>
|
||||
<a class="project-wrapper" href={p.directLink}>
|
||||
{@render projectContent(p)}
|
||||
</a>
|
||||
{:else}
|
||||
<a href="{p.category}/{p.id}">{p.title}</a>
|
||||
<a class="project-wrapper" href="{p.category}/{p.id}">
|
||||
{@render projectContent(p)}
|
||||
</a>
|
||||
{/if}
|
||||
{/snippet}
|
||||
|
||||
{#snippet projectContent(p: Project)}
|
||||
<p>{p.title}</p>
|
||||
<p>{p.subtitle}</p>
|
||||
<p>{p.date}</p>
|
||||
{/snippet}
|
||||
|
||||
<!-- {#snippet projectSummary({
|
||||
project
|
||||
}: {
|
||||
@@ -113,7 +103,18 @@
|
||||
<style>
|
||||
.project-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
/* grid-template-columns: 1fr 1fr; */
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.project-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* gap: 4px; */
|
||||
}
|
||||
|
||||
.project-wrapper p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* .project-subtitle {
|
||||
|
||||
Reference in New Issue
Block a user