added automatic built date in corner
All checks were successful
Restart Website Service / restart_service (push) Successful in 29s
All checks were successful
Restart Website Service / restart_service (push) Successful in 29s
This commit is contained in:
parent
b5b4a9438c
commit
4e7d9d321c
|
@ -65,6 +65,7 @@
|
|||
installPhase = ''
|
||||
makeWrapper $out/bin/webbisitey $out/bin/webbisitey-wrapped --run 'cd $(dirname $0)'; # im too lazy to add a path argument so cd into the correct folder so it can serve files.
|
||||
cp -r $runtime $out/bin/public
|
||||
substituteInPlace $out/bin/public/index.html --replace "{{{VERSION}}}" "Built $(date +%Y-%m-%d\ %H:%M:%S)"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -13,6 +13,13 @@
|
|||
.club512 {
|
||||
border-radius: calc(var(--radius)/2);
|
||||
}
|
||||
#version {
|
||||
position: fixed;
|
||||
right: 1em;
|
||||
bottom: 0;
|
||||
opacity: 0.3;
|
||||
color: var(--text);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
@ -48,11 +55,11 @@
|
|||
<a href="https://nixwebr.ing/next/spoody">next →</a>
|
||||
</div>
|
||||
<div class="footer" style="grid-area: footer3; text-align: center;">
|
||||
<a href="https://512kb.club" style="padding:0"><img style="aspect-ratio: 234.383/30; margin-bottom: -5px" class="club512" height=24
|
||||
alt="512KB Club"
|
||||
src="https://512kb.club/assets/images/green-team.svg"></a>
|
||||
<a href="https://512kb.club" style="padding:0"><img style="aspect-ratio: 234.383/30; margin-bottom: -5px"
|
||||
class="club512" height=24 alt="512KB Club" src="https://512kb.club/assets/images/green-team.svg"></a>
|
||||
</div>
|
||||
</div>
|
||||
<p id="version">{{{VERSION}}}</p>
|
||||
<div id="background"></div>
|
||||
<script src="/js/main.js"></script>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue