feat: remove download button and make header more useful

This commit is contained in:
jabuxas 2024-10-16 14:08:28 -03:00
parent ebe2c461f5
commit c64c63d333

View File

@ -25,10 +25,7 @@
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 10; z-index: 10;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-evenly;
} }
.content { .content {
@ -86,11 +83,7 @@
</head> </head>
<body> <body>
<header> <header>{{.Path}}/{{.Name}}</header>
{{.Path}} {{if eq .Type "pdf"}}
<a href="/{{.Name}}" class="btn-download" download>Download PDF</a>
{{end}}
</header>
<div class="content"> <div class="content">
{{if eq .Type "image"}} {{if eq .Type "image"}}
<img src="/{{.Name}}" alt="Image" /> <img src="/{{.Name}}" alt="Image" />