From 50e66ba905f14769f06cdb500f79b95c7de4316d Mon Sep 17 00:00:00 2001 From: Damillora Date: Thu, 30 Jan 2020 13:11:24 +0700 Subject: [PATCH] Update to layouts --- assets/css/tailwind.css | 2 ++ components/Footer.vue | 46 ++++++++++++++++++++++++++-------------- components/FooterNav.vue | 39 ++++++++++++++++++++++++++++++++++ pages/games.vue | 19 +++++++++++++++++ pages/sns.vue | 2 -- 5 files changed, 90 insertions(+), 18 deletions(-) create mode 100644 components/FooterNav.vue diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 385e048..0a49a38 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -1,5 +1,7 @@ @import url('https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap'); +@import url('https://fonts.googleapis.com/icon?family=Material+Icons'); + @import 'tailwindcss/base'; @import 'tailwindcss/components'; diff --git a/components/Footer.vue b/components/Footer.vue index 73d81ca..577cba0 100644 --- a/components/Footer.vue +++ b/components/Footer.vue @@ -1,26 +1,38 @@ @@ -28,7 +40,9 @@ export default { footer { @apply h-16 w-full flex flex-row justify-start items-center; } -.footer-nav { - @apply w-1/4 flex flex-row justify-center items-end; +@screen md { + .footer-nav p { + @apply text-base; + } } diff --git a/components/FooterNav.vue b/components/FooterNav.vue new file mode 100644 index 0000000..2c429b1 --- /dev/null +++ b/components/FooterNav.vue @@ -0,0 +1,39 @@ + + + diff --git a/pages/games.vue b/pages/games.vue index f01640d..0d701ea 100644 --- a/pages/games.vue +++ b/pages/games.vue @@ -8,59 +8,78 @@