+
diff --git a/src/components/Map/Map.tsx b/src/components/Map/Map.tsx
index 745b8e6..8119838 100644
--- a/src/components/Map/Map.tsx
+++ b/src/components/Map/Map.tsx
@@ -4,6 +4,7 @@ import { useEffect, useRef, useState } from 'react'
import mapboxgl from 'mapbox-gl'
import styles from './styles.module.css'
import 'mapbox-gl/dist/mapbox-gl.css'
+import { Container } from '@/components/Container/Container'
// todo: as env variable
mapboxgl.accessToken =
@@ -31,5 +32,9 @@ export const LocationMap = () => {
}
})
- return
+ return (
+
+
+
+ )
}
diff --git a/src/components/MassTable/MassTable.stories.ts b/src/components/MassTable/MassTable.stories.ts
index a8b3346..f43fecf 100644
--- a/src/components/MassTable/MassTable.stories.ts
+++ b/src/components/MassTable/MassTable.stories.ts
@@ -15,26 +15,38 @@ export const Default: Story = {
{
id: '1',
date: '10:00',
- locationName: 'St. Christopherus',
- type: null,
+ location: 'St. Christopherus',
+ type: 'MASS',
+ cancelled: false,
+ updatedAt: '',
+ createdAt: '',
},
{
id: '1',
- date: '11:00',
- locationName: 'St. Richard',
- type: 'FAMILY',
+ date: '10:00',
+ location: 'St. Christopherus',
+ type: 'MASS',
+ cancelled: false,
+ updatedAt: '',
+ createdAt: '',
},
{
id: '1',
- date: '11:00',
- locationName: 'St. Clara',
- type: 'WORD',
+ date: '10:00',
+ location: 'St. Christopherus',
+ type: 'MASS',
+ cancelled: false,
+ updatedAt: '',
+ createdAt: '',
},
{
id: '1',
- date: '19:00',
- locationName: 'St. Clara',
- type: null,
+ date: '10:00',
+ location: 'St. Christopherus',
+ type: 'MASS',
+ cancelled: false,
+ updatedAt: '',
+ createdAt: '',
},
],
},
diff --git a/src/components/MassTimer/MassTimer.stories.ts b/src/components/MassTimer/MassTimer.stories.ts
index c828099..6ec86af 100644
--- a/src/components/MassTimer/MassTimer.stories.ts
+++ b/src/components/MassTimer/MassTimer.stories.ts
@@ -11,14 +11,30 @@ export default meta
export const OneDay: Story = {
args: {
- timeout: new Date().getTime() + 1000 * 60 * 60 * 24,
+ nextMass: {
+ id: '1',
+ location: '231234',
+ date: '2025-08-23T15:00:00.000Z',
+ type: 'WORD',
+ cancelled: false,
+ createdAt: '2025-08-23T15:00:00.000Z',
+ updatedAt: '2025-08-23T15:00:00.000Z',
+ },
onStarClick: fn(),
},
}
export const TimeOut: Story = {
args: {
- timeout: new Date().getTime(),
+ nextMass: {
+ id: '1',
+ location: '231234',
+ date: '2025-08-23T15:00:00.000Z',
+ type: 'WORD',
+ cancelled: false,
+ createdAt: '2025-08-23T15:00:00.000Z',
+ updatedAt: '2025-08-23T15:00:00.000Z',
+ },
onStarClick: fn(),
},
}
diff --git a/src/components/MassTimer/MassTimer.tsx b/src/components/MassTimer/MassTimer.tsx
index fc4cd2e..22bb870 100644
--- a/src/components/MassTimer/MassTimer.tsx
+++ b/src/components/MassTimer/MassTimer.tsx
@@ -32,7 +32,10 @@ export const MassTimer = ({ nextMass, onStarClick }: MassTimerProps) => {
🌟
-
setDisplayTooltip(true)}>
+ setDisplayTooltip(true)}
+ suppressHydrationWarning={true}
+ >
{days}T {hours}S {minutes}M {seconds}S
diff --git a/src/components/MassTimer/masstimer.module.css b/src/components/MassTimer/masstimer.module.css
index 4b10be5..1bab979 100644
--- a/src/components/MassTimer/masstimer.module.css
+++ b/src/components/MassTimer/masstimer.module.css
@@ -1,5 +1,6 @@
.container {
position: relative;
+ width: 145px;
}
.starButton {
diff --git a/src/components/MassTitle/styles.module.css b/src/components/MassTitle/styles.module.css
index a32b3f3..2f40be1 100644
--- a/src/components/MassTitle/styles.module.css
+++ b/src/components/MassTitle/styles.module.css
@@ -1,7 +1,7 @@
.title {
font-size: 48px;
font-weight: 700;
- margin-block-start: 0;
+ margin-block-start: -10px;
}
.mass {
diff --git a/src/components/Menu/Menu.tsx b/src/components/Menu/Menu.tsx
index 1efe5de..28e9f24 100644
--- a/src/components/Menu/Menu.tsx
+++ b/src/components/Menu/Menu.tsx
@@ -18,7 +18,7 @@ export const Menu = (props: MenuProps) => {