Skip to content

Commit

Permalink
add og image
Browse files Browse the repository at this point in the history
  • Loading branch information
zyqhpz committed Jul 13, 2024
1 parent 267a25b commit adf0821
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ useHead({
title: 'Haziq Hapiz | Software Engineer',
meta: [
{ name: 'description', content: 'An aspiring software engineer with a passion to make meaningful impacts!' },
{ name: 'author', content: 'Haziq Hapiz' }
{ name: 'author', content: 'Haziq Hapiz' },
{ name: 'og:title', content: 'Haziq Hapiz | Software Engineer' },
{ name: 'og:description', content: 'An aspiring software engineer with a passion to make meaningful impacts!' },
{ name: 'og:image', content: '/img/og.png' },
{ name: 'og:url', content: 'https://zyqhpz.github.io' },
{ name: 'og:type', content: 'website' },
{ name: 'twitter:card', content: 'summary' },
{ name: 'twitter:site', content: '@haziqhapiz' },
{ name: 'twitter:creator', content: '@haziqhapiz' },
{ name: 'twitter:title', content: 'Haziq Hapiz | Software Engineer' },
{ name: 'twitter:description', content: 'An aspiring software engineer with a passion to make meaningful impacts!' },
{ name: 'twitter:image', content: '/img/og.png' },
],
})
useSeoMeta({
title: 'Haziq Hapiz | Software Engineer',
description: 'An aspiring software engineer with a passion to make meaningful impacts!',
ogTitle: 'Haziq Hapiz | Software Engineer',
ogDescription: 'An aspiring software engineer with a passion to make meaningful impacts!',
ogImage: '/img/og.png',
})
</script>
Binary file removed public/img/2506209.jpg
Binary file not shown.
Binary file removed public/img/2506210.jpg
Binary file not shown.
Binary file removed public/img/arrow.gif
Binary file not shown.
Binary file removed public/img/bg.jpg
Binary file not shown.
Binary file removed public/img/home.jpg
Binary file not shown.
Binary file added public/img/og.png
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 adf0821

Please sign in to comment.