Skip to content

Commit

Permalink
Small fixes with logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Petry committed Sep 19, 2023
1 parent 25abfb1 commit 6450a14
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 67 deletions.
2 changes: 1 addition & 1 deletion components/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const initials = siteMeta.name

<template>
<div class="flex items-center space-x-10">
<NuxtLink to="" class="flex items-center group unstyled" title="Go Home">
<NuxtLink to="/" class="flex items-center group unstyled" title="Go Home">
<NuxtImg
:src="siteMeta.logo"
width="80"
Expand Down
14 changes: 13 additions & 1 deletion composables/data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { fetchContentNavigation, queryContent, useAsyncData } from '#imports'
import type { JsonParsedContent, Page, Post, ProjectList } from '~/types'
import type {
GeneralList,
JsonParsedContent,
Page,
Post,
ProjectList,
} from '~/types'
import { groupBy } from '~/logic'

export function useProjects() {
Expand All @@ -8,6 +14,12 @@ export function useProjects() {
)
}

export function useGeneralList() {
return useAsyncData('content:entrys', () =>
queryContent<JsonParsedContent<GeneralList>>('_partners').findOne()
)
}

export function useHeaderNav() {
return useAsyncData('content:navigation', () => fetchContentNavigation())
}
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
"@iconify-json/logos": "^1.1.35",
"@iconify-json/mdi": "^1.1.54",
"@iconify-json/noto": "^1.1.12",
"@iconify-json/octicon": "^1.1.43",
"@iconify-json/ph": "^1.1.6",
"@iconify-json/ri": "^1.1.12",
"@iconify-json/simple-icons": "^1.1.69",
"@iconify-json/uim": "^1.1.5",
"@iconify-json/vscode-icons": "^1.1.28",
"@nuxt-themes/docus": "^1.14.6",
"@nuxt/content": "^2.8.2",
Expand Down
Loading

0 comments on commit 6450a14

Please sign in to comment.