-
Notifications
You must be signed in to change notification settings - Fork 4
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
1 parent
80d70d3
commit 67e099b
Showing
11 changed files
with
139 additions
and
46 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,35 @@ | ||
<template> | ||
<div class="fixed top-0 flex h-[100vh] w-[100%] bg-black/50"> | ||
<div :class="['p-10', 'z-100', 'm-auto'].concat(props.class)"> | ||
<header class="flex text-white text-4xl my-2 font-bold"> | ||
<p class="grow my-auto">{{ heading }}</p> | ||
<button @click="emit('close')" class="group"> | ||
<img | ||
:src="closeImg" | ||
alt="close" | ||
class="h-12 group-hover:drop-shadow-md" | ||
/> | ||
</button> | ||
</header> | ||
<div class="bg-neutral-800 p-8"> | ||
<slot></slot> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import closeImg from "@/assets/figma/close.svg"; | ||
const props = withDefaults( | ||
defineProps<{ | ||
heading: string; | ||
class: string[]; | ||
}>(), | ||
{ | ||
heading: "Lorem impsum dolor", | ||
class: () => [], | ||
} | ||
); | ||
const emit = defineEmits(["close"]); | ||
</script> |
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
</div> | ||
<div | ||
:class="[ | ||
'bg-[#D82027]', | ||
'bg-cc-red', | ||
'flex', | ||
'flex-row', | ||
'uppercase', | ||
|
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
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