This repository was archived by the owner on May 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div class =" sidebar-wrapper" >
3+ <nuxt-link to =" /" >
4+ <div class =" item" >
5+ Home
6+ </div >
7+ </nuxt-link >
38 <nuxt-link to =" /explore" >
49 <div class =" item" >
510 Explore
Original file line number Diff line number Diff line change 11<template >
2- <div class =" page-wrapper" >
3- <h1 >Home</h1 >
2+ <div >
3+ <div class =" page-wrapper" >
4+ <h1 >Home</h1 >
5+ <form class =" searchbar" >
6+ <div class =" searchbar-input" >
7+ <!-- Input -->
8+ <input v-model =" url" type =" search" placeholder =" Paste the Game URL" />
9+ <!-- Search button -->
10+ <a :href =" `${url}/`" class =" searchbar-clear" ></a >
11+ </div >
12+ </form >
13+ </div >
414 </div >
515</template >
616
17+ <script >
18+ export default {
19+ name: " Index" ,
20+ components: {},
21+ // Currently I want to use this url attribute in the src of iframe but the im not sure how to pass the data to it.
22+ data (){
23+ return {
24+ url: " "
25+ }
26+ }
27+ }
28+ </script >
29+
730<style scoped>
831.page-wrapper {
932 padding : 1rem ;
1033}
1134
12- button , input {
13- border : 1px solid grey ;
35+ .searchbar-clear {
36+ width : 200px ;
37+ padding : 20px ;
38+ border : 0px solid #00B4CC ;
39+ background : #00B4CC ;
40+ color : white ;
41+ border-radius : 0 10px 10px 0 ;
42+ cursor : pointer ;
43+ font-size : 20px ;
44+ background-image : linear-gradient (#2193b0 ,#00B4CC );
45+ box-shadow : 5px 5px 5px #888888 ;
46+ }
47+
48+ .searchbar-clear :hover {
49+ opacity : 0.9 ;
50+ background-image : linear-gradient (#2193b0 ,#00B4CC );
1451}
1552
53+ input {
54+ width : calc (50% - 50px );
55+ border : 0px ;
56+ padding : 20px ;
57+ font-size : 1.3em ;
58+ background-color : #323333 ;
59+ color : #687f7f ;
60+ border-radius : 10px 0px 0px 10px ;
61+ box-shadow : 5px 5px 5px #888888 ;
62+ }
63+
64+ input :hover {
65+ opacity : 0.95 ;
66+ }
1667 </style >
You can’t perform that action at this time.
0 commit comments