Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #9 from RaenonX-DL/dev
Browse files Browse the repository at this point in the history
v1.0.1 Release
  • Loading branch information
RaenonX authored Oct 27, 2020
2 parents 5ec0856 + f99695c commit 3733c6a
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
<script>const Alert = ReactBootstrap.Alert;</script>

<!-- Note: bootstrap css is already imported/included via `src/bootstrap.css -->

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-796E69CFJG"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}

gtag('js', new Date());

gtag('config', 'G-796E69CFJG');
</script>
</head>
<body>
<noscript>請啟用 JavaScript 以瀏覽本網站。</noscript>
Expand Down
2 changes: 2 additions & 0 deletions src/components/pages/questPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export const QuestPage = ({fnSetTitle}: PageProps) => {
}
</Alert>);

// FIXME: Amplify section title

return (
<>
{
Expand Down
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ img {
max-height: 100%;
}

p, ul {
margin: 0.5rem;
}

/* endregion */


Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import './bootstrap.css';
import './i18n';

// Initialize Google Analytics
ReactGA.initialize('G-75EMZWS1L3');
ReactGA.initialize('G-796E69CFJG'); // FIXME: Currently ReactGA seems not working

ReactDOM.render(
<BrowserRouter>
Expand Down
3 changes: 3 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import {Footer, Navigation} from './components/elements';
import Path from './constants/path';


// TODO: Add delete post function


const PageMain = () => {
const {t} = useTranslation();

Expand Down

0 comments on commit 3733c6a

Please sign in to comment.