Skip to content

Commit bbb71bd

Browse files
committed
chore: add CRC game locations
1 parent f4efa4b commit bbb71bd

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

src/components/Venue3F.astro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,5 +241,14 @@ const getTitle = (id: Number) => {
241241
<text style="font-size: 300px;fill:black;font-weight: bold;" x="7400" y="1200" text-anchor="middle" dominant-baseline="middle">R3</text>
242242
<text style="font-size: 100px;fill:black;font-weight: bold;" x="7400" y="1400" text-anchor="middle" dominant-baseline="middle">{t('room.R3')}</text>
243243
</g>
244+
<g class="venue-location clickable booth" transform="translate(8800,5300)" data-booth="28">
245+
<circle cx="50" cy="50" r="100" fill="#ffaaaa" fill-opacity="0.5"></circle>
246+
</g>
247+
<g class="venue-location clickable booth" transform="translate(7330,5720)" data-booth="28">
248+
<circle cx="50" cy="50" r="100" fill="#ffaaaa" fill-opacity="0.5"></circle>
249+
</g>
250+
<g class="venue-location clickable booth" transform="translate(7320,4300)" data-booth="28">
251+
<circle cx="50" cy="50" r="100" fill="#ffaaaa" fill-opacity="0.5"></circle>
252+
</g>
244253
</svg>
245254
</div>

src/components/Venue4F.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,11 @@ const getTitle = (id: Number) => {
252252
<text style="font-size: 150px; fill: black; font-weight: bold;" text-anchor="middle" dominant-baseline="middle" x="180" y="110">28</text>
253253
<title>{getTitle(28)}</title>
254254
</g>
255+
<g class="venue-location clickable booth" transform="translate(6050,6950)" data-booth="28">
256+
<circle cx="50" cy="50" r="100" fill="#ffaaaa" fill-opacity="0.5"></circle>
257+
</g>
258+
<g class="venue-location clickable booth" transform="translate(4550,6950)" data-booth="28">
259+
<circle cx="50" cy="50" r="100" fill="#ffaaaa" fill-opacity="0.5"></circle>
260+
</g>
255261
</svg>
256262
</div>

src/styles/base.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,15 @@
9696
}
9797
&.clickable {
9898
path,
99-
rect {
99+
rect,
100+
circle {
100101
cursor: pointer;
101102
@apply transition-all duration-200;
102103
}
103104
&:hover {
104105
path,
105-
rect {
106+
rect,
107+
circle {
106108
fill-opacity: 0.85;
107109
}
108110
}

0 commit comments

Comments
 (0)