Tilføj julekalender-notits

This commit is contained in:
ngws committed 2024-11-10 12:09:37 +01:00
1 parent 6f612c243b
commit ee9db4873b
4 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ generateSite = do
-- Handle images -- Handle images
imgDir <- inject "img" imgDir <- inject "img"
makeDir $ joinPaths outputDir imgDir makeDir $ joinPaths outputDir imgDir
forM_ ["mad-icon.png", "mad-logo.png"] $ \name -> forM_ ["mad-icon.png", "mad-logo.png", "julekalender.png"] $ \name ->
joinPaths imgDir (inject name) `copyTo` outputDir joinPaths imgDir (inject name) `copyTo` outputDir
-- Handle fonts -- Handle fonts
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+6
View File
@@ -128,3 +128,9 @@ p.image {
max-width: 100%; max-width: 100%;
} }
} }
#julekalender {
height: 100px;
background-image: url('img/julekalender.png');
background-position: center;
}
+1
View File
@@ -8,6 +8,7 @@
<title>Niels' mad</title> <title>Niels' mad</title>
</head> </head>
<body> <body>
<div id="julekalender"></div>
<header><a href="/">&nbsp;Niels'&nbsp;mad&nbsp;</a></header> <header><a href="/">&nbsp;Niels'&nbsp;mad&nbsp;</a></header>
<nav> <nav>