-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: adjust the button for the account home page
- Loading branch information
1 parent
8934ee8
commit 6a8fd34
Showing
7 changed files
with
34 additions
and
53 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
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,29 +1,10 @@ | ||
<script setup lang="ts"> | ||
const color = '#ed6c02'; | ||
const { t } = useI18n(); | ||
const css = useCssModule(); | ||
</script> | ||
|
||
<template> | ||
<div role="alert" :class="css.alert"> | ||
<AlertIcon :color="color" width="17px" :class="css.icon" /> | ||
{{ t('account.unverified_email.message') }} | ||
</div> | ||
<RuiAlert | ||
type="warning" | ||
:description="t('account.unverified_email.message')" | ||
/> | ||
</template> | ||
|
||
<style module lang="scss"> | ||
.alert { | ||
@apply py-1.5 px-4 mb-4 mt-4 text-sm rounded flex flex-row font-sans; | ||
background: linear-gradient( | ||
0deg, | ||
rgba(255, 255, 255, 0.9), | ||
rgba(255, 255, 255, 0.9) | ||
), | ||
v-bind(color); | ||
} | ||
.icon { | ||
@apply mr-2; | ||
} | ||
</style> |
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 |
---|---|---|
|
@@ -22,6 +22,10 @@ useHead({ | |
], | ||
...commonAttrs(), | ||
}); | ||
definePageMeta({ | ||
layout: 'landing', | ||
}); | ||
</script> | ||
|
||
<template> | ||
|