Skip to content

Commit fe84daf

Browse files
committed
chore: staged changes
1 parent 6765d10 commit fe84daf

File tree

8 files changed

+66
-4
lines changed

8 files changed

+66
-4
lines changed

src/packlets/front/map.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
new mapkit.CoordinateSpan(0.1, 0.11)
1919
)
2020

21-
map.cameraZoomRange = new mapkit.CameraZoomRange(500, 75000)
21+
map.cameraZoomRange = new mapkit.CameraZoomRange(250, 75000)
2222
map.region = region
2323

2424
// @ts-expect-error CameraBoundaryDescription.region does not exist in Map
@@ -28,6 +28,7 @@
2828
new mapkit.MarkerAnnotation(coordinate, {
2929
title: 'True Digital Park West',
3030
subtitle: 'Grand Hall, 3rd Fl.',
31+
selected: true,
3132
}),
3233
])
3334
})

src/packlets/front/schedule.astro

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
<section class="bg-เหล็กไหล py-12 text-white">
2-
<h1 class="text-center text-4xl font-bold">Schedule</h1>
1+
---
2+
import TBA from './tba.astro'
3+
---
4+
5+
<section class="py-12 text-เหล็กไหล">
6+
<h1 class="pb-12 text-center text-4xl font-bold">Schedule</h1>
7+
<TBA />
38
</section>

src/packlets/front/speaker.astro

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<article class="flex rounded-xl bg-ขาวผ่อง px-4 py-6 text-เหล็กไหล">
2+
<div class="shrink-0">
3+
<div class="aspect-square w-24 rounded-full bg-green-400"></div>
4+
</div>
5+
<div class="pl-4">
6+
<h1 class="text-2xl font-bold">John Appleseed</h1>
7+
<p class="">
8+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec odio
9+
vitae nunc.
10+
</p>
11+
</div>
12+
</article>

src/packlets/front/speakers.astro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
import Speaker from './speaker.astro'
3+
import TBA from './tba.astro'
4+
---
5+
6+
<section class="bg-เหล็กไหล py-12 text-white">
7+
<h1 class="pb-12 text-center text-4xl font-bold">Speakers</h1>
8+
<TBA>
9+
<div class="mx-auto grid max-w-4xl gap-4 px-4 md:grid-cols-2">
10+
<Speaker />
11+
<Speaker />
12+
<Speaker />
13+
<Speaker />
14+
</div>
15+
</TBA>
16+
</section>

src/packlets/front/sponsors.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import TBA from './tba.astro'
3+
---
4+
5+
<section class="bg-เหล็กไหล py-12 text-white">
6+
<h1 class="pb-12 text-center text-4xl font-bold">Sponsors</h1>
7+
<TBA />
8+
</section>

src/packlets/front/tba.astro

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
const isShow = import.meta.env.DEV
3+
---
4+
5+
{
6+
isShow ? (
7+
<slot />
8+
) : (
9+
<p class="text-center">
10+
To be announced, please look forward in the future!
11+
</p>
12+
)
13+
}

src/pages/index.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import Base from '$layouts/base.astro'
44
import Center from '$front/center.astro'
55
import Schedule from '$front/schedule.astro'
66
import Map from '$front/map.astro'
7+
import Sponsors from '$front/sponsors.astro'
8+
import Speakers from '$front/speakers.astro'
79
810
import Playground from '$playground/playground.svelte'
911
import Date from '$playground/date.svelte'
@@ -17,5 +19,7 @@ import Location from '$playground/location.svelte'
1719
<Center />
1820
</Playground>
1921
<Map />
22+
<Speakers />
2023
<Schedule />
24+
<Sponsors />
2125
</Base>

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
"paths": {
66
"$*": ["./src/packlets/*"]
77
}
8-
}
8+
},
9+
"exclude": [
10+
"dist/**/*"
11+
]
912
}

0 commit comments

Comments
 (0)