Skip to content

Commit

Permalink
Merge pull request #12 from Infinity-OJ/feature-layout
Browse files Browse the repository at this point in the history
Feature problem & contest page
  • Loading branch information
wycers authored Feb 12, 2020
2 parents f77a56b + 286254f commit 0685e4e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default new Vuex.Store({
links: [
{ text: "nav.home", to: "/", icon: "mdi-home" },
{ text: "nav.problem", to: "/p", icon: "mdi-puzzle" },
{ text: "nav.group", to: "/g", icon: "mdi-account-group" },
// { text: "nav.group", to: "/g", icon: "mdi-account-group" },
{ text: "nav.contest", to: "/c", icon: "mdi-feather" }
]
},
Expand Down
19 changes: 19 additions & 0 deletions src/views/contests/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<v-content class="pa-0">
<v-container fluid class="my-4">
<v-row wrap align="center" justify="center" row fill-height class="">
<v-col xs="12" md="10">
<ContestList />
</v-col>
</v-row>
</v-container>
</v-content>
</template>
<script>
import ContestList from "@/components/contests/ContestList.vue";
export default {
components: {
ContestList
}
};
</script>
19 changes: 19 additions & 0 deletions src/views/problems/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<v-content class="pa-0">
<v-container fluid class="my-4">
<v-row wrap align="center" justify="center" row fill-height class="">
<v-col xs="12" md="10">
<ProblemList />
</v-col>
</v-row>
</v-container>
</v-content>
</template>
<script>
import ProblemList from "@/components/problems/ProblemList.vue";
export default {
components: {
ProblemList
}
};
</script>

0 comments on commit 0685e4e

Please sign in to comment.