diff --git a/public/noise.svg b/public/noise.svg new file mode 100644 index 0000000..9e04f91 --- /dev/null +++ b/public/noise.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/app/(game)/puzzle/Coupon.tsx b/src/app/(game)/puzzle/Coupon.tsx index 8c0ef7d..005d1c2 100644 --- a/src/app/(game)/puzzle/Coupon.tsx +++ b/src/app/(game)/puzzle/Coupon.tsx @@ -43,7 +43,7 @@ export function Coupon({ {taken && } -
+
每人僅限兌換乙次抽獎券,至服務台兌換後即不得再繼續累積拼圖和更多抽獎券。 diff --git a/src/components/Dialog.tsx b/src/components/Dialog.tsx index a4b2028..964e7d5 100644 --- a/src/components/Dialog.tsx +++ b/src/components/Dialog.tsx @@ -13,7 +13,7 @@ export default function Dialog({ return ( - +
{children}
diff --git a/tailwind.config.ts b/tailwind.config.ts index 128ce19..997f9a8 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,9 +1,7 @@ import type { Config } from "tailwindcss"; const config: Config = { - content: [ - "./src/**/*.{js,ts,jsx,tsx,mdx}", - ], + content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"], theme: { extend: { colors: { @@ -23,6 +21,9 @@ const config: Config = { sans: ["Lato", "Noto Sans TC", "sans-serif"], rubik: ["Rubik", "Noto Sans TC", "sans-serif"], }, + backgroundImage: { + noise: `url(/noise.svg)`, + }, }, }, plugins: [],