working on background

This commit is contained in:
2024-02-25 15:58:11 +01:00
parent d53a89200d
commit 2cf7b07c9c

View File

@@ -20,14 +20,14 @@ onMounted(() => {
</script> </script>
<template> <template>
<div class="flex w-full w-container"> <ClientOnly>
<div class="bg absolute inset-0 z-20 transform-gpu blur-3xl overflow-hidden" aria-hidden="true"> <div class="bg sm:mx-8 absolute inset-0 z-20 transform-gpu blur-3xl overflow-hidden" aria-hidden="true">
<div <div
class="aspect-[1.7] h-full w-full bg-gradient-to-r from-[rgb(var(--color-primary-DEFAULT))] to-white/10 lg:opacity-30 xs:opacity-50" class="aspect-[1.7] h-full w-full bg-gradient-to-r from-[rgb(var(--color-primary-DEFAULT))] to-white/10 lg:opacity-30 xs:opacity-50"
:style="{ 'clip-path': `polygon(${poly})` }" :style="{ 'clip-path': `polygon(${poly})` }"
/> />
</div> </div>
</div> </ClientOnly>
</template> </template>
<style scoped> <style scoped>