Skip to content

Commit

Permalink
stagger hero anim
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerby Keith Aquino committed Feb 9, 2023
1 parent c348845 commit 1ef5605
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions website/components/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const urlPath = `https://www.myfursona.art${route.fullPath}`
const props = defineProps<{
title: string
description?: string
className?: string
nowrap?: boolean
}>()
useHead({
Expand Down
4 changes: 2 additions & 2 deletions website/components/Landing/LandingHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ onMounted(() => {
tl.value = gsap
.timeline()
.fromTo(item[0], { opacity: 0, y: 120 }, { ...ease, opacity: 1, y: 0 })
.fromTo(item[1], { opacity: 0, y: 80 }, { ...ease, opacity: 1, y: 0 })
.fromTo(item[2], { opacity: 0, y: 60 }, { ...ease, opacity: 1, y: 0 })
.fromTo(item[1], { opacity: 0, y: 80 }, { ...ease, opacity: 1, y: 0 }, "-=0.69")
.fromTo(item[2], { opacity: 0, y: 60 }, { ...ease, opacity: 1, y: 0 }, "-=0.69")
}, profileContainer.value)
})
Expand Down
2 changes: 1 addition & 1 deletion website/components/TheBaseNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ onUnmounted(() => window.removeEventListener("scroll", handleScroll))
<li class="font-inter">
<NuxtLink
to="/login"
class="px-4 py-1.5 rounded-md hover:bg-purple-900 border-zinc-700 border"
class="px-4 py-2.5 rounded-md hover:bg-purple-900 border-zinc-700 border"
>
Sign In
</NuxtLink>
Expand Down
2 changes: 1 addition & 1 deletion website/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineNuxtConfig({
link: [
{
rel: "shortcut icon",
href: ",/favicon.ico",
href: "./favicon.ico",
},
{
rel: "manifest",
Expand Down
2 changes: 1 addition & 1 deletion website/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<Container title="Home">
<Container title="MyFursona | A place where everyone belongs.">
<LandingHero />
<section class="h-[50vh]">
Section filler
Expand Down

0 comments on commit 1ef5605

Please sign in to comment.