diff --git a/src/App.vue b/src/App.vue index 889d982..4aa0c6d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -77,40 +77,29 @@ height: 100%; align-items: center; } -.description__img{ - width: 330px; - height: 307px; - border: #FFFFFF; - background: #b12929; -} -.description__text h1{ - - width: 670px; - height: 234px; +.btn_rl{ + margin: 20px; + margin-top:40px; + width: 250px; + height: 50px; + + background: #D9D9D9; + border-radius: 15px; + font-family: 'Inter'; font-style: normal; font-weight: 500; - font-size: 20px; - line-height: 24px; + font-size: 16px; + line-height: 29px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + letter-spacing: 0.16em; text-transform: uppercase; - color: #FFFFFF; -} -.description__btn{ - width: 330px; - height: 55.66px; - - background: #D9D9D9; - border-radius: 15px; -} - -.description__lr{ - height: 400px; - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: flex-start; + color: rgb(52, 51, 51); } diff --git a/src/components/Gamewin-comp.vue b/src/components/Gamewin-comp.vue new file mode 100644 index 0000000..740f44d --- /dev/null +++ b/src/components/Gamewin-comp.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/src/components/Home-comp.vue b/src/components/Home-comp.vue index 4e6909d..5112c0b 100644 --- a/src/components/Home-comp.vue +++ b/src/components/Home-comp.vue @@ -4,17 +4,17 @@
game
-
Мобильная версия
+ Мобильная версия

Hues and Cues — это яркая игра, в которой перед игроками стоит задача объяснить цвета словами. - Используя только подсказки из одного и двух слов, игроки пытаются заставить других угадать определенный оттенок из ХХХ цветов на игровом поле. Чем ближе догадки к цели, тем больше очков заработает и загадывающий, и угадывающий. Поскольку все воображают цвета по-разному, соединять цвета и подсказки никогда не было так весело! -

+ +

Используя только подсказки из одного и двух слов, игроки пытаются заставить других угадать определенный оттенок из ХХХ цветов на игровом поле. Чем ближе догадки к цели, тем больше очков заработает и загадывающий, и угадывающий. Поскольку все воображают цвета по-разному, соединять цвета и подсказки никогда не было так весело!

-
Играть
+ Играть
@@ -29,7 +29,27 @@ export default { } - diff --git a/src/components/Myprofile-comp.vue b/src/components/Myprofile-comp.vue index 46c8f54..3ce55a1 100644 --- a/src/components/Myprofile-comp.vue +++ b/src/components/Myprofile-comp.vue @@ -22,8 +22,8 @@
-
Create
-
Create
+ назад + Create
@@ -35,7 +35,7 @@ export default{ } - \ No newline at end of file diff --git a/src/main.js b/src/main.js index 13af2d0..758d6f3 100644 --- a/src/main.js +++ b/src/main.js @@ -6,6 +6,7 @@ import App from './App.vue' import Home from './components/Home-comp' import My from './components/Myprofile-comp' +import Game from './components/Gamewin-comp' const router = createRouter( { history: createWebHistory(), @@ -19,6 +20,11 @@ const router = createRouter( { name:'my', component: My }, + { + path:'/game', + name:'game', + component: Game + }, ] }); createApp(App) diff --git a/src/router/index.js b/src/router/index.js index d278579..e69de29 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,30 +0,0 @@ -/*import Vue from 'vue' -import VueRouter from 'vue-router' - -Vue.use(VueRouter); - -import Myprofile from '../components/Myprofile-comp' - -const Foo = { template: '
foo
' } - -/*let router = new VueRouter({ - routes:[ - { - path:'/', - name:'home', - component: Myprofile - } - ] - }) - - export default router; - - const routes = [ - { path: '/foo', component: Foo } - ] - const router = new VueRouter({ - routes // сокращённая запись для `routes: routes` - }) - const app = new Vue({ - router - }).$mount('#app')*/ \ No newline at end of file