-
Notifications
You must be signed in to change notification settings - Fork 10
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
Showing
5 changed files
with
49 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
<script setup lang="ts"> | ||
import { format } from 'date-fns'; | ||
const config = useRuntimeConfig(); | ||
const currentYear = format(new Date(), 'yyyy'); | ||
</script> | ||
|
||
<template> | ||
<div class="flex flex-col items-center text-xs text-neutral-600"> | ||
<div>Habit v{{ config.public.version }}</div> | ||
<a href="https://github.com/zackha/habit" target="_blank">Github</a> | ||
<div class="mt-2 flex flex-col items-center justify-between gap-1 text-xs text-neutral-600"> | ||
<div> | ||
<a class="font-semibold" href="https://github.com/zackha/habit" target="_blank">Habit v{{ config.public.version }}</a> | ||
- by | ||
<a class="font-semibold" href="https://github.com/zackha" target="_blank">Sefa Bulak</a> | ||
{{ currentYear }} | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
<div class="card"> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<style lang="postcss" scoped> | ||
.card { | ||
box-shadow: | ||
inset 0px 0px 2.5px 0px rgba(255, 255, 255, 0.1), | ||
inset 0px 0px 0px 0px rgba(0, 0, 0, 0.2), | ||
rgba(0, 0, 0, 0.4) 0px 15px 40px -10px; | ||
@apply rounded-[2.375rem] p-6 backdrop-blur-xl; | ||
} | ||
</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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.