diff --git a/CascadingStyleSheets/Projects/projects.css b/CascadingStyleSheets/Projects/projects.css new file mode 100644 index 0000000..e69de29 diff --git a/JavaScript/General/route.js b/JavaScript/General/route.js index 7fafcd3..405c3bb 100644 --- a/JavaScript/General/route.js +++ b/JavaScript/General/route.js @@ -36,7 +36,7 @@ const myFunction = { } window.webpages.currentPages = SeeChen_CurrentPage; - await window.webpages.currentPages.init(); + // await window.webpages.currentPages.init(); } }, @@ -221,6 +221,11 @@ const routes = { window.myData.travel.isProvice = false; await routesFunction.travel(); }, + "/旅行": async () => { + window.myData.travel.isCountry = false; + window.myData.travel.isProvice = false; + await routesFunction.travel(); + }, "/travel/:countryId": async ( params ) => { diff --git a/spa.html b/spa.html index e78690e..6342cf5 100644 --- a/spa.html +++ b/spa.html @@ -12,6 +12,14 @@ <!DOCTYPE html> <html> <head> + <!-- Google tag (gtag.js) --> + <script async src="https://www.googletagmanager.com/gtag/js?id=G-C522VVXBTT"></script> + <script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + gtag('config', 'G-C522VVXBTT'); + </script> <title>SEECHEN's Website</title> @@ -56,15 +64,6 @@ <script src = "/JavaScript/Travel/travel.js" type = "module"></script> <script src = "/JavaScript/Lens/lens.js" type = "module"></script> - - <!-- Google tag (gtag.js) --> - <script async src="https://www.googletagmanager.com/gtag/js?id=G-C522VVXBTT"></script> - <script> - window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); - gtag('config', 'G-C522VVXBTT'); - </script> </head> <body> @@ -90,7 +89,11 @@ </div> <!-- Content Area --> - <div id="box_contentArea"></div> + <div id="box_contentArea"> + <div id="box_projectsPage"> + + </div> + </div> <!-- Footer Area --> <div id="box_footerArea" class="notInDisplay"></div>