Added robots.txt; begin working on the modal

This commit is contained in:
swaggboi 2022-02-12 19:44:18 -05:00
parent c2e8121ac8
commit 433e3b330c
8 changed files with 37 additions and 18 deletions

View File

@ -1,12 +0,0 @@
html, body {
margin: 0px;
height: 100%;
}
#willpower {
background-image: url('/images/willpower.gif');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
}

25
public/main.css Normal file
View File

@ -0,0 +1,25 @@
html, body {
margin: 0px;
height: 100%;
}
#video {
background-image: url('/willpower.gif');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
}
.modal.background {
z-index: 10;
background-image: url('/tip.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
}
.modal.content {
}

4
public/robots.txt Normal file
View File

@ -0,0 +1,4 @@
User-agent: *
Disallow: main.css
Disallow: tip.jpg
Disallow: willpower.gif

View File

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -1 +1,5 @@
<div id="willpower"></div>
<div class="modal background"></div>
<div id="video"></div>
<audio id="soundtrack" preload="auto" loop>
<source src="/willpower.mp3" type="audio/mpeg">
</audio>

View File

@ -8,16 +8,14 @@
content="One man's journey to summon his own calm from within.">
<meta property="og:url" content="https://www.mywillpower.org">
<meta property="og:site_name" content="My Willpower">
<meta property="og:image"
content="http://www.mywillpower.org/images/tip.jpg">
<meta property="og:image" content="http://www.mywillpower.org/tip.jpg">
<meta property="og:image:alt"
content="A man standing on the summit of a mountain with his arms
outstretched above his head.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My Willpower">
<meta name="twitter:description" content="One man's journey.">
<meta name="twitter:image"
content="http://www.mywillpower.org/images/tip.jpg">
<meta name="twitter:image" content="http://www.mywillpower.org/tip.jpg">
<meta name="twitter:image:alt"
content="A man standing on the summit of a mountain with his arms
outstretched above his head.">
@ -25,7 +23,7 @@
<meta name="description"
content="One man's journey to summon his own calm from within.">
<title>My Willpower</title>
<link rel="stylesheet" type="text/css" href="/css/main.css">
<link rel="stylesheet" type="text/css" href="/main.css">
</head>
<body>
<%= yield %>