Compare commits
No commits in common. "ece0e313204699566fb1d4531b9e275e52e14e6f" and "39dfac77a9015781f67fa4db5388ca68f4994b84" have entirely different histories.
ece0e31320
...
39dfac77a9
2
dev.toml
2
dev.toml
@ -2,4 +2,4 @@
|
||||
Port = 1234
|
||||
|
||||
[Template]
|
||||
ActiveCard = "websites"
|
||||
ActiveCard = "stores"
|
||||
|
@ -76,7 +76,6 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
color: black;
|
||||
gap: 1em;
|
||||
padding: 1em;
|
||||
@ -92,10 +91,6 @@ body {
|
||||
background-color: rgba(125, 255, 125, 0.5);
|
||||
}
|
||||
|
||||
.card h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.card-image {
|
||||
width: 100%;
|
||||
|
@ -36,17 +36,6 @@
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .ActiveCard "websites" }}
|
||||
<div class="cards" id="websites">
|
||||
{{range $Website := .Websites }}
|
||||
<a target="_blank" href="{{ $Website.Url }}" class="card">
|
||||
<h3>{{ $Website.Name }}</h3>
|
||||
<img class="card-image" src="{{ $Website.ImageUrl }}" alt="{{ $Website.Name }} picture">
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user