diff --git a/.firebase/hosting.YnVpbGQ.cache b/.firebase/hosting.YnVpbGQ.cache index f1670a5..6cfaf2d 100644 --- a/.firebase/hosting.YnVpbGQ.cache +++ b/.firebase/hosting.YnVpbGQ.cache @@ -1,15 +1,15 @@ -robots.txt,1725347098103,391d14b3c2f8c9143a27a28c7399585142228d4d1bdbe2c87ac946de411fa9a2 -logo512.png,1725347098103,191fc21360b4ccfb1cda11a1efb97f489ed22672ca83f4064316802bbfdd750e -index.html,1725347101733,691120896e66574ebef21e2df77282e4f462f933f936fd52a4d05791e25f1c13 -logo192.png,1725347098102,caff018b7f1e8fd481eb1c50d75b0ef236bcd5078b1d15c8bb348453fee30293 -favicon.ico,1725347098102,b72f7455f00e4e58792d2bca892abb068e2213838c0316d6b7a0d6d16acd1955 -asset-manifest.json,1725347101733,491aa9da8efa3551723e84f7c80d97248c64c2c6d32315d89dc3522911799fbb -static/js/main.3dd63bcb.js.LICENSE.txt,1725347101735,2e0317bf47c29fb7d0485a53b66ae8cb58c98d0cbaf239efac64dd310dfdabda -static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg,1725347101734,5f6ecf30024a00eebae8bb333ddc0f1c3d19fd8e7e6838404547f41abb63a8e8 -manifest.json,1725347098103,341d52628782f8ac9290bbfc43298afccb47b7cbfcee146ae30cf0f46bc30900 -static/js/453.ed3810f9.chunk.js,1725347101735,8680b34d8deb72fd4e63aa475b17f7c79f69163f2910adecf9e96cdd89f5148f -static/css/main.f855e6bc.css.map,1725347101735,22280b0c507a9b42de44c6d2601519ed3675fa26db7b6de124a4a8999d95d5be -static/css/main.f855e6bc.css,1725347101735,b61eb3bbf7dd6148bab9cf577b732df73faa394d9b8bacb8422e10fa90ffa46e -static/js/453.ed3810f9.chunk.js.map,1725347101735,ac5e98edb5bc7e7fee4a8934dc5446ff25749c201891e5ced082a5f2c067ba6b -static/js/main.3dd63bcb.js,1725347101735,64d0bce07edcb9d7a3d178f591663f770ca8fc70ce5b9669e0a1aa57791957fe -static/js/main.3dd63bcb.js.map,1725347101735,ce2b3eaeed909db6fbc1de31676eaea433fab705309bc25d56f30f6cba323e2c +robots.txt,1725691795409,b2090cf9761ef60aa06e4fab97679bd43dfa5e5df073701ead5879d7c68f1ec5 +manifest.json,1725691795408,4368aeaf848ae2e048765562c289452f33ad2a175c4b1951ea8bdf2ada0d5b10 +index.html,1725749057871,effc881b82c9d3c89ee011b5ffb8dafb953803f2ac2de53235fe47d2f9983b74 +logo512.png,1725691795407,212b102aa09e51b3b3e06647e81f7801a61333e171f6582e8124379aabccb41d +logo192.png,1725691795406,79e2b749561016bc8af300ea19f48347ceed3cb1a54f48ae456172eca45e08f0 +asset-manifest.json,1725749057871,a8269c53ccbff485f0c05c52cc060c9db9fb8241b26989acfeee1e5138bdfa55 +favicon.ico,1725691795404,27edce7be5922cf0bef7d4136f69b5bfbdd5bf8c13c7b026f71187d41a00aa7d +static/js/main.db631921.js.LICENSE.txt,1725749057877,92ec6870e0d50ef16c11a5af58e8bae63fc674a797281dae6198d723b4582cff +static/js/453.ed3810f9.chunk.js.map,1725749057877,b580f924df88443006fe2c2050df639443c362a4697c20b3a6bd730b8bbd83b0 +static/js/453.ed3810f9.chunk.js,1725749057877,ad49a5ec5043145417a4fe58d70d740daa4764cb309e9bb4bcc93dfbdf2b5643 +static/css/main.79d19d76.css,1725749057877,8532eb1bc08eefe39074a437fdd2823b7e14851191c7cd07f96140abf432a5b4 +static/css/main.79d19d76.css.map,1725749057877,863af17a469ff836e46a378ba7cf2a08b3d4a827991c0be88c37d888414ad7c9 +static/media/poster.0fad7cc42115f255a281.png,1725749057877,f3025012e905a2fd748b83ff036dc7fd5dbc6b6aa6493435a0c7a60db866b5bf +static/js/main.db631921.js,1725749057878,8665bc87d6ae3290e1fcd49e18c2c356b1bafd522c781980eb1048fd9ed4f032 +static/js/main.db631921.js.map,1725749057878,906088b6f783d5ea680d84a43f521330163825d2a8fa738b7546888a52ab1dfd diff --git a/src/App.css b/src/App.css index dc946a5..405982b 100644 --- a/src/App.css +++ b/src/App.css @@ -1,28 +1,98 @@ -body,html{ - height: 100%; - margin: 0; - padding: 0; +/* Font-Family */ +body { + font-family: "PingFang", "Roboto", sans-serif; /* 中文使用PingFang,英文字母與數字使用Roboto */ } -.App { - text-align: center; - background-color: #ffffff; +/* Typography */ + +/* H1 Regular */ +.font-H1-regular { + font-size: 36px; + line-height: 48px; + font-weight: 400; /* regular */ +} + +/* H1 Semibold */ +.font-H1-semibold { + font-size: 36px; + line-height: 48px; + font-weight: 600; /* semibold */ } -.backgorund{ - justify-content: center; - align-items: center; - background-color: #ffffff; + +/* H2 Regular */ +.font-H2-regular { + font-size: 24px; + line-height: 32px; + font-weight: 400; /* regular */ } +/* H2 Semibold */ +.font-H2-semibold { + font-size: 24px; + line-height: 32px; + font-weight: 600; /* semibold */ +} + +/* H3 Regular */ +.font-H3-regular { + font-size: 16px; + line-height: 22px; + font-weight: 400; /* regular */ +} + +/* H3 Semibold */ +.font-H3-semibold { + font-size: 16px; + line-height: 22px; + font-weight: 600; /* semibold */ +} + +/* Body Regular */ +.font-Body-regular { + font-size: 14px; + line-height: 20px; + font-weight: 400; /* regular */ +} + +/* Body Semibold */ +.font-Body-semibold { + font-size: 14px; + line-height: 20px; + font-weight: 600; /* semibold */ +} +/* Caption Regular */ +.font-Caption-regular { + font-size: 12px; + line-height: 18px; + font-weight: 400; /* regular */ +} + +/* Colors */ + +/* Reminder */ +.reminder-hover-color { + background-color: #F4B992; /* Orange / 300 */ +} + +.reminder-default-color { + background-color: #FDB53A; /* Orange / 500 */ +} + +/* Disable */ +.disable-color { + background-color: #CAD1D5; /* Gray / 100 */ +} + +/* Text colors */ +.text-direction-color { + color: #91A0A8; /* Gray / 400 */ +} + +.text-second-color { + color: #475259; /* Grey / 700 */ +} -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; +.text-primary-color { + color: #30383D; /* Grey / 800 */ } diff --git a/src/App.js b/src/App.js index 6eb12f5..f7a82db 100644 --- a/src/App.js +++ b/src/App.js @@ -38,7 +38,7 @@ function App() { {/* 我的地點頁面 */} {/* } /> */} diff --git a/src/components/ArtDetail.js b/src/components/ArtDetail.js index f01dd3c..20eb136 100644 --- a/src/components/ArtDetail.js +++ b/src/components/ArtDetail.js @@ -34,7 +34,7 @@ const DetailComponent = () => { useEffect(() => { // Find the art piece in local JSON data - const piece = artDataJson.find(p => p.作品編號 === artId); + const piece = artDataJson.find(p => p.系統編號 === artId); setArtPiece(piece); if (piece) { @@ -56,7 +56,7 @@ const DetailComponent = () => {
-

{artPiece.作品名稱}

+

{artPiece.作品名稱}

作者: {artPiece.作者}

設置地點: {artPiece.設置地點}

場域: {artPiece.場域}

@@ -71,11 +71,11 @@ const DetailComponent = () => { {/* Button Section */}
- 回到列表 + 回列表 - - diff --git a/src/components/Gallery.js b/src/components/Gallery.js index 14a572a..dc37bd2 100644 --- a/src/components/Gallery.js +++ b/src/components/Gallery.js @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'; // Data import artDataJson from '../data/artData.json'; -import './css/artlist.css'; +//import './css/artlist.css'; @@ -56,13 +56,13 @@ const GalleryPage = () => {