From d49b40f936f7f9eb2f4f8763748139b42eff375e Mon Sep 17 00:00:00 2001 From: brdgb Date: Mon, 27 Nov 2023 22:42:34 +0900 Subject: [PATCH] fix top page design --- learn/public/logo_kanji.svg | 28 +++++++++ learn/public/logo_keyboard.svg | 27 ++++++++ learn/public/logo_read.svg | 10 +++ learn/public/logo_touch.svg | 30 +++++++++ learn/src/pages/index.tsx | 110 +++++++++++++++++++-------------- 5 files changed, 158 insertions(+), 47 deletions(-) create mode 100644 learn/public/logo_kanji.svg create mode 100644 learn/public/logo_keyboard.svg create mode 100644 learn/public/logo_read.svg create mode 100644 learn/public/logo_touch.svg diff --git a/learn/public/logo_kanji.svg b/learn/public/logo_kanji.svg new file mode 100644 index 00000000..0da38aff --- /dev/null +++ b/learn/public/logo_kanji.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/learn/public/logo_keyboard.svg b/learn/public/logo_keyboard.svg new file mode 100644 index 00000000..8872412d --- /dev/null +++ b/learn/public/logo_keyboard.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/learn/public/logo_read.svg b/learn/public/logo_read.svg new file mode 100644 index 00000000..240e092f --- /dev/null +++ b/learn/public/logo_read.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/learn/public/logo_touch.svg b/learn/public/logo_touch.svg new file mode 100644 index 00000000..5b880a08 --- /dev/null +++ b/learn/public/logo_touch.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/learn/src/pages/index.tsx b/learn/src/pages/index.tsx index 6601153c..0820f57b 100644 --- a/learn/src/pages/index.tsx +++ b/learn/src/pages/index.tsx @@ -9,6 +9,7 @@ import { Box, Typography, Grid, + Container, } from "@mui/material"; function NavigationCard({ @@ -24,17 +25,30 @@ function NavigationCard({ }): JSX.Element { const router = useRouter(); return ( - + { await router.push(linkUrl); }} + sx={{ height: "100%" }} > - - - - {title} - + + + + {title} + + + {description} @@ -47,48 +61,50 @@ function NavigationCard({ export default function Home(): JSX.Element { return ( - - - ようこそ - - - ここでは、チュートリアル形式で点字について学ぶことができます。 - - - - - - - - - - - - - - + + + + ようこそ + + + ここでは、チュートリアル形式で点字について学ぶことができます。 + + + + + + + + + + + + + + + - + ); }