diff --git a/src/components/Avatar.astro b/src/components/Avatar.astro new file mode 100644 index 0000000..e8c90d2 --- /dev/null +++ b/src/components/Avatar.astro @@ -0,0 +1,15 @@ +--- +interface Props { + name: string; + class?: string; +} + +const { name, class: className } = Astro.props; +const initial = name ? name.charAt(0).toUpperCase() : '?'; +--- + +
+
+ {initial} +
+
diff --git a/src/components/ManualEntry.vue b/src/components/ManualEntry.vue new file mode 100644 index 0000000..219db6c --- /dev/null +++ b/src/components/ManualEntry.vue @@ -0,0 +1,369 @@ + + + diff --git a/src/components/Timer.vue b/src/components/Timer.vue index fece54d..8b46b48 100644 --- a/src/components/Timer.vue +++ b/src/components/Timer.vue @@ -127,7 +127,9 @@ async function stopTimer() {