Skip to content

Commit

Permalink
chore: fix formatting and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner committed Feb 3, 2024
1 parent c95fcfe commit 896c366
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions components/content/ProseCode.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- This is a modified copy of the nuxt content component -->
<!-- eslint-disable vue/no-multiple-template-root -->
<template>
<slot />
</template>
Expand Down
2 changes: 2 additions & 0 deletions components/content/ProsePre.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- This is a modified copy of the nuxt content component -->
<template>
<ProseCode
:code="code"
Expand All @@ -11,6 +12,7 @@
</template>

<script setup lang="ts">
/* eslint-disable vue/no-reserved-props */
defineProps({
code: {
type: String,
Expand Down
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ export default defineNuxtConfig({
bodyAttrs: {
class: "min-h-screen bg-sand-1 text-sand-11",
},
charset: "utf-8",
htmlAttrs: {
class: "min-h-screen",
lang: "en-US",
},
viewport: "width=device-width, initial-scale=1",
},
},

Expand Down
4 changes: 3 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@
<script setup lang="ts">
useHead({
title: "About Blake Kostner",
description:
"Hi! My name is Blake Kostner and I’m a Site Reliability Engineer. And Elixir programmer. And front-end web developer. And all around nerd.",
});
defineOgImageComponent("Page", {
defineOgImageComponent("PageImage", {
title: "Blake Kostner",
description: "I’m a Site Reliability Engineer.",
});
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
},
},

typography: ({ theme }) => ({
typography: () => ({
DEFAULT: {
css: {
pre: {
Expand Down

0 comments on commit 896c366

Please sign in to comment.