Skip to content

Commit

Permalink
fix: remove video for ocean theme, and add video screenshot instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravjeetsingh committed Dec 8, 2023
1 parent b0d8527 commit f9f5c25
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .htmlhintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"attr-no-duplication": true,
"attr-no-duplication": true,
"doctype-first": true,
"tag-pair": true,
"spec-char-escape": true,
"id-unique": true,
"src-not-empty": true,
"attr-no-duplication": true,
"title-require": true,

"alt-require": true,
Expand Down
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<head>
<title>SikhiToTheMax</title>
<meta name="robots" content="noindex">
<link rel="preload" href="videos/ocean-view.mp4" as="video">
</head>

<body>
Expand Down
3 changes: 3 additions & 0 deletions src/scss/_ocean.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.theme-ocean {
background-image: url('images/ocean-theme.png');
}
Binary file added src/scss/images/ocean-theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ $viewer-padding: 30px;
"high-contrast",
"low-light",
"nirbaan",
"dhan-guru-nanak";
"dhan-guru-nanak",
"ocean";

/* Custom Styles */
html {
Expand Down
7 changes: 0 additions & 7 deletions src/scss/viewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ $gurbani: 'gurbaniakhar';
z-index: 10;
}

.video_preview {
left: 0px;
position: absolute;
top: 0px;
width: 100%;
}

.shabad-deck {
height: 100vh;
padding: 15px 0;
Expand Down
Binary file removed src/videos/ocean-view.mp4
Binary file not shown.
7 changes: 0 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ module.exports = {
filename: './images/[name][ext]',
},
},
{
test: /\.mp4$/,
type: 'asset/resource',
generator: {
filename: './assets/videos/[name][ext]',
},
},
],
},
output: {
Expand Down

0 comments on commit f9f5c25

Please sign in to comment.