Bunch of updates

This commit is contained in:
Max
2024-02-25 11:10:30 -07:00
parent 80d2c52e27
commit 04854f1bf0
44 changed files with 3338 additions and 1184 deletions

View File

@@ -1,10 +1,12 @@
<template>
<div class="flex flex-col min-h-screen bg-slate-100">
<div class="flex flex-col min-h-screen bg-slate-100 main-body">
<slot />
<footer class="mx-auto w-full text-white bg-zinc-900 p-2"></footer>
<footer
class="mx-auto w-full text-white bg-zinc-900 p-2 no-print"
></footer>
<div
class="w-full mx-auto bg-zinc-800 flex flex-col justify-center items-center py-9 text-white fade-in-children"
class="w-full mx-auto bg-zinc-800 flex flex-col justify-center items-center py-9 text-white no-print"
>
<span> Max Gialanella - {{ new Date().getFullYear() }} </span>
</div>
@@ -12,35 +14,35 @@
</template>
<script setup>
const route = useRoute();
const route = useRoute();
const updateMeta = () => {
const sitePrefix = "Resume";
const pageName = route.name
.toLowerCase()
.replace(/(?<= )[^\s]|^./g, (a) => a.toUpperCase());
const updateMeta = () => {
const sitePrefix = "Resume";
const pageName = route.name
.toLowerCase()
.replace(/(?<= )[^\s]|^./g, (a) => a.toUpperCase());
useSeoMeta({
title: `${sitePrefix} | ${pageName}`,
ogTitle: "Max Gialanella",
description: "Max Gialanella",
ogDescription: "Max Gialanella",
// ogImage: 'https://example.com/image.png',
// twitterCard: 'Ravenwulf Logo',
});
};
useSeoMeta({
title: `${sitePrefix} | ${pageName}`,
ogTitle: "Max Gialanella",
description: "Max Gialanella",
ogDescription: "Max Gialanella",
// ogImage: 'https://example.com/image.png',
// twitterCard: 'Ravenwulf Logo',
});
};
</script>
<style>
body {
color: rgb(47, 49, 50);
}
.page-enter-active,
.page-leave-active {
transition: opacity 0.4s ease;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
}
body {
color: rgb(47, 49, 50);
}
.page-enter-active,
.page-leave-active {
transition: opacity 0.4s ease;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
}
</style>

19
layouts/homepage.vue Normal file
View File

@@ -0,0 +1,19 @@
<template>
<div class="flex w-3xl mx-auto">
<slot />
</div>
</template>
<style>
html,
body {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239C92AC' fill-opacity='0.25' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
linear-gradient(135deg, rgba(0, 0, 0, 0) 1%, rgba(0, 8, 70, 0.56) 60%),
radial-gradient(
circle at left bottom,
rgb(179, 0, 193) 0%,
rgb(0, 0, 0) 50%
);
@apply w-full h-full;
}
</style>