Skip to content

Commit 3b70513

Browse files
committed
Add in the demo video and change some stuff
1 parent e235787 commit 3b70513

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

src/pages/index-styles.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
transform: translate(-50%, -50%);
117117
position: fixed;
118118
top: calc(50% + 65px);
119-
left: calc(50% - calc(calc(400px + 10px) / 2));
119+
left: calc(50% - calc(calc(300px + 10px) / 2));
120120
background-color: #ffffff;
121121
border-radius: 5px;
122122
box-shadow: 0 0px 30px black;
@@ -133,16 +133,17 @@
133133
.homeVideoBox {
134134
position: absolute;
135135
right: -10px;
136-
top: 0px;
137-
transform: translate(100%,0%);
138-
pointer-events: none;
136+
top: 50%;
137+
transform: translate(100%,-50%);
139138

140139
border-radius: 5px;
141140
padding: 3px 3px;
142141
box-sizing: border-box;
143142

144-
width: 400px;
145-
height: 300px;
143+
width: calc(100svw - 790px);
144+
min-width: 100px;
145+
max-width: 300px;
146+
height: fit-content;
146147
}
147148

148149
.homeVideoBox > video {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
filename: "[name].bundle.js",
6666
},
6767
watchOptions: {
68-
ignored: [path.resolve(__dirname, "wpstatic/version.json")], //Ignore version file.
68+
ignored: ["**/wpstatic/version.json", "**/node_modules"], //Ignore version file.
6969
},
7070
performance: {
7171
hints: "warning",

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1775863802078"}
1+
{"timestamp":"1775924747920"}

wpstatic/videos/home-video.webm

663 KB
Binary file not shown.

0 commit comments

Comments
 (0)