Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: image & typo #27

Merged
merged 4 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/assets/cocktail/BlueLagoon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/cocktail/Cosmopolitan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/cocktail/Gin-and-Tonic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/cocktail/Lavender-Lemonade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/cocktail/Pina-Colada.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/cocktail/Summer-Berry-Sangria.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/10cont-bg.png
Binary file not shown.
Binary file added src/assets/images/10cont-bg.webp
Binary file not shown.
Binary file removed src/assets/images/Scene1.gif
Binary file not shown.
Binary file added src/assets/images/Scene1.webp
Binary file not shown.
Binary file removed src/assets/images/Scene13.gif
Binary file not shown.
Binary file added src/assets/images/Scene13.webp
Binary file not shown.
Binary file added src/assets/images/Scene14.webp
Binary file not shown.
Binary file removed src/assets/images/Scene3.gif
Binary file not shown.
Binary file added src/assets/images/Scene3.webp
Binary file not shown.
Binary file removed src/assets/images/Scene4.gif
Binary file not shown.
Binary file added src/assets/images/Scene4.webp
Binary file not shown.
Binary file removed src/assets/images/bar.jpg
Binary file not shown.
Binary file added src/assets/images/bar.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions src/components/register-page/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BarImage from "@/assets/images/bar.jpg";
import PageImage from "@/assets/images/Scene14.gif";
import BarImage from "@/assets/images/bar.webp";
import PageImage from "@/assets/images/Scene14.webp";
import parser from "@/utils/parser";
import { useCallback, useMemo } from "react";
import { useCookies } from "react-cookie";
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/story/QLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Image } from "astro:assets";

import BaseLayout from "@/layouts/BaseLayout.astro";

import Bar from "@/assets/images/bar.jpg";
import Bar from "@/assets/images/bar.webp";
---

<BaseLayout>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/story/TextAreaScene.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ChoiceCard from "@/components/story/ChoiceCard";
import Textbox from "@/components/story/Textbox";
import Button from "@/components/story/Button";

import Bar from "@/assets/images/bar.jpg";
import Bar from "@/assets/images/bar.webp";

interface Props {
id?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/cocktail/bluelagoon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import BlueLagoon from "@/assets/elements/blue-lagoon.png";
---

<CocktailCard variant="lagoon" img={BlueLagoon.src}>
บลู ลากูน เครื่องดื่มสีสดใสที่เกิดจากการผสมกันระหว่าง
บลู ลากูน - เครื่องดื่มสีสดใสที่เกิดจากการผสมกันระหว่าง
<br />วอดก้า บลูคูราโซ่ และน้ำมะนาว เนื่องด้วยรสชาติที่ให้ความสดชื่น
และสีสันที่สวยงามจึงเป็นเครื่องดื่มที่มักเป็นที่นิยมในงานสังสรรค์
<br /><br />
Expand Down
5 changes: 3 additions & 2 deletions src/pages/cocktail/ginandtonic.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import Gin from "@/assets/elements/gin-and-tonic.png";
<CocktailCard variant="gin" img={Gin.src}>
ด้วยรสซิตรัสจาก “จิน”
สุรากลั่นจากเมล็ดข้าวซึ่งมีกลิ่นหอมสดชื่นอันเป็นเอกลักษณ์จากผลจูนิเปอร์
ผสมผสานกับ “โทนิค” เครื่องดื่มอัดแก๊สรสขมเพิ่มความซาบซ่า
ทำให้ค็อกเทลรสชาติจัดจ้านนี้กลายมาเป็นค็อกเทลยอดนิยมทั่วโลก
ผสมผสานกับ “โทนิค” เครื่องดื่มอัดแก๊สรสขมเพิ่มความซาบซ่า ทำให้ค็อกเทลรสชาติ<span
class="whitespace-nowrap">จัดจ้าน</span
>นี้กลายมาเป็นค็อกเทลยอดนิยมทั่วโลก
<br /><br />
คุณเปรียบเสมือนค็อกเทลดังกล่าว
<br />คุณเป็นมนุษย์ผู้รักความสมบูรณ์แบบ
Expand Down
2 changes: 1 addition & 1 deletion src/pages/story/q1.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BaseLayout from "@/layouts/BaseLayout.astro";
import ScoredButton from "@/components/story/ScoredButton";
import ChoiceCard from "@/components/story/ChoiceCard";

import Bar from "@/assets/images/bar.jpg";
import Bar from "@/assets/images/bar.webp";
---

<BaseLayout>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/story/scene1.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import InfiniteAnimateScene from "@/layouts/story/InfiniteAnimateScene.astro";

import Scene from "@/assets/images/Scene1.gif";
import Scene from "@/assets/images/Scene1.webp";
---

<InfiniteAnimateScene
Expand Down
2 changes: 1 addition & 1 deletion src/pages/story/scene13.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import InfiniteAnimateScene from "@/layouts/story/InfiniteAnimateScene.astro";

import Scene from "@/assets/images/Scene13.gif";
import Scene from "@/assets/images/Scene13.webp";
---

<InfiniteAnimateScene
Expand Down
2 changes: 1 addition & 1 deletion src/pages/story/scene14.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import InfiniteAnimateScene from "@/layouts/story/InfiniteAnimateScene.astro";

import Scene from "@/assets/images/Scene14.gif";
import Scene from "@/assets/images/Scene14.webp";
---

<InfiniteAnimateScene img={Scene} redirect="/cocktail/calculation" />
2 changes: 1 addition & 1 deletion src/pages/story/scene3.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import InfiniteAnimateScene from "@/layouts/story/InfiniteAnimateScene.astro";

import Scene from "@/assets/images/Scene3.gif";
import Scene from "@/assets/images/Scene3.webp";
---

<InfiniteAnimateScene img={Scene} redirect="/story/q4" />
2 changes: 1 addition & 1 deletion src/pages/story/scene4.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import InfiniteAnimateScene from "@/layouts/story/InfiniteAnimateScene.astro";

import Scene from "@/assets/images/Scene4.gif";
import Scene from "@/assets/images/Scene4.webp";
---

<InfiniteAnimateScene img={Scene} text="เป็นแผนที่ดีนะ" redirect="/story/q6" />
Loading