mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 22:41:23 +00:00
ads
This commit is contained in:
parent
9e6bfdc006
commit
da80ed13bf
@ -29,6 +29,22 @@ body.kawaii .dark-hero .uwu {
|
|||||||
display:block;
|
display:block;
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.ads .ad {
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
margin-left: calc(50% - 50vw);
|
||||||
|
margin-right: calc(50% - 50vw);
|
||||||
|
}
|
||||||
|
|
||||||
|
body.ads .ad a:hover {
|
||||||
|
opacity: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .ad {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
if(window.location.search=="?wuw=true" || window.location.search=="?suw=true") {
|
if(window.location.search=="?wuw=true" || window.location.search=="?suw=true") {
|
||||||
@ -37,8 +53,17 @@ if(window.location.search=="?wuw=true" || window.location.search=="?suw=true") {
|
|||||||
if(window.location.search=="?uwu=true") {
|
if(window.location.search=="?uwu=true") {
|
||||||
document.body.classList.add('kawaii');
|
document.body.classList.add('kawaii');
|
||||||
}
|
}
|
||||||
|
if(window.location.search=="?ads=true") {
|
||||||
|
document.body.classList.add('ads');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<div class="ad" style="margin-bottom: 30px">
|
||||||
|
<a href="https://swag.htmx.org">
|
||||||
|
<img src="/img/ads_top.png"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="dark-hero full-width" classes="add appear">
|
<div class="dark-hero full-width" classes="add appear">
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<span class="logo dark"><<span class="blue">/</span>> <span class="no-mobile">htm<span class="blue">x</span></span></span>
|
<span class="logo dark"><<span class="blue">/</span>> <span class="no-mobile">htm<span class="blue">x</span></span></span>
|
||||||
@ -55,6 +80,11 @@ if(window.location.search=="?uwu=true") {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="ad">
|
||||||
|
<a href="https://swag.htmx.org">
|
||||||
|
<img src="/img/ads_bottom.png"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div style="border: 1px solid lightgrey; margin:24px;padding:12px;border-radius: 8px; background-color: whitesmoke; filter: drop-shadow(3px 3px darkgray)">
|
<div style="border: 1px solid lightgrey; margin:24px;padding:12px;border-radius: 8px; background-color: whitesmoke; filter: drop-shadow(3px 3px darkgray)">
|
||||||
<b>NEWS:</b> htmx finished 2nd in the <a href="https://risingstars.js.org/2023/en#section-framework">2023
|
<b>NEWS:</b> htmx finished 2nd in the <a href="https://risingstars.js.org/2023/en#section-framework">2023
|
||||||
|
BIN
www/static/img/ads_bottom.png
Normal file
BIN
www/static/img/ads_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
www/static/img/ads_top.png
Normal file
BIN
www/static/img/ads_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
x
Reference in New Issue
Block a user