Added simple website; removed transfer-sh; Cleaned up code from mail.
This commit is contained in:
parent
f1ff036503
commit
7ff74bc31c
5 changed files with 124 additions and 137 deletions
14
system/server/index/default.nix
Normal file
14
system/server/index/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.caddy.virtualHosts."jsw.tf" = lib.mkIf config.niksos.server {
|
||||
extraConfig = ''
|
||||
header Content-Type text/html
|
||||
respond <<HTML
|
||||
${builtins.readFile ./index.html}
|
||||
HTML 200
|
||||
'';
|
||||
};
|
||||
}
|
||||
86
system/server/index/index.html
Normal file
86
system/server/index/index.html
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
<!-- Yes. As you might see, this site is AI generated. Don't feel like writing anything proper until I start making something proper.-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Under Construction</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f4;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 3em;
|
||||
margin-bottom: 0.5em;
|
||||
color: #ff5722;
|
||||
}
|
||||
|
||||
.fence {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 1em;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
padding: 8px 15px;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
font-size: 0.9em;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.contact {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.contact > p {
|
||||
display: inline-block;
|
||||
margin: 1em;
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
.emoji {
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="fence">🚧🚧 This Site is Under Construction 🚧🚧</h1>
|
||||
<p>Hello! I'm <b>jsw</b>, a frontend web developer with experience in <b>Svelte + TS</b>, <b>Nix(OS)</b> and currently learning <b>Rust</b>. This site is still under development, so please bear with me. In the meantime, feel free to reach out via email or explore my projects on GitHub.</p>
|
||||
<div class="contact">
|
||||
<p class="emoji">📧 <a href="mailto:info@jsw.tf">info@jsw.tf</a></p>
|
||||
<p class="emoji">🐙 <a href="https://github.com/jsw08" target="_blank">GitHub</a></p>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
© 2025 @jsw08. Source visible.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue