mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
feat: introduce main and writing layouts to standardize page structure
This commit is contained in:
@@ -0,0 +1,181 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<svg width="0" height="0" aria-hidden="true" style="position: absolute">
|
||||||
|
<filter id="grainy" x="0" y="0" width="100%" height="100%">
|
||||||
|
<feTurbulence
|
||||||
|
type="fractalNoise"
|
||||||
|
baseFrequency=".85"
|
||||||
|
numOctaves="3"
|
||||||
|
></feTurbulence>
|
||||||
|
<feColorMatrix type="saturate" values="0"></feColorMatrix>
|
||||||
|
<feBlend mode="multiply" in="SourceGraphic"></feBlend>
|
||||||
|
</filter>
|
||||||
|
</svg>
|
||||||
|
<div class="page-wrapper">
|
||||||
|
<div class="trace left"></div>
|
||||||
|
|
||||||
|
<div class="trace right"></div>
|
||||||
|
|
||||||
|
<header class="header">
|
||||||
|
<slot name="header">
|
||||||
|
<h1 class="name">Jaron</h1>
|
||||||
|
<p class="title">
|
||||||
|
Software Engineer by trade — builder by nature.
|
||||||
|
</p>
|
||||||
|
</slot>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<slot />
|
||||||
|
<div style="flex: 1"></div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="footer-upper">
|
||||||
|
<div class="flex-center">
|
||||||
|
<p>
|
||||||
|
<a class="punch-link" href="mailto:yo@jp.wtf"
|
||||||
|
>Say hi.</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<div class="flex-ff"></div>
|
||||||
|
<p style="text-align: right">
|
||||||
|
Let's make something cool.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer-lower">
|
||||||
|
<div class="flex-center">
|
||||||
|
<p style="text-align: right">Est. 2003</p>
|
||||||
|
<div class="flex-ff"></div>
|
||||||
|
<p style="text-align: right">Austin, TX</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 50vw;
|
||||||
|
width: var(--main-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
background: var(--muted);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace.left {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace.right {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg[height='0'] {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name {
|
||||||
|
font-size: 4rem;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.2;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-weight: 300;
|
||||||
|
margin: 0;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 16px;
|
||||||
|
|
||||||
|
border-top: 1px solid var(--muted);
|
||||||
|
border-bottom: 1px solid var(--muted);
|
||||||
|
padding: 2rem;
|
||||||
|
color: var(--bg);
|
||||||
|
|
||||||
|
margin-top: 8vh;
|
||||||
|
position: relative;
|
||||||
|
isolation: isolate;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: url('/blend.jpeg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: left top;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
filter: url(#grainy);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-upper {
|
||||||
|
border-top: 1px solid var(--muted);
|
||||||
|
border-bottom: 1px solid var(--muted);
|
||||||
|
padding: 2rem;
|
||||||
|
color: var(--bg);
|
||||||
|
min-height: 10vh;
|
||||||
|
position: relative;
|
||||||
|
isolation: isolate;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-upper::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: url('/blend.jpeg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
filter: url(#grainy);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-lower {
|
||||||
|
padding: 1rem;
|
||||||
|
height: 8vh;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 80vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 100vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,189 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
defineProps<{
|
||||||
|
title?: string;
|
||||||
|
description?: string;
|
||||||
|
}>();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<svg width="0" height="0" aria-hidden="true" style="position: absolute">
|
||||||
|
<filter id="grainy" x="0" y="0" width="100%" height="100%">
|
||||||
|
<feTurbulence
|
||||||
|
type="fractalNoise"
|
||||||
|
baseFrequency=".85"
|
||||||
|
numOctaves="3"
|
||||||
|
></feTurbulence>
|
||||||
|
<feColorMatrix type="saturate" values="0"></feColorMatrix>
|
||||||
|
<feBlend mode="multiply" in="SourceGraphic"></feBlend>
|
||||||
|
</filter>
|
||||||
|
</svg>
|
||||||
|
<div class="page-wrapper">
|
||||||
|
<div class="trace left"></div>
|
||||||
|
|
||||||
|
<div class="trace right"></div>
|
||||||
|
|
||||||
|
<header class="header">
|
||||||
|
<h1 class="name">{{ title || 'Jaron' }}</h1>
|
||||||
|
<p v-if="description" class="title">
|
||||||
|
{{ description }}
|
||||||
|
</p>
|
||||||
|
<p v-else class="title">
|
||||||
|
Software Engineer by trade — builder by nature.
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<slot />
|
||||||
|
<div style="flex: 1"></div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="footer-upper">
|
||||||
|
<div class="flex-center">
|
||||||
|
<p>
|
||||||
|
<a class="punch-link" href="mailto:yo@jp.wtf"
|
||||||
|
>Say hi.</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
<div class="flex-ff"></div>
|
||||||
|
<p style="text-align: right">
|
||||||
|
Let's make something cool.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer-lower">
|
||||||
|
<div class="flex-center">
|
||||||
|
<p style="text-align: right">Est. 2003</p>
|
||||||
|
<div class="flex-ff"></div>
|
||||||
|
<p style="text-align: right">Austin, TX</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 50vw;
|
||||||
|
width: var(--main-width);
|
||||||
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 1px;
|
||||||
|
background: var(--muted);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace.left {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace.right {
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg[height='0'] {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name {
|
||||||
|
font-size: 4rem;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.2;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-weight: 300;
|
||||||
|
margin: 0;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 16px;
|
||||||
|
|
||||||
|
border-top: 1px solid var(--muted);
|
||||||
|
border-bottom: 1px solid var(--muted);
|
||||||
|
padding: 2rem;
|
||||||
|
color: var(--bg);
|
||||||
|
|
||||||
|
margin-top: 8vh;
|
||||||
|
position: relative;
|
||||||
|
isolation: isolate;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: url('/blend.jpeg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: left top;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
filter: url(#grainy);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-upper {
|
||||||
|
border-top: 1px solid var(--muted);
|
||||||
|
border-bottom: 1px solid var(--muted);
|
||||||
|
padding: 2rem;
|
||||||
|
color: var(--bg);
|
||||||
|
min-height: 10vh;
|
||||||
|
position: relative;
|
||||||
|
isolation: isolate;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-upper::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: url('/blend.jpeg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
filter: url(#grainy);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-lower {
|
||||||
|
padding: 1rem;
|
||||||
|
height: 8vh;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 80vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.page-wrapper {
|
||||||
|
--main-width: 100vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trace {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
+56
-301
@@ -40,300 +40,69 @@ useHead({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
definePageMeta({
|
||||||
|
layout: 'main',
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<NuxtLayout name="main">
|
||||||
<svg width="0" height="0" aria-hidden="true" style="position: absolute">
|
<section class="projects">
|
||||||
<filter id="grainy" x="0" y="0" width="100%" height="100%">
|
<h5>Selected Work</h5>
|
||||||
<feTurbulence
|
<div class="section__content">
|
||||||
type="fractalNoise"
|
<a
|
||||||
baseFrequency=".85"
|
href="https://mystwright.com/"
|
||||||
numOctaves="3"
|
target="_blank"
|
||||||
></feTurbulence>
|
class="project"
|
||||||
<feColorMatrix type="saturate" values="0"></feColorMatrix>
|
>
|
||||||
<feBlend mode="multiply" in="SourceGraphic"></feBlend>
|
<h3 class="project__title">Mystwright</h3>
|
||||||
</filter>
|
<p class="project__description">
|
||||||
</svg>
|
An AI-driven mystery detective game. Generate,
|
||||||
<div class="page-wrapper">
|
investigate, solve.
|
||||||
<div class="trace left"></div>
|
</p>
|
||||||
|
</a>
|
||||||
<div class="trace right"></div>
|
<a
|
||||||
|
href="https://unicord.hat.fish/"
|
||||||
<header class="header">
|
target="_blank"
|
||||||
<h1 class="name">Jaron</h1>
|
class="project"
|
||||||
<p class="title">
|
>
|
||||||
Software Engineer by trade — builder by nature.
|
<h3 class="project__title">Unicord</h3>
|
||||||
|
<p class="project__description">
|
||||||
|
Discord bot SDK inspired by webserver
|
||||||
|
architecture.
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
href="https://github.com/jaronpate/rift-buddy"
|
||||||
|
target="_blank"
|
||||||
|
class="project"
|
||||||
|
>
|
||||||
|
<h3 class="project__title">Rune Buddy</h3>
|
||||||
|
<p class="project__description">
|
||||||
|
League of Legends runepage manager. Save &
|
||||||
|
organise your pages for free.
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="about">
|
||||||
|
<h5>About</h5>
|
||||||
|
<div class="section__content">
|
||||||
|
<p>
|
||||||
|
I work across the full stack; backend, frontend, and
|
||||||
|
the product decisions in between. My favorite side
|
||||||
|
projects are ones that bring me new skills. Even
|
||||||
|
better are ones where I solve a problem or build a
|
||||||
|
tool I can use. I'm always open to interesting work
|
||||||
|
and conversations.
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</div>
|
||||||
|
</section>
|
||||||
<main>
|
</NuxtLayout>
|
||||||
<section class="projects">
|
|
||||||
<h5>Selected Work</h5>
|
|
||||||
<div class="section__content">
|
|
||||||
<a
|
|
||||||
href="https://mystwright.com/"
|
|
||||||
target="_blank"
|
|
||||||
class="project"
|
|
||||||
>
|
|
||||||
<h3 class="project__title">Mystwright</h3>
|
|
||||||
<p class="project__description">
|
|
||||||
An AI-driven mystery detective game. Generate,
|
|
||||||
investigate, solve.
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
href="https://unicord.hat.fish/"
|
|
||||||
target="_blank"
|
|
||||||
class="project"
|
|
||||||
>
|
|
||||||
<h3 class="project__title">Unicord</h3>
|
|
||||||
<p class="project__description">
|
|
||||||
Discord bot SDK inspired by webserver
|
|
||||||
architecture.
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
href="https://github.com/jaronpate/rift-buddy"
|
|
||||||
target="_blank"
|
|
||||||
class="project"
|
|
||||||
>
|
|
||||||
<h3 class="project__title">Rune Buddy</h3>
|
|
||||||
<p class="project__description">
|
|
||||||
League of Legends runepage manager. Save &
|
|
||||||
organise your pages for free.
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="about">
|
|
||||||
<h5>About</h5>
|
|
||||||
<div class="section__content">
|
|
||||||
<p>
|
|
||||||
I work across the full stack; backend, frontend, and
|
|
||||||
the product decisions in between. My favorite side
|
|
||||||
projects are ones that bring me new skills. Even
|
|
||||||
better are ones where I solve a problem or build a
|
|
||||||
tool I can use. I'm always open to interesting work
|
|
||||||
and conversations.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<!-- <section class="photos">
|
|
||||||
<h5>Photos</h5>
|
|
||||||
<div class="section__content">
|
|
||||||
<div class="photo-grid">
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/underground.jpg"
|
|
||||||
alt="London Underground Sign"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>London, UK</p>
|
|
||||||
<p>2026</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/london_porsche.jpg"
|
|
||||||
alt="London Porsche"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>London, UK</p>
|
|
||||||
<p>2025</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/austin_parking.jpg"
|
|
||||||
alt="Austin Parking Sign"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>Austin, TX</p>
|
|
||||||
<p>2024</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/athens_red_scooter.jpg"
|
|
||||||
alt="Athens Red Scooter"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>Athens, Greece</p>
|
|
||||||
<p>2026</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/athens_subway.jpg"
|
|
||||||
alt="Athens Subway"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>Athens, Greece</p>
|
|
||||||
<p>2026</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="photo-grid__item">
|
|
||||||
<div class="photo__image">
|
|
||||||
<img
|
|
||||||
src="/photography/athens_sunset.jpg"
|
|
||||||
alt="Athens Sunset"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="photo__overlay">
|
|
||||||
<p>Athens, Greece</p>
|
|
||||||
<p>2026</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section> -->
|
|
||||||
<div style="flex: 1"></div>
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="footer-upper">
|
|
||||||
<div class="flex-center">
|
|
||||||
<p>
|
|
||||||
<a class="punch-link" href="mailto:yo@jp.wtf"
|
|
||||||
>Say hi.</a
|
|
||||||
>
|
|
||||||
</p>
|
|
||||||
<div class="flex-ff"></div>
|
|
||||||
<p style="text-align: right">
|
|
||||||
Let's make something cool.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="footer-lower">
|
|
||||||
<div class="flex-center">
|
|
||||||
<p style="text-align: right">Est. 2003</p>
|
|
||||||
<div class="flex-ff"></div>
|
|
||||||
<p style="text-align: right">Austin, TX</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.page-wrapper {
|
|
||||||
--main-width: 50vw;
|
|
||||||
width: var(--main-width);
|
|
||||||
margin: 0 auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 100vh;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
flex: 1;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trace {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 1px;
|
|
||||||
background: var(--muted);
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trace.left {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trace.right {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg[height='0'] {
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name {
|
|
||||||
font-size: 4rem;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 1.2;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
font-weight: 300;
|
|
||||||
margin: 0;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 16px;
|
|
||||||
|
|
||||||
border-top: 1px solid var(--muted);
|
|
||||||
border-bottom: 1px solid var(--muted);
|
|
||||||
padding: 2rem;
|
|
||||||
color: var(--bg);
|
|
||||||
|
|
||||||
margin-top: 8vh;
|
|
||||||
position: relative;
|
|
||||||
isolation: isolate;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
background: url('/blend.jpeg');
|
|
||||||
background-size: cover;
|
|
||||||
background-position: left top;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
filter: url(#grainy);
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-upper {
|
|
||||||
border-top: 1px solid var(--muted);
|
|
||||||
border-bottom: 1px solid var(--muted);
|
|
||||||
padding: 2rem;
|
|
||||||
color: var(--bg);
|
|
||||||
min-height: 10vh;
|
|
||||||
position: relative;
|
|
||||||
isolation: isolate;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-upper::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
background: url('/blend.jpeg');
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
filter: url(#grainy);
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-lower {
|
|
||||||
padding: 1rem;
|
|
||||||
height: 8vh;
|
|
||||||
font-size: small;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
@@ -468,21 +237,7 @@ section:last-of-type {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
|
||||||
.page-wrapper {
|
|
||||||
--main-width: 80vw;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.page-wrapper {
|
|
||||||
--main-width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.trace {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.photo-grid {
|
.photo-grid {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,10 +12,14 @@ useSeoMeta({
|
|||||||
title: page.value?.title,
|
title: page.value?.title,
|
||||||
description: page.value?.description,
|
description: page.value?.description,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
definePageMeta({
|
||||||
|
layout: 'writing',
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<NuxtLayout name="writing" :title="page?.title" :description="page?.description">
|
||||||
<ContentRenderer v-if="page" :value="page" />
|
<ContentRenderer v-if="page" :value="page" />
|
||||||
</div>
|
</NuxtLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -10,6 +10,12 @@ useSeoMeta({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ContentRenderer v-if="home" :value="home" />
|
<NuxtLayout
|
||||||
<div v-else>Home not found</div>
|
name="writing"
|
||||||
|
:title="home?.title"
|
||||||
|
:description="home?.description"
|
||||||
|
>
|
||||||
|
<ContentRenderer v-if="home" :value="home" />
|
||||||
|
<div v-else>Home not found</div>
|
||||||
|
</NuxtLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Writing
|
||||||
|
description: Some thoughts I've had over the years. Not all of them are good, but here we are.
|
||||||
|
---
|
||||||
|
|
||||||
# Hello Content
|
# Hello Content
|
||||||
|
|
||||||
blah blah blah
|
blah blah blah
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
description: This is a test.
|
||||||
|
title: Thing
|
||||||
|
---
|
||||||
|
|
||||||
# Hello Content
|
# Hello Content
|
||||||
|
|
||||||
blah blah blah
|
blah blah blah
|
||||||
|
|||||||
Reference in New Issue
Block a user