forked from MyArtverse-Project/MyArtverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kerby Keith Aquino
committed
Feb 9, 2023
1 parent
93bffd6
commit b56ab13
Showing
4 changed files
with
74 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<script setup lang="ts"> | ||
import gsap from "gsap" | ||
const ctx = ref() | ||
const animationRoot = ref<HTMLElement>() | ||
onMounted(() => { | ||
ctx.value = gsap.context((self) => {}, animationRoot.value) | ||
}) | ||
onUnmounted(() => ctx.value.revert()) | ||
</script> | ||
|
||
<template> | ||
<section class="h-[90vh] grid place-items-center"> | ||
<article class="px-8 relative z-[2] text-center flex flex-col items-center"> | ||
<h1 class="my-6 text-5xl font-bold font-inter"> | ||
Keep 'em all in one place | ||
</h1> | ||
<p class="w-2/4 text-xl 2xl:w-2/3"> | ||
If you have multiple characters, you can have them all in one account | ||
and you're free to change them as you wish! | ||
</p> | ||
</article> | ||
<div id="box-animation" ref="animationRoot"> | ||
<div class="sonas-box"> | ||
<IconMono class="w-[8rem] h-[8rem] text-white" /> | ||
</div> | ||
</div> | ||
</section> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.sonas-box { | ||
@apply flex justify-center items-center mx-auto w-[12rem] h-[12rem] rounded-xl bg-orange-400; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<template> | ||
<Container title="MyFursona | A place where everyone belongs."> | ||
<LandingHero /> | ||
<section class="h-[50vh]"> | ||
Section filler | ||
</section> | ||
<LandingSecond /> | ||
</Container> | ||
</template> |