Skip to content

Commit 10f9618

Browse files
committed
📘 doc(blog): release 1.0
1 parent 6139cdb commit 10f9618

18 files changed

+994
-125
lines changed

components/blog/Layout.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h1 class="!text-3xl !md:text-4xl font-medium">
44
{{ props.title }}
55
</h1>
6-
<!-- <aside class="flex gap-3 items-center mt-4">
6+
<aside class="flex gap-3 items-center mt-4">
77
<img
88
class="w-9 h-9 rounded-full"
99
:src="profile"
@@ -19,8 +19,8 @@
1919
<a :href="twitter" target="_blank">@{{ author.twitter }}</a>
2020
</p>
2121
</div>
22-
</aside> -->
23-
<img :src="props.src" :alt="props.alt" class="w-full my-6" :class="props.shadow ? 'shadow-xl' : 'border'" />
22+
</aside>
23+
<img :src="props.src" :alt="props.alt" class="w-full mt-6 mb-2" :class="props.shadow ? 'shadow-xl' : 'border'" />
2424
<main id="blog-content">
2525
<slot />
2626
</main>
@@ -57,8 +57,6 @@ const twitter = `https://twitter.com/${author.twitter}`
5757
const mutated = ['.aside', '.content', '.content-container', '.VPDocFooter']
5858
onMounted(() => {
5959
mutated.forEach((selector) => {
60-
console.log(document.querySelector(selector))
61-
6260
document.querySelector(selector)?.classList.add('blog')
6361
})
6462
})

docs/.vitepress/config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ export default defineConfig({
294294
{
295295
text: 'Macro',
296296
link: '/patterns/macro'
297+
},
298+
{
299+
text: 'MVC model',
300+
link: '/patterns/mvc'
297301
}
298302
]
299303
},
@@ -432,6 +436,10 @@ export default defineConfig({
432436
{
433437
text: 'SvelteKit',
434438
link: '/integrations/sveltekit'
439+
},
440+
{
441+
text: 'Drizzle',
442+
link: '/integrations/drizzle'
435443
}
436444
// {
437445
// text: 'Cheat Sheet',

docs/blog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ head:
2525
<Blogs
2626
:blogs="[
2727
{
28-
title: 'Introducing support for Scalar - Elysia',
29-
href: '/blog/elysia-scalar',
30-
detail: 'We are changing API documentation provider to Scalar instead of Swagger UI by default. Scalar is a modern, beautiful API references for OpenAPI compatible, and customizable built on-top of Vue. Elysia now ship @elysia/swagger package by using Scalar as a default provider, with option to switch back to Swagger UI if need.'
28+
title: 'Elysia 1.0 - Lament of the Fallen',
29+
href: '/blog/elysia-10',
30+
detail: 'Introducing Sucrose, a better static code analysis engine, improved starts up time up to 14x, remove 40 routes/instance limitation, faster type inference up to ~3.8x, Eden Treaty 2, Hook type (breaking change), and inline error for strict type check.'
3131
},
3232
{
3333
title: 'Introducing Elysia 0.8 - Gate of Steiner',

0 commit comments

Comments
 (0)