Skip to content

Commit

Permalink
feat: header cleanup + favicon (#72)
Browse files Browse the repository at this point in the history
* chore: move title to nuxt config

* feat: favicon
  • Loading branch information
stanistan authored May 23, 2023
1 parent e38977a commit 32cc5f7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
9 changes: 9 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ export default defineNuxtConfig({
autoprefixer: {},
},
},
app: {
head: {
title: 'present-me',
link: [
{ rel: "icon", href: "/favicon.ico", sizes: "any" },
{ rel: "icon", href: "/favicon.svg", type: "image/svg+xml" }
]
}
}
})
4 changes: 0 additions & 4 deletions frontend/pages/[org]/[repo]/pull/[pull]/review-[review].vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
</template>

<script setup lang="ts">
useHead({
title: 'present-me',
});
const route = useRoute();
const { pending, data, error } = await useFetch('/api/review', {
lazy: true,
Expand Down
4 changes: 0 additions & 4 deletions frontend/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
</template>

<script setup lang="ts">
useHead({
title: 'present-me'
});
const query = ref(''),
errorMessage = ref(''),
searchDisabled = ref(false);
Expand Down
Binary file added frontend/public/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions frontend/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 32cc5f7

Please sign in to comment.