diff --git a/components/AppLayout/AppLayout.js b/components/AppLayout/AppLayout.js index 52c2aa6b..3a6243df 100644 --- a/components/AppLayout/AppLayout.js +++ b/components/AppLayout/AppLayout.js @@ -26,11 +26,22 @@ const USER_QUERY = gql` ${AppHeader.fragments.AppHeaderUserData} `; -const useStyles = makeStyles({ +const useStyles = makeStyles(theme => ({ container: { flex: 1, }, -}); + mgp: { + color: '#fff', + background: theme.palette.secondary[500], + display: 'flex', + gap: 8, + padding: 8, + justifyContent: 'center', + '& > a': { + color: theme.palette.primary[500], + }, + }, +})); const apiLogout = () => { return fetchAPI('/logout').then(resp => resp.json()); @@ -86,6 +97,13 @@ function AppLayout({ children, container = true }) { return ( +
+ 🏆 謠言惑眾獎 🏆 投票到 4/12 唷! + + 活動詳情 + + 用 LINE 投票去 +
({ root: { display: 'flex', @@ -562,11 +565,11 @@ function ArticlePage() { )} - + {t`Add @@ -620,11 +623,11 @@ function ArticlePage() { - + {t`Add diff --git a/public/mgp.jpg b/public/mgp.jpg new file mode 100644 index 00000000..b7085992 Binary files /dev/null and b/public/mgp.jpg differ