Initial commit

This commit is contained in:
2025-07-30 12:32:14 +02:00
parent ddaa0e5f05
commit be72715cfe
8 changed files with 545 additions and 0 deletions

73
views/index.eta Normal file
View File

@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.responsive {
width: 100%;
max-width: 496px;
height: auto;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.center {
text-align: center;
}
.content-margin {
margin: 20px 10%;
}
body {
font-family: Helvetica, sans-serif;
font-size: 15pt;
color: black;
}
.para-title{
font-weight: 600;
}
footer{
margin: 50px 0 25px;
}
</style>
<title><%= it.domain ? it.domain + " is not reachable by IPv4" : "This part of the Internet is not reachable by IPv4" %></title>
<meta name="keywords" content="IPv6, IPv4, End of IPv4, IPv6 only">
<meta name="description" content="The end of the IPv4 Internet">
</head>
<body>
<img src="/img/ipv6onlyhosting-ungleich-deadend.jpg"
alt="ipv6onlyhosting-ungleich-deadend"
class="responsive" width="600" height="400">
<div class="center content-margin">
<p>
You have reached the end of the IPv4 Internet.
<% if (it.back_to_url) { %>
<br>
The site <%= it.domain %> is not reachable by IPv4.
To access
<a href="<%= it.back_to_url %>" target="_blank"><%= it.domain %></a>,
you need to enable IPv6 on your computer.
<% } %>
<br>
Find out
<a href="https://ungleich.ch/en-us/cms/blog/2019/02/05/how-to-get-ipv6/">
how to enable IPv6</a>.
<br>
<% /* <a href="https://redmine.ungleich.ch/projects/open-infrastructure/wiki/How_to_disable_IPv4_on_your_website">How
to use this service</a> for your IPv6 only service. */ %>
</p>
</div>
<footer class="center">
This service is provided to you by <a href="https://git.kyun.li/gunter/deno-no-ipv4-here" target="_blank">deno-no-ipv4-here</a>.
<i>Inspired by <a href="https://ungleich.ch" target="_blank">ungleich</a>.</i>
</footer>
</body>
</html>