Compare commits

..

4 Commits

Author SHA1 Message Date
7516a9dc4a Add AbuseIPDB badge 2026-01-16 23:15:53 +01:00
05b17aec54 Update Tabi 2026-01-16 23:15:47 +01:00
1577063ff2 Add AbuseIPDB verification token 2026-01-16 22:20:19 +01:00
8c60a43ff2 Replace curl healthcheck with wget 2026-01-02 16:38:51 +01:00
5 changed files with 61 additions and 27 deletions

View File

@@ -6,11 +6,10 @@ RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2.40.1-alpine FROM ghcr.io/static-web-server/static-web-server:2.40.1-alpine
ENV SERVER_HEALTH=true ENV SERVER_HEALTH=true
WORKDIR / WORKDIR /
RUN apk --no-cache add curl
COPY --from=zola /project/public /public COPY --from=zola /project/public /public
HEALTHCHECK \ HEALTHCHECK \
--interval=10s \ --interval=10s \
--timeout=5s \ --timeout=5s \
--start-period=3s \ --start-period=3s \
--retries=3 \ --retries=3 \
CMD ["curl", "-s", "http://localhost/health"] CMD ["wget", "http://localhost/health", "-O", "/dev/null", "-q"]

View File

@@ -0,0 +1 @@
abuseipdb-verification-inSaoelZ

View File

@@ -12,20 +12,40 @@ footer {
text-align: justify; text-align: justify;
} }
#notbyai { #badges {
width: 100%; width: 100%;
max-width: 150px; max-width: var(--max-layout-width);
display: flex;
justify-content: center;
align-items: baseline;
flex-wrap: wrap;
gap: 1.25rem;
margin: 0 auto 1.75rem auto; margin: 0 auto 1.75rem auto;
}
#badges a {
max-width: 150px;
transition-duration: 300ms; transition-duration: 300ms;
} }
#notbyai:hover, #badges a:hover,
#notbyai:hover::before { #badges a:hover::before {
background-color: transparent; background-color: transparent;
color: transparent; color: transparent;
transform: scale(1.1); transform: scale(1.1);
} }
#notbyai:active { #badges a:active {
transform: scale(0.95); transform: scale(0.95);
} }
#abuseipdb-badge {
width: 150px;
background: #35c246 linear-gradient(
rgba(255,255,255,0),
rgba(255,255,255,.3) 50%,
rgba(0,0,0,.2) 51%, rgba(0,0,0,0)
);
padding: 5px;
box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, .2);
}

View File

@@ -1,19 +1,33 @@
<a <div id="badges">
id="notbyai" <a
href="https://notbyai.fyi" href="https://notbyai.fyi"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> title="Written by human, not by AI."
<img >
class="img-light" <img
loading="lazy" class="img-light"
src="/images/notbyai.png" loading="lazy"
alt="Written by human, not by AI." src="/images/notbyai.png"
/> alt="Written by human, not by AI."
<img />
class="img-dark" <img
loading="lazy" class="img-dark"
src="/images/notbyai-dark.png" loading="lazy"
alt="Written by human, not by AI." src="/images/notbyai-dark.png"
/> alt="Written by human, not by AI."
</a> />
</a>
<a
href="https://www.abuseipdb.com/user/264039"
target="_blank"
rel="noopener noreferrer"
title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks."
>
<img
id="abuseipdb-badge"
src="https://www.abuseipdb.com/contributor/264039.svg"
alt="AbuseIPDB Contributor Badge"
/>
</a>
</div>