Add grid, center the clock

This commit is contained in:
raucao committed 2025-10-29 15:35:39 +01:00
1 parent 0a3bcb8ea1
commit 9a401cf917
3 files changed
+7 -5

No files matched your search

+3 -3
View File
@@ -42,11 +42,11 @@ export default class DefaultClockComponent extends Component {
}
<template>
<div class="component clock">
<div class="time">
<div class="text-center text-white">
<div class="text-[6rem] font-semibold">
{{this.formattedTime}}
</div>
<div class="greeting">
<div class="text-[2rem]">
{{this.greeting}}, <span class="name">{{@name}}</span>.
</div>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@ import { pageTitle } from 'ember-page-title';
<template>
{{pageTitle "Dashtab"}}
<div id="wrapper" class="bg-cyan-900">
<div id="wrapper" class="bg-cyan-900 min-h-screen w-full grid grid-cols-3 grid-rows-3">
{{outlet}}
</div>
</template>
+3 -1
View File
@@ -4,5 +4,7 @@ import DefaultClock from '../components/default-clock.gjs';
<template>
{{pageTitle "New Tab"}}
<DefaultClock @name="Râu" />
<div class="col-start-2 row-start-2 flex items-center justify-center">
<DefaultClock @name="Râu" />
</div>
</template>