Skip to content

Commit

Permalink
feat: og embed
Browse files Browse the repository at this point in the history
  • Loading branch information
veryCrunchy committed Feb 29, 2024
1 parent 652138e commit 5f3c186
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 34 deletions.
40 changes: 33 additions & 7 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
<script setup lang="ts">
useHead({
link: [{ rel: "icon", type: "image/png", href: "/favicon.webp" }],
});
useSeoMeta({
ogImage: "/favicon.webp ",
themeColor: "#e8a946",
ogTitle: "GreasyMac",
ogDescription: "Welcome to the Greasy Gang",
ogImage: "/favicon.webp",
});
</script>
<template>
<div>
<div class="bg-primary">
<header
class="absolute w-screen mx-auto flex items-center justify-between font-bebas p-4 text-lg transition-colors"
>
<NuxtImg src="/gg.png" class="w-11 h-11"></NuxtImg>
<div class="flex gap-x-3">
<NuxtLink
href="/about"
class="text-white hover:text-gray-100 text-xl underline underline-offset-6"
>Home</NuxtLink
>
<NuxtLink
href="https://greasymac.fandom.com/wiki/GreasyMac_Wiki"
external
class="text-white text-xl hover:text-gray-100"
>About</NuxtLink
>
</div>
<div class="flex my-auto">
<NuxtLink
href="/about"
class="bg-#ff4040 hover:bg-#e03a3a text-white hover:text-gray-100 h-min px-5 py-1 rounded-lg text-white"
>Login</NuxtLink
>
</div>
</header>
<NuxtPage />
</div>
</template>
<style>
body {
background-color: #e8a946;
}
</style>
26 changes: 0 additions & 26 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,6 @@ const buttons = [
</script>
<template>
<div class="font-poppins">
<!-- TODO: move to layout -->
<header
class="absolute w-screen mx-auto flex items-center justify-between font-bebas p-4 text-lg transition-colors"
>
<NuxtImg src="/gggg.png" class="w-11 h-11"></NuxtImg>
<div class="flex gap-x-3">
<NuxtLink
href="/about"
class="text-white hover:text-gray-100 text-xl underline underline-offset-6"
>Home</NuxtLink
>
<NuxtLink
href="https://greasymac.fandom.com/wiki/GreasyMac_Wiki"
external
class="text-white text-xl hover:text-gray-100"
>About</NuxtLink
>
</div>
<div class="flex my-auto">
<NuxtLink
href="/about"
class="bg-#ff4040 hover:bg-#e03a3a text-white hover:text-gray-100 h-min px-5 py-1 rounded-lg text-white"
>Login</NuxtLink
>
</div>
</header>
<main
class="font-barlow flex items-center h-screen gap-5 max-w-7xl w-fit mx-a px-8 py-5 space-y-5 text-white"
>
Expand Down
1 change: 0 additions & 1 deletion public/gg-logo.svg

This file was deleted.

File renamed without changes

0 comments on commit 5f3c186

Please sign in to comment.