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# GoD: Gesture of Design
22An OS demo made by using electron.js. Mainly to understand and learn the library better.
33
4- ## Instruction :
5- - Run ` npm i ` in the directory to install the required pacakages .
4+ ## Instructions :
5+ - Run ` npm i ` in the directory to install the required packages .
66- Run ` electron . ` to test out the project.
77- Rub ` electron build -w ` to build and create an executable (For Windows).
88
Original file line number Diff line number Diff line change 2929.icon {
3030 cursor : pointer;
3131 width : 50px ;
32- }
33-
34- # giphy img {
35- width : 40px ;
36- height : auto;
37- }
38-
39- # notepad img {
40- width : 50px ;
41- height : auto;
32+ display : flex;
33+ flex-direction : column;
34+ align-items : center;
4235}
4336
4437.icon p {
45- margin-top : 0px ;
46- text-align : center;
38+ margin-top : 3px ;
4739 font-family : Roboto;
4840 font-weight : 700 ;
4941 font-size : .8em ;
5042}
5143
44+ # giphy img {
45+ width : 50px ;
46+ height : auto;
47+ }
48+
5249.taskbar {
5350 position : absolute;
5451 bottom : 0% ;
Original file line number Diff line number Diff line change 1111
1212 < header >
1313 < div id ="topic " class ="topic ">
14- < h1 > {{topic}} </ h1 >
15- < cite > {{by}} </ cite >
14+ < h1 > GoD </ h1 >
15+ < cite > by RANDOM cosmos </ cite >
1616 </ div >
1717
1818 < div id ="welcome " class ="welcome ">
19- < h1 > {{welcome}} </ h1 >
19+ < h1 > Hope You Like It </ h1 >
2020 </ div >
2121
2222 < div id ="loader " class ="loader ">
Original file line number Diff line number Diff line change 1- new Vue ( {
2- el : '#topic' ,
3- data : {
4- topic : "GoD" ,
5- by : 'By RANDOM cosmos'
6- }
7- } ) ;
8-
9- new Vue ( {
10- el : "#welcome" ,
11- data : {
12- welcome : "Hope you like it"
13- }
14- } ) ;
15-
161function showWelcome ( ) {
172 $ ( '#topic' ) . css ( 'display' , 'none' ) ;
183 $ ( '#welcome' ) . css ( 'display' , 'block' ) ;
@@ -30,5 +15,5 @@ function showDesktop() {
3015
3116setTimeout ( showWelcome , 4000 ) ;
3217setTimeout ( showLoader , 8000 ) ;
33- setTimeout ( showDesktop , 19000 ) ;
34- // setTimeout(showDesktop, 10);
18+ // setTimeout(showDesktop, 19000);
19+ setTimeout ( showDesktop , 10 ) ;
You can’t perform that action at this time.
0 commit comments