mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 20:59:57 +01:00
Add background only on main page
This commit is contained in:
@@ -16,13 +16,16 @@ function jumpPoints() {
|
||||
|
||||
onMounted(() => jumpPoints())
|
||||
onUnmounted(() => clearTimeout(timeout))
|
||||
|
||||
const route = useRoute()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ClientOnly>
|
||||
<div
|
||||
v-show="route.path === '/'"
|
||||
aria-hidden="true"
|
||||
class="bg sm:mx-8 absolute inset-0 z-20 transform-gpu blur-3xl overflow-hidden"
|
||||
class="duration-300 bg sm:mx-8 absolute inset-0 z-20 transform-gpu blur-3xl overflow-hidden"
|
||||
>
|
||||
<div
|
||||
:style="{ 'clip-path': `polygon(${poly})` }"
|
||||
|
||||
Reference in New Issue
Block a user