From 881f34eb31e72be76a21580d523f479e872c6214 Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Sun, 6 Feb 2022 09:49:07 +0000 Subject: [PATCH 01/47] design change: contest list title --- .../pages/oj/views/contest/ContestList.vue | 105 +++++++++++------- 1 file changed, 63 insertions(+), 42 deletions(-) diff --git a/frontend/src/pages/oj/views/contest/ContestList.vue b/frontend/src/pages/oj/views/contest/ContestList.vue index e5916d2fc..bf29500ce 100644 --- a/frontend/src/pages/oj/views/contest/ContestList.vue +++ b/frontend/src/pages/oj/views/contest/ContestList.vue @@ -1,39 +1,50 @@ @@ -44,14 +55,10 @@ import { mapState, mapGetters, mapActions } from 'vuex' import utils from '@/utils/utils' import time from '@/utils/time' import { CONTEST_STATUS_REVERSE, CONTEST_TYPE, CONTEST_STATUS } from '@/utils/constants' -import PageTitle from '@oj/components/PageTitle.vue' -import Table from '@oj/components/Table.vue' export default { name: 'ContestList', components: { - PageTitle, - Table }, async beforeRouteEnter (to, from, next) { try { @@ -185,10 +192,24 @@ export default { font-family: Manrope_bold; src: url('../../../../fonts/Manrope-Bold.ttf'); } - .contest-list-card{ - margin: 0 auto; - width: 70%; + .page-top { + background: linear-gradient(270deg, rgba(26, 62, 81, 0.90) 0%, #1A3E51 25%, #1A3E51 75%, rgba(26, 62, 81, 0.90) 100%);; + padding: 50px 200px; + text-align: center; font-family: Manrope; + .white { + font-size: 2rem; + color: white; + } + .gold { + font-size: 2rem; + color: #FEB144; + } + .description { + font-size: 1rem; + color: white; + margin-top: 1rem; + } } div{ &.pagination{ From 72430f2a42da8ab0ba8703e82fc95addd7c79db4 Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Sun, 6 Feb 2022 17:16:38 +0000 Subject: [PATCH 02/47] feat: create neon box --- frontend/src/pages/oj/components/NeonBox.vue | 79 ++++++++++++ .../pages/oj/views/contest/ContestList.vue | 121 ++++++++++++++---- 2 files changed, 177 insertions(+), 23 deletions(-) create mode 100644 frontend/src/pages/oj/components/NeonBox.vue diff --git a/frontend/src/pages/oj/components/NeonBox.vue b/frontend/src/pages/oj/components/NeonBox.vue new file mode 100644 index 000000000..904a436fc --- /dev/null +++ b/frontend/src/pages/oj/components/NeonBox.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/frontend/src/pages/oj/views/contest/ContestList.vue b/frontend/src/pages/oj/views/contest/ContestList.vue index bf29500ce..b625119fb 100644 --- a/frontend/src/pages/oj/views/contest/ContestList.vue +++ b/frontend/src/pages/oj/views/contest/ContestList.vue @@ -1,17 +1,36 @@