-
Notifications
You must be signed in to change notification settings - Fork 3
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
Selemondev
authored and
Selemondev
committed
Jul 30, 2023
1 parent
6249953
commit 5db0a94
Showing
21 changed files
with
136 additions
and
297 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,33 +1,15 @@ | ||
<script setup lang='ts'> | ||
import { ref } from 'vue' | ||
const show = ref(true) | ||
function handleClose() { | ||
return show.value = false | ||
} | ||
</script> | ||
|
||
<template> | ||
<div class="mt-48 p-4 space-y-2"> | ||
<WAvatar src="https://github.cm/selemondev.png" name="Selemon" chip-position="top-right" initials="SB" chip-color="red" /> | ||
|
||
<WAlert :is-visible="show" icon="ph:sun" :trailing="false" variant="success-light" transition="slideRight" title="Alert" closable @close="handleClose"> | ||
<WAlertDescription> | ||
Hello from alert | ||
</WAlertDescription> | ||
</WAlert> | ||
|
||
<WAlert variant="primary" transition="fade" title="Alert" closable> | ||
<WAlertDescription> | ||
Hello from alert | ||
</WAlertDescription> | ||
</WAlert> | ||
|
||
<WAlert variant="primary-dashed" transition="slideLeft" title="Alert" closable> | ||
<WAlertDescription> | ||
Hello from alert | ||
</WAlertDescription> | ||
</WAlert> | ||
<div class="grid place-items-center w-full min-h-screen"> | ||
<div class="space-y-2"> | ||
<WButton icon="ph:reddit-logo" :trailing="false" label="Reddit" variant="outline" size="lg" /> | ||
<!-- <WButtonGroup > | ||
<WButton icon="bxl:meta" :trailing="false" variant="primary" size="lg" /> | ||
<WButton icon="ic:round-play-arrow" :trailing="false" variant="danger" size="lg" /> | ||
<WButton icon="ph:reddit-logo" :trailing="false" variant="warning" size="lg" /> | ||
</WButtonGroup> --> | ||
</div> | ||
</div> | ||
</template> | ||
</template> |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum Variants { | ||
DEFAULT = 'default', | ||
PRIMARY = 'primary', | ||
SUCCESS = 'success', | ||
WARNING = 'warning', | ||
|
Oops, something went wrong.