diff --git a/public/index.html b/public/index.html index 7ba78b2..9a864ce 100644 --- a/public/index.html +++ b/public/index.html @@ -11,9 +11,7 @@ - -
@@ -22,7 +20,7 @@
-

🛈 關於

+

🛈關於


歡迎使用香港本土語言文字轉語音(Text-to-Speech)朗讀器

diff --git a/src/App.tsx b/src/App.tsx index c8b9363..d3a6471 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -29,7 +29,7 @@ export default function App() { max-sm:text-xl max-sm:font-normal max-sm:relative max-sm:left-4 sm:btn-lg sm:text-[1.375rem] sm:leading-[1.875rem] sm:text-slate-500 sm:col-start-2 sm:row-start-1 sm:row-end-3" onClick={() => (document.getElementById("about-dialog") as HTMLDialogElement).showModal()}> - 🛈 關於 + 🛈關於
diff --git a/src/index.css b/src/index.css index 53173e8..b0f7773 100644 --- a/src/index.css +++ b/src/index.css @@ -9,6 +9,12 @@ font-size: 16px; } } + @font-face { + font-family: "Noto Sans Symbols 2"; + font-display: swap; + src: url("https://fonts.gstatic.com/l/font?kit=I_uyMoGduATTei9eI8daxVHDyfisHr71ypbydJR7WOGXo6nZf0eLJkc&skey=5cf84917987cc637&v=v23") format("woff2"); + descent-override: 25%; + } :root { --btn-text-case: none; @apply bg-base-200; diff --git a/tailwind.config.ts b/tailwind.config.ts index 380b7aa..aae0a59 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -31,7 +31,7 @@ export default { symbol: [ "-apple-system", "BlinkMacSystemFont", - "Noto Sans Symbols 2", + '"Noto Sans Symbols 2"', "Segoe UI Symbol", "sans-serif", ],