Skip to content

Commit

Permalink
fix: add more meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
chroxify committed Aug 31, 2024
1 parent ef884f6 commit 02ad2f2
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 6 deletions.
23 changes: 22 additions & 1 deletion apps/homepage/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,28 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://haptic.md/" />
<meta property="og:title" content="Haptic - Write Notes at the speed of touch" />
<meta
property="og:description"
content="Haptic is a new local-first & privacy-focused home for your markdown notes. It's a minimalistic, lightweight and fast note-taking app that's designed to be distraction-free."
/>
<meta property="og:image" content="https://haptic.md/hero-dark.png?t=%TIMESTAMP%" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://haptic.md/" />
<meta property="twitter:title" content="Haptic - Write Notes at the speed of touch" />
<meta
property="twitter:description"
content="Haptic is a new local-first & privacy-focused home for your markdown notes. It's a minimalistic, lightweight and fast note-taking app that's designed to be distraction-free."
/>
<meta property="twitter:image" content="https://haptic.md/hero-dark.png?t=%TIMESTAMP%" />

%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
Expand Down
27 changes: 22 additions & 5 deletions apps/homepage/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,31 @@
<meta name="theme-color" content="#0F0F0F" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<!-- Og image -->
<!-- Open Graph -->
<meta property="og:site_name" content="Haptic" />
<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://haptic.md/" />
<meta property="og:title" content="Haptic - Write Notes at the speed of touch" />
<meta
property="og:description"
content="Haptic is a new local-first & privacy-focused home for your markdown notes. It's a minimalistic, lightweight and fast note-taking app that's designed to be distraction-free."
/>
<meta property="og:image" content="https://haptic.md/hero-dark.png" />
<meta property="og:image:alt" content="Haptic - Markdown Editor" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Haptic - Write Notes at the speed of touch" />
<meta property="og:image:height" content="627" />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://haptic.md/" />
<meta property="twitter:title" content="Haptic - Write Notes at the speed of touch" />
<meta
property="twitter:description"
content="Haptic is a new local-first & privacy-focused home for your markdown notes. It's a minimalistic, lightweight and fast note-taking app that's designed to be distraction-free."
/>
<meta property="twitter:image" content="https://haptic.md/hero-dark.png" />

<!-- Seline -->
<!-- Seline -->
<script async src="https://cdn.seline.so/seline.js" data-token="d028e058129b859"></script>
</svelte:head>

Expand Down

0 comments on commit 02ad2f2

Please sign in to comment.