Skip to content

Commit

Permalink
implement banner
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Jul 18, 2024
1 parent c7e77d2 commit 4fc9e05
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions components/Banner.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<template>
<div class="w-full bg-dotted h-xl" :class="[`bg-dotted-${color}`]" />
<div class="w-full bg-dotted h-xl" :class="[`bg-dotted-${color}`]" />
</template>

<script setup lang="ts">
enum BannerColor {
blue = 'blue',
black = 'black',
Expand All @@ -26,14 +25,12 @@ defineProps({
}
.bg-dotted-blue {
background-image: url('/assets/svg/dots.svg');
background-size: contain;
background-image: url('/assets/svg/dots.svg');
background-size: contain;
}
.bg-dotted-black {
background-image: url('/assets/svg/dots-black.svg');
background-size: contain;
background-image: url('/assets/svg/dots-black.svg');
background-size: contain;
}
</style>
</style>

0 comments on commit 4fc9e05

Please sign in to comment.