Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed May 10, 2024
1 parent 4118db9 commit 5060d19
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 1,719 deletions.
3 changes: 2 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ useSeoMeta({
titleTemplate: `%s - ${seo?.siteName}`,
ogSiteName: seo?.siteName,
ogUrl: 'https://docs.zksync.io/',
ogImage: '/social-card.png',
ogImageAlt: 'zkSync — Accelerating the mass adoption of crypto for personal sovereignty.',
ogDescription:
'zkSync Docs bring you all information you need about our protocol, APIs, SDKs, ZK Stack, and hyperchains. Start with our guides and tutorials, or go deep into our architecture and protocol specification.',
Expand All @@ -39,7 +40,7 @@ useSeoMeta({
twitterImageAlt: 'zkSync — Accelerating the mass adoption of crypto for personal sovereignty.',
});
defineOgImage({ component: 'OgImageDocs' });
defineOgImage({ component: 'OgImageCommunityCode' });
provide('navigation', navigation);
</script>
Expand Down
Binary file modified bun.lockb
Binary file not shown.
29 changes: 29 additions & 0 deletions components/OgImage/OgImageCommunityCode.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<script lang="ts" setup>
defineOptions({
inheritAttrs: false,
});
defineProps({
title: {
type: String,
required: true,
},
description: {
type: String,
required: true,
},
});
</script>

<template>
<div class="flex h-full w-full flex-col justify-center bg-slate-900 p-8 text-center">
<div class="relative">
<h1 class="mb-4 text-8xl text-white">
{{ title }}
</h1>
<p class="text-5xl leading-tight text-gray-200">
{{ description }}
</p>
</div>
</div>
</template>
Loading

0 comments on commit 5060d19

Please sign in to comment.