Added some projects

This commit is contained in:
2024-09-27 23:16:59 +03:00
parent cb32524241
commit 9cb71c3a7d
5 changed files with 49 additions and 14 deletions

View File

@@ -10,7 +10,8 @@
<a
class="text-sm text-slate-400"
href="https://v1.kopyl.dev"
target="_blank"
>
Time Machine
{$t('footer.go_back')}
</a>
</footer>

View File

@@ -18,19 +18,19 @@ onMount(async () => {
ScrollTrigger.create({
trigger: logo,
start: "top-=10% top+=64px",
scrub: 1,
onEnter: () => {
const state = Flip.getState(logo);
logo.classList.add("hero__logo--in-nav")
Flip.from(state, {
duration: 1,
duration: .6,
})
},
onLeaveBack: () => {
const state = Flip.getState(logo);
logo.classList.remove("hero__logo--in-nav")
Flip.from(state, {
duration: 1,
absolute: true,
duration: .6,
})
}
})
@@ -133,6 +133,13 @@ const goTop = () => {
height: 48px;
color: white;
opacity: .8;
transition: opacity .3s;
}
&:hover {
:global(svg) {
opacity: 1;
}
}
}
</style>

View File

@@ -34,7 +34,7 @@
{/each}
</div>
<div class="flex gap-4">
<div class="flex gap-2">
{#each project.links as link}
<a
target="_blank"