Skip to content

Commit 563308e

Browse files
committed
Add calendar for tests
1 parent 397ddaf commit 563308e

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

src/pages/_test_components.astro

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Layout from "@layouts/SectionLayout.astro";
44
import Button from "@ui/Button.astro";
55
import Headline from "@ui/Headline.astro"
66
import Icon from "@ui/Icon.astro"
7-
import GoogleCalendar from '@components/GoogleCalendar.astro';
87
---
98

109
<Layout
@@ -19,15 +18,6 @@ import GoogleCalendar from '@components/GoogleCalendar.astro';
1918

2019
<Headline as="h1" id="components" title="Example components" />
2120

22-
<GoogleCalendar
23-
height="800"
24-
width="1000"
25-
mode="WEEK"
26-
showTitle={false}
27-
showPrint={false}
28-
backgroundColor="%23f0f0f0"
29-
/>
30-
3121
Key Features
3222
<Headline id="button" title="Button" />
3323
<div class="grid gap-2 w-[200px]">

src/pages/calendar.astro

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
---
3+
import Layout from "@layouts/SectionLayout.astro";
4+
import Button from "@ui/Button.astro";
5+
import Headline from "@ui/Headline.astro"
6+
import Icon from "@ui/Icon.astro"
7+
import GoogleCalendar from '@components/GoogleCalendar.astro';
8+
---
9+
10+
<Layout
11+
title="test components"
12+
description="Showcase for all components and variants."
13+
>
14+
15+
<head>
16+
<meta name="robots" content="noindex, nofollow" />
17+
</head>
18+
19+
20+
<Headline as="h1" id="components" title="Caledar component" />
21+
22+
<GoogleCalendar
23+
calendarId="c_92a16684da1f052b5b2d249a52b976e1ad25fc80954e9d5d6119b0a6bdfdd9bb@group.calendar.google.com"
24+
height="800"
25+
width="1000"
26+
mode="WEEK"
27+
showTitle={false}
28+
showPrint={false}
29+
backgroundColor="%23f0f0f0"
30+
/>
31+
</Layout>

0 commit comments

Comments
 (0)