Skip to content

Commit

Permalink
update solutions link
Browse files Browse the repository at this point in the history
  • Loading branch information
frauzufall committed Sep 25, 2024
1 parent 35a8360 commit e5da7ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/solution.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="solution-box">
<a class="solution-box" href="https://album.solutions/guide?catalog_url=https://gitlab.com/album-app/catalogs/image-challenges&catalog_name=image-challenges&group={{.group}}&name={{.name}}&version={{.version}}">
{{- $solutionCover := printf "%s/-/raw/%s-%s-%s/solutions/%s/%s/%s" .catalogUrl .group .name .version .group .name (index (index .covers 0) "source") -}}
<div class="preview" onclick="toggleMetadata('{{ .name | urlize }}')">
<div class="preview">
<h3>{{.title}}</h3>
<div class="subtitle"><code>{{ .group }}:{{ .name }}:{{ .version }}</code></div>
<p class="description">{{ .description }}<br/>
Expand Down Expand Up @@ -50,4 +50,4 @@ <h3>{{.title}}</h3>
</div>
</div>
</div>
</div>
</a>
4 changes: 4 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -761,4 +761,8 @@ figure.center {
float: right;
max-width: 200px;
justify-self: flex-end;
}

.solution-box, .solution-box:hover {
color: black;
}

0 comments on commit e5da7ac

Please sign in to comment.