pkgs: Add imprint
This commit is contained in:
parent
b00498f23d
commit
f827456d0c
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,4 +1,5 @@
|
|||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.svg filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
**/secrets/** filter=git-crypt diff=git-crypt
|
||||
|
|
|
@ -11,4 +11,8 @@ in
|
|||
osu-lazer-container = super.callPackage ./osu-lazer-container { };
|
||||
|
||||
wordclock-dimmer = super.python3Packages.callPackage ./wordclock-dimmer { };
|
||||
|
||||
sbruder = super.recurseIntoAttrs {
|
||||
imprint = super.callPackage ./imprint { };
|
||||
};
|
||||
}
|
||||
|
|
16
pkgs/imprint/default.nix
Normal file
16
pkgs/imprint/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ lib, stdenvNoCC, ... }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "sbruder-imprint";
|
||||
|
||||
src = ./.;
|
||||
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp \
|
||||
index.html \
|
||||
mail.svg \
|
||||
$out
|
||||
'';
|
||||
}
|
34
pkgs/imprint/index.html
Normal file
34
pkgs/imprint/index.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<style>
|
||||
body {
|
||||
font-family: "Roboto", sans-serif;
|
||||
}
|
||||
img.mail {
|
||||
height: 1em;
|
||||
margin-bottom: -4px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Impressum</h1>
|
||||
|
||||
<h2>Anbieter</h2>
|
||||
|
||||
<p>
|
||||
Simon Bruder<br>
|
||||
Wallmersbach 42<br>
|
||||
97215 Uffenheim
|
||||
</p>
|
||||
|
||||
<h2>Kontakt</h2>
|
||||
|
||||
<ul>
|
||||
<li>E-Mail: <img class="mail" src="mail.svg"></li>
|
||||
<li>Telefon: +49 152 56561414</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
BIN
pkgs/imprint/mail.svg
(Stored with Git LFS)
Normal file
BIN
pkgs/imprint/mail.svg
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue