Added navigation to photos

This commit is contained in:
Edgar P. Burkhart 2021-04-11 18:24:27 +02:00
parent ecf5ab65d0
commit eb970f1839
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 21 additions and 2 deletions

View file

@ -1,3 +1,17 @@
header {
display: grid;
grid-template-columns: 2fr 1fr;
transition: transform 250ms;
}
header>* {
align-self: center;
}
header nav {
text-align: right;
font-size: 1.5rem;
font-weight: 800;
}
.album { .album {
width: 320px; width: 320px;
height: 180px; height: 180px;

View file

@ -43,8 +43,8 @@
<h1>Burkhart</h1> <h1>Burkhart</h1>
<nav> <nav>
<a href="/cv">CV</a> <a href="/cv">CV</a>
<a href="/photos">Photos</a>
<a href="https://git.edgarpierre.fr">Gitea</a> <a href="https://git.edgarpierre.fr">Gitea</a>
<a href="https://www.komoot.fr/user/383887346799">Komoot</a>
</nav> </nav>
</div> </div>
<footer> <footer>

View file

@ -37,7 +37,12 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
</head> </head>
<body> <body>
<h1>Photos</h2> <header>
<h1>Photos</h1>
<nav>
<a href="/">Homepage</a>
</nav>
</header>
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album"> <a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
<div class="pic"> <div class="pic">