Skip to content

Commit

Permalink
Home page
Browse files Browse the repository at this point in the history
  • Loading branch information
wycers committed Feb 11, 2020
1 parent fa2666d commit c4cf12d
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
26 changes: 26 additions & 0 deletions src/components/Home.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<template>
<v-container class="pa-0">
<v-row align="center" justify="center" fill-height>
<v-col xs="12" sm="5" md="3" lg="3" xl="3" class="text-xs-center pa-3">
</v-col>
<v-col xs="12" sm="7" md="8" lg="8" xl="8" class="">
<p
class="google-font mb-1"
style="font-weight: 350;color: #616161;font-size:300%"
>
<b>Make good things <span style="color: #1a73e8;">together</span>.</b>
</p>
</v-col>
</v-row>
</v-container>
</template>

<script>
export default {
data() {
return {
chapterDetails: {}
};
}
};
</script>
5 changes: 4 additions & 1 deletion src/locales/zh-cmn-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@
"submit": "提交",
"required": "{field} 是必填项目"
},
"toolbar": {
"nav": {
"home": "主页",
"status": "状态",
"problem": "题目",
"group": "小组",
"contest": "比赛",
"discussion": "讨论"
}
Expand Down
3 changes: 3 additions & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
import HomeStartScreen from "@/components/Home";
export default {
metaInfo: () => ({
title: "Infinity OJ"
}),
components: {
HomeStartScreen
}
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/users/signup.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// oh I can't make it....
// TODO: Finish unit tests for signup page.

0 comments on commit c4cf12d

Please sign in to comment.