diff --git a/app/layouts/main.vue b/app/layouts/main.vue index 8fe3465..b64a677 100644 --- a/app/layouts/main.vue +++ b/app/layouts/main.vue @@ -1,3 +1,10 @@ + + @@ -17,12 +24,20 @@ - - Jaron - - Software Engineer by trade — builder by nature. - - + + + + + + {{ title || 'Jaron' }} + + {{ + description || + 'Software Engineer by trade — builder by nature.' + }} + + + @@ -110,6 +125,15 @@ svg[height='0'] { .header { display: flex; flex-direction: column; +} + +.header-upper { + height: 8vh; +} + +.header-lower { + display: flex; + flex-direction: column; align-items: flex-start; gap: 16px; @@ -118,12 +142,11 @@ svg[height='0'] { padding: 2rem; color: var(--bg); - margin-top: 8vh; position: relative; isolation: isolate; } -.header::before { +.header-lower::before { content: ''; position: absolute; inset: 0; diff --git a/app/layouts/writing.vue b/app/layouts/writing.vue deleted file mode 100644 index b3782d7..0000000 --- a/app/layouts/writing.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - - - - - {{ title || 'Jaron' }} - - {{ description }} - - - Software Engineer by trade — builder by nature. - - - - - - - - - - - - - - diff --git a/app/pages/writing/[...slug].vue b/app/pages/writing/[...slug].vue index 71b5aff..a74de62 100644 --- a/app/pages/writing/[...slug].vue +++ b/app/pages/writing/[...slug].vue @@ -14,12 +14,46 @@ useSeoMeta({ }); definePageMeta({ - layout: 'writing', + layout: 'main', }); - - + + + + <-- Back + + + + + diff --git a/app/pages/writing/index.vue b/app/pages/writing/index.vue index c2948e8..3709bfe 100644 --- a/app/pages/writing/index.vue +++ b/app/pages/writing/index.vue @@ -1,21 +1,9 @@ - - - Home not found - + diff --git a/content/writing/index.md b/content/writing/index.md deleted file mode 100644 index 36b8728..0000000 --- a/content/writing/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Writing -description: Some thoughts I've had over the years. Not all of them are good, but here we are. ---- - -# Hello Content - -blah blah blah diff --git a/content/writing/thing.md b/content/writing/thing.md index 062f22a..092e857 100644 --- a/content/writing/thing.md +++ b/content/writing/thing.md @@ -1,8 +1,6 @@ --- -description: This is a test. -title: Thing +title: Writing +description: Some thoughts I've had over the years. Not all of them are good, but here we are. --- -# Hello Content - blah blah blah
- Software Engineer by trade — builder by nature. -
+ {{ + description || + 'Software Engineer by trade — builder by nature.' + }} +
- {{ description }} -