Skip to content

Commit

Permalink
fix: add text wrapper and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
khajornritdacha committed Sep 14, 2024
1 parent 962f346 commit c6f5be3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/pages/story/2-08.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import TextBubbleWrapper from "@/components/TextBubbleWrapper.astro";
>
<TextBubbleWrapper>
<TextBubble
name="กระทิงดำกล้ามโต"
name="กระทิงกล้ามโต"
text={"%USERNAME% พูดถูก . . . เอาล่ะ ทุกคนมาทำตามที่มนุษย์คนนี้บอกเร็วเข้า"}
className="bg-bull"
client:only="react"
Expand Down
29 changes: 14 additions & 15 deletions src/pages/story/4-06.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,26 @@ import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-4/03.webp";
import BackgroundImageLow from "@/assets/story/scene-4/03-low.webp";
import TextBubbleWrapper from "@/components/TextBubbleWrapper.astro";
---

<ImagePageLayout
backgroundColor="bg-[#303030]"
image={BackgroundImage}
imageLowRes={BackgroundImageLow}
>
<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="react"
/>
<TextBubble
name="ชาไทย"
text={"ไม่เป็นไรหรอก ก็เธอใช้เวทย์มนต์ของอัญมณีช่วยเราไว้นี่นา"}
className="bg-chathai"
/>
</div>
</div>
<TextBubbleWrapper>
<TextBubble
name="%USERNAME%"
text={"ชาไทยบาดเจ็บอะไรไหม"}
className="bg-user"
client:only="react"
/>
<TextBubble
name="ชาไทย"
text={"ไม่เป็นไรหรอก ก็เธอใช้เวทย์มนต์ของอัญมณีช่วยเราไว้นี่นา"}
className="bg-chathai"
/>
</TextBubbleWrapper>
<Tap delay={0.5} redirectUrl="/story/4-07" client:load />
</ImagePageLayout>
27 changes: 13 additions & 14 deletions src/pages/story/4-15.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,25 @@ import TextBubble from "@/components/TextBubble";
import BackgroundImage from "@/assets/story/scene-4/09.webp";
import BackgroundImageLow from "@/assets/story/scene-4/09-low.webp";
import TextBubbleWrapper from "@/components/TextBubbleWrapper.astro";
---

<ImagePageLayout
backgroundColor="bg-[#303030]"
image={BackgroundImage}
imageLowRes={BackgroundImageLow}
>
<div class="absolute top-20 flex w-full justify-center">
<div class="mb-12 flex flex-col items-center">
<TextBubble
name="ชาไทย"
text={"เราก็จะเป็นกำลังใจให้เธอเสมอ"}
className="bg-chathai"
/>
<TextBubble
name="ชาไทย"
text={"ลาก่อนนะ %USERNAME%"}
className="bg-chathai"
/>
</div>
</div>
<TextBubbleWrapper>
<TextBubble
name="ชาไทย"
text={"เราก็จะเป็นกำลังใจให้เธอเสมอ"}
className="bg-chathai"
/>
<TextBubble
name="ชาไทย"
text={"ลาก่อนนะ %USERNAME%"}
className="bg-chathai"
/>
</TextBubbleWrapper>
<Tap delay={0.5} redirectUrl="/story/4-16" client:load />
</ImagePageLayout>

0 comments on commit c6f5be3

Please sign in to comment.