Skip to content

Commit 70d3ef0

Browse files
committed
Removed Unnecessary Vue
1 parent c4da9c2 commit 70d3ef0

6 files changed

Lines changed: 16 additions & 34 deletions

File tree

assets/icon/Giphy.png

719 Bytes
Loading

assets/icon/notepad.png

-14.2 KB
Loading

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# GoD: Gesture of Design
22
An 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

src/css/desktop.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,23 @@
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%;

src/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
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">

src/js/intro.js

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
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-
161
function showWelcome() {
172
$('#topic').css('display', 'none');
183
$('#welcome').css('display', 'block');
@@ -30,5 +15,5 @@ function showDesktop() {
3015

3116
setTimeout(showWelcome, 4000);
3217
setTimeout(showLoader, 8000);
33-
setTimeout(showDesktop, 19000);
34-
// setTimeout(showDesktop, 10);
18+
// setTimeout(showDesktop, 19000);
19+
setTimeout(showDesktop, 10);

0 commit comments

Comments
 (0)