Compare commits

..

6 commits

Author SHA1 Message Date
b12f cd6433e74a
Update contents and email address 2024-10-03 19:05:17 +02:00
b12f 63800cc25f
flake: add overlay and package 2024-09-12 19:37:37 +02:00
Benjamin Bädorf 9ac91e7643
Update background, add mail icon 2023-06-01 11:23:22 +02:00
teutat3s 87e072c427
Update contact mail 2023-04-10 13:49:02 +02:00
teutat3s 5a78b18aba
Add flake 2023-03-28 13:47:11 +02:00
teutat3s b3e1a40edf
Update ReadMe 2023-03-27 18:59:04 +02:00
7 changed files with 225 additions and 50 deletions

43
.editorconfig Normal file
View file

@ -0,0 +1,43 @@
# Editor configuration, see http://editorconfig.org
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
# Ignore diffs/patches
[*.{diff,patch}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_size = unset
charset = unset
indent_style = unset
indent_size = unset
[{.*,secrets}/**]
end_of_line = false
insert_final_newline = false
trim_trailing_whitespace = unset
charset = unset
indent_style = unset
indent_size = unset
[*.rom]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset
indent_style = unset
indent_size = unset
[*.py]
indent_size = 4
[*.md]
max_line_length = off
trim_trailing_whitespace = false

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.direnv

View file

@ -1,7 +1,12 @@
# How to publish a new version # How to publish a new version
``` ```
# If you haven't setup minio-client yet # Install dependencies:
nix shell minio-client # On PubSolarOS:
direnv allow
# With the nix package manager installed:
nix develop
# On other systems: https://github.com/minio/mc/
mc alias set \ mc alias set \
garage-momo \ garage-momo \

58
flake.lock Normal file
View file

@ -0,0 +1,58 @@
{
"nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1726153070,
"narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1679944645,
"narHash": "sha256-e5Qyoe11UZjVfgRfwNoSU57ZeKuEmjYb77B9IVW7L/M=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "4bb072f0a8b267613c127684e099a70e1f6ff106",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1725233747,
"narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

46
flake.nix Normal file
View file

@ -0,0 +1,46 @@
{
description = "devs & ops environment for nix'ing with triton";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ self, ... }:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
inputs.flake-parts.flakeModules.easyOverlay
];
perSystem =
args@{
system,
pkgs,
config,
lib,
...
}:
{
packages = {
momo-koeln = pkgs.stdenv.mkDerivation {
name = "momo.koeln";
version = "1.0.0";
src = ./.;
installPhase = ''
mkdir -p $out
cp -r index.html $out/
'';
};
};
overlayAttrs = config.packages;
devShells.default = pkgs.mkShell {
buildInputs = [ ];
};
};
};
}

View file

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Momo eG</title> <title>Momo IT</title>
<style> <style>
* { * {
@ -9,102 +9,123 @@
} }
html { html {
font-size: 3vh; font-size: 24px;
font-weight: 800; font-weight: 400;
font-style: italic; line-height: 1.4;
} }
@media (min-width: 800px) { @media (min-width: 1000px) {
html { html {
font-size: 4vh; font-size: 36px;
}
}
@media (min-width: 1800px) {
html {
font-size: 48px;
} }
} }
body { body {
margin: 0; margin: 0;
padding: 0;
font-family: Source Sans Pro, Open Sans, sans-serif;
color: white;
display: flex;
flex-direction: column;
}
main {
padding: 1rem; padding: 1rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-family: Source Sans Pro, Open Sans, sans-serif; width: 100%;
background: radial-gradient(circle, rgba(255, 0, 230, 1) 0%, rgba(255, 0, 67, 1) 100%); height: auto;
color: white; min-height: 100vh;
height: 100vh; background: radial-gradient(farthest-corner at -5% -5%, rgb(255, 0, 200) 0%, rgb(230, 0, 67) 100%);
width: 100vw;
} }
.logo { .logo {
text-align: right; font-weight: 800;
font-style: italic;
} }
.realness { .realness {
display: block; display: block;
margin-left: 2rem; margin-left: 2rem;
} font-style: italic;
@media (min-width: 800px) {
.realness {
display: inline;
margin-left: 0rem;
}
} }
h1 { h1 {
font-size: 2rem; font-size: 2rem;
line-height: 1;
font-weight: 800; font-weight: 800;
font-style: normal; font-style: normal;
line-height: 1.25;
} }
@media (min-width: 800px) { @media (min-width: 1000px) {
h1 { h1 {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
} }
@media (min-width: 800px) {
p {
max-width: 1200px;
margin-top: 0;
}
}
footer { footer {
margin-top: auto; margin-top: 1rem;
} font-weight: 600;
@media (min-width: 800px) {
footer {
margin-top: 0;
}
} }
a { a {
display: inline-block;
word-wrap: break-word; word-wrap: break-word;
line-break: normal; line-break: normal;
color: white; color: white;
text-decoration: none; text-decoration: none;
margin-left: 2rem;
} }
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
.feather {
display: inline-block;
vertical-align: sub;
margin-right: 0.5rem;
width: 1rem;
height: 1rem;
}
</style> </style>
</head> </head>
<body> <body>
<main>
<div class="logo"> <div class="logo">
Momo eG Momo IT
</div> </div>
<h1>&lt;&gt; <span class="realness">IT ain't easy</span> &lt;/&gt;</h1> <h1>&lt;&gt; <span class="realness">We engineer and operate.</span> &lt;/&gt;</h1>
<p> <p>
We are a collective of professionals from around the field of IT. We are currently in the process of founding a German cooperative (e.G.). We have experience running large-scale, performant, linux-based infrastructures,
</p> and follow projects from planning to development into operations.
<p>
We are here to help you plan, design, develop, end operate solutions in the information technology space.
</p> </p>
<footer> <footer>
<p> <p>
<a href="mailto:everyone@list.momo.koeln">everyone@list.momo.koeln</a> Find us in Cologne, Germany.
<a href="mailto:mail@momo.koeln">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather feather-mail"
>
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path>
<polyline points="22,6 12,13 2,6"></polyline>
</svg>mail@momo.koeln
</a>
</p> </p>
</footer> </footer>
</main>
</body> </body>
</html> </html>