Skip to content

Commit

Permalink
Merge pull request #16 from esc-chula/scene3
Browse files Browse the repository at this point in the history
feat: scene3
  • Loading branch information
MasterIceZ authored Sep 4, 2024
2 parents 749e86e + 1c4c649 commit 7610ccb
Show file tree
Hide file tree
Showing 42 changed files with 498 additions and 28 deletions.
70 changes: 42 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/story/scene-3/01.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/02.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/03.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/04.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/05.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/06.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/07.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/08.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/09.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/10.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/11.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/12.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/13.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/14.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/15.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/16.webp
Binary file not shown.
Binary file added src/assets/story/scene-3/17.webp
Binary file not shown.
18 changes: 18 additions & 0 deletions src/pages/story/3-01.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import BackgroundImage from "@/assets/story/scene-3/01.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<div class="h-fit w-80 select-none rounded-xl border-4 bg-white border-white">
<div class="mb-2.5 ml-2.5 mt-2.5 break-words text-center font-semibold text-sm">
<p>"ศูนย์ปฏิบัติการแห่งอนาคต"</p>
</div>
</div>
</div>
<Tap delay={0.5} redirectUrl="/story/3-02" client:load />
</ImagePageLayout>
19 changes: 19 additions & 0 deletions src/pages/story/3-02.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/02.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="ชาไทย"
text={"นั่น ลองเข้าไปขอความช่วยเหลือเรื่องสัญญาณจาก “Engine” ผู้ดูแลศูนย์ปฏิบัติการแห่งนี้ กันดีกว่า"}
className="bg-chathai"
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-03" client:load />
</ImagePageLayout>
19 changes: 19 additions & 0 deletions src/pages/story/3-03.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/03.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="%USERNAME%"
text={"ช่วยด้วย เกิดปัญหาใหญ่ขึ้นแล้ว!"}
className="bg-user"
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-04" client:load />
</ImagePageLayout>
11 changes: 11 additions & 0 deletions src/pages/story/3-04.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import BackgroundImage from "@/assets/story/scene-3/04.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<Tap delay={0.5} redirectUrl="/story/3-05" client:load />
</ImagePageLayout>
20 changes: 20 additions & 0 deletions src/pages/story/3-05.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/05.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="%USERNAME%"
text={"ตอนนี้ที่โรงงานสัญญาณขาดหายไป เธอสามารถแก้ไขได้ไหม"}
className="bg-user"
client:only
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-06" client:load />
</ImagePageLayout>
27 changes: 27 additions & 0 deletions src/pages/story/3-06.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/05.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<div class="mb-12 flex flex-col items-center">
<TextBubble
name="%USERNAME%"
text={"ตอนนี้ที่โรงงานสัญญาณขาดหายไป เธอสามารถแก้ไขได้ไหม"}
className="bg-user"
client:only
/>
<TextBubble
name="Engine"
text={"งั้นเดี๋ยวฉันจะรีบติดต่อกับลูกทีมของฉันให้"}
className="bg-engine"
/>
</div>
</div>
<Tap delay={0.5} redirectUrl="/story/3-07" client:load />
</ImagePageLayout>
19 changes: 19 additions & 0 deletions src/pages/story/3-07.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/06.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="Engine"
text={"เธออยากทำตำแหน่งไหนในงานนี้ไหม ?"}
className="bg-engine"
client:only
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-08" client:load />
</ImagePageLayout>
30 changes: 30 additions & 0 deletions src/pages/story/3-08.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import AnswerComponent from "@/components/inputs/AnswerComponent";
import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/06.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="Engine"
text={"เธออยากทำตำแหน่งไหนในงานนี้ไหม ?"}
className="bg-engine"
client:only
/>
</div>

<AnswerComponent
answers={[
{ text: "แบ่งงาน ดูภาพรวม เป็นคนตัดสินใจ", attribute: "A" },
{ text: "ผู้ช่วยฝ่ายเทคนิค คิดวิธีแก้ปัญหา", attribute: "B" },
{ text: "ฝ่ายประสานงาน สื่อสารกับทุกคน", attribute: "C" },
{ text: "เป็นที่ปรึกษา ใครมีปัญหาขอให้บอก", attribute: "D" },
]}
redirectUrl="/story/3-09"
client:only
/>
</ImagePageLayout>
19 changes: 19 additions & 0 deletions src/pages/story/3-09.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/07.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="Engine"
text={"โอ้ เยี่ยมไปเลย ! งั้นเรามาเริ่มกันเลยดีกว่า"}
className="bg-engine"
client:only
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-10" client:load />
</ImagePageLayout>
11 changes: 11 additions & 0 deletions src/pages/story/3-10.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";
import BackgroundImage from "@/assets/story/scene-3/08.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<Tap delay={0.5} redirectUrl="/story/3-11" client:load />
</ImagePageLayout>
19 changes: 19 additions & 0 deletions src/pages/story/3-11.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import ImagePageLayout from "@/layouts/ImagePageLayout.astro";
import Tap from "@/components/Tap";import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-3/09.webp";
---

<ImagePageLayout backgroundColor="bg-[#303030]" image={BackgroundImage}>
<div class="absolute top-20 flex w-full justify-center">
<TextBubble
name="Engine"
text={"ยะ . . . แย่แล้ว ! คอมดับ ทำยังไงดี !!!"}
className="bg-engine"
client:only
/>
</div>
<Tap delay={0.5} redirectUrl="/story/3-12" client:load />
</ImagePageLayout>
Loading

0 comments on commit 7610ccb

Please sign in to comment.