diff --git a/src/App.vue b/src/App.vue index 4fe10b7..bc11176 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,9 +11,11 @@ import 'vue-material/dist/vue-material.min.css' import MdTabs from "vue-material/dist/components/MdTabs"; import MdIcon from "vue-material/dist/components/MdIcon"; +import MdCard from "vue-material/dist/components/MdCard"; Vue.use(MdTabs); Vue.use(MdIcon); +Vue.use(MdCard) import TabsMenu from "@/components/TabsMenu.vue"; export default { @@ -91,13 +93,13 @@ a { } .rounded-and-colored { - border-radius: 20px; + border-radius: 10px; border: 2px solid black; background: #fd8846; } .rounded-and-colored-without-bottom { - border-radius: 20px; + border-radius: 10px; border-top: 2px solid black; border-left: 2px solid black; border-right: 2px solid black; @@ -106,7 +108,7 @@ a { } .rounded-only { - border-radius: 20px; + border-radius: 10px; border: 1px solid black; background: #e0eddd; } diff --git a/src/assets/images/rules/abuse.jpg b/src/assets/images/rules/abuse.jpg new file mode 100644 index 0000000..e2af555 Binary files /dev/null and b/src/assets/images/rules/abuse.jpg differ diff --git a/src/assets/images/rules/abuse_vip.jpg b/src/assets/images/rules/abuse_vip.jpg new file mode 100644 index 0000000..ce9795b Binary files /dev/null and b/src/assets/images/rules/abuse_vip.jpg differ diff --git a/src/assets/images/rules/ads.jpg b/src/assets/images/rules/ads.jpg new file mode 100644 index 0000000..c95af7a Binary files /dev/null and b/src/assets/images/rules/ads.jpg differ diff --git a/src/assets/images/rules/bug_use.jpg b/src/assets/images/rules/bug_use.jpg new file mode 100644 index 0000000..71cb026 Binary files /dev/null and b/src/assets/images/rules/bug_use.jpg differ diff --git a/src/assets/images/rules/cheats.jpg b/src/assets/images/rules/cheats.jpg new file mode 100644 index 0000000..c96c9cf Binary files /dev/null and b/src/assets/images/rules/cheats.jpg differ diff --git a/src/assets/images/rules/make_everyone.jpg b/src/assets/images/rules/make_everyone.jpg new file mode 100644 index 0000000..a51c4be Binary files /dev/null and b/src/assets/images/rules/make_everyone.jpg differ diff --git a/src/components/PublicMethods.js b/src/components/PublicMethods.js index 638a44b..bbf9cb2 100644 --- a/src/components/PublicMethods.js +++ b/src/components/PublicMethods.js @@ -46,5 +46,15 @@ export default { .catch(err => { console.log(`[PublicMethods] cannot request api/stats/statistic, err: ${err}`); }) + }, + getRules(){ + return [ + [{"name":"Читы", "about":"Бан навсегда сука", "image": require('@/assets/images/rules/cheats.jpg')}, + {"name":"Реклама серверов", "about":"Кроме мге, бан навсегда сука", "image": require('@/assets/images/rules/ads.jpg')}, + {"name":"Багоюз", "about":"Пиздец тебе, бан навсегда", "image": require('@/assets/images/rules/bug_use.jpg')}], + [{"name":"Абуз команды !mir", "about":"Блокировка дверей, открытие спавна и т.д", "image":require('@/assets/images/rules/abuse.jpg')}, + {"name":"Абуз випки на сервере", "about":"Модеры сам решат как и за что", "image":require('@/assets/images/rules/abuse_vip.jpg')}, + {"name":"Делай короче чё хочешь", "about":":troll_face:", "image":require('@/assets/images/rules/make_everyone.jpg')}] + ]; } } \ No newline at end of file diff --git a/src/components/TabsMenu.vue b/src/components/TabsMenu.vue index 618eb36..f35a00f 100644 --- a/src/components/TabsMenu.vue +++ b/src/components/TabsMenu.vue @@ -14,7 +14,7 @@ \ No newline at end of file diff --git a/src/components/TabsMenuElements/RulesView/Components/RuleCard.vue b/src/components/TabsMenuElements/RulesView/Components/RuleCard.vue new file mode 100644 index 0000000..e0438cb --- /dev/null +++ b/src/components/TabsMenuElements/RulesView/Components/RuleCard.vue @@ -0,0 +1,55 @@ + + + + + \ No newline at end of file diff --git a/src/components/TabsMenuElements/RulesView/RulesView.vue b/src/components/TabsMenuElements/RulesView/RulesView.vue new file mode 100644 index 0000000..5a4946c --- /dev/null +++ b/src/components/TabsMenuElements/RulesView/RulesView.vue @@ -0,0 +1,51 @@ + + + \ No newline at end of file