Skip to content

Commit

Permalink
feat(add): greatings
Browse files Browse the repository at this point in the history
  • Loading branch information
puni9869 committed Jun 10, 2024
1 parent 4a99d8b commit 99ea177
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/base-layout.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<template>
<div class="flex" style="align-items: center; justify-content: flex-start;font-style: italic;color: gray; padding-left: 0.625rem; "> Enjoy the rest of your {{day}}! </div>
<div class="min-w-screen min-h-screen flex"><slot /></div>
</template>

<script setup>
import { ref } from 'vue';
const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
const d = new Date();
const day = ref(weekday[d.getDay()]);
</script>

0 comments on commit 99ea177

Please sign in to comment.