diff --git a/src/components/layout/TheSiteHeader.vue b/src/components/layout/TheSiteHeader.vue index 0298e051..5ab798e1 100644 --- a/src/components/layout/TheSiteHeader.vue +++ b/src/components/layout/TheSiteHeader.vue @@ -4,6 +4,31 @@ const redirect = process.dev ? `&redirect_uri=http://localhost:3000/auth/github` : '' const loginURL = `https://github.com/login/oauth/authorize?client_id=${config.public.githubClientId}${redirect}&scope=read:org` + +const showMenu = ref(false) + +const menu = [ + { + name: 'Home', + path: '/', + }, + { + name: 'Work', + path: '/work', + }, + { + name: 'Talks', + path: '/talks', + }, + { + name: 'Blog', + path: '/blog', + }, + { + name: 'Uses', + path: '/uses', + }, +] diff --git a/src/server/plugins/sprite.ts b/src/server/plugins/sprite.ts index c75d6c7a..69e94b67 100644 --- a/src/server/plugins/sprite.ts +++ b/src/server/plugins/sprite.ts @@ -1,5 +1,11 @@ const sprite = /* svg */ ` + + + + + + diff --git a/test/unit/bundle.spec.ts b/test/unit/bundle.spec.ts index 15f85ed6..edeed1c2 100644 --- a/test/unit/bundle.spec.ts +++ b/test/unit/bundle.spec.ts @@ -32,7 +32,7 @@ describe('project sizes', () => { it('default client bundle size', async () => { stats.client = await analyzeSizes('**/*.js', publicDir) expect(roundToKilobytes(stats.client.totalBytes)).toMatchInlineSnapshot( - '"209k"' + '"212k"' ) expect(stats.client.files.map(f => f.replace(/\..*\.js/, '.js'))) .toMatchInlineSnapshot(` @@ -73,7 +73,7 @@ describe('project sizes', () => { it('default server bundle size', async () => { stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) expect(roundToKilobytes(stats.server.totalBytes)).toMatchInlineSnapshot( - '"713k"' + '"714k"' ) const modules = await analyzeSizes('node_modules/**/*', serverDir)