-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve homepage desktop with design
- Loading branch information
1 parent
28440e8
commit a79526a
Showing
27 changed files
with
481 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
+.css |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% set classes = 'card text-decoration-none h-100 overflow-hidden' %} | ||
{% set classes = classes ~ (direction == 'horizontal' ? ' d-flex flex-row' : '' ) %} | ||
|
||
<a href='{{ href }}' class='{{ classes }}'> | ||
{% if thumbnail %} | ||
<div class='ratio ratio-16x9'> | ||
<img class='' src='{{ thumbnail.src }}' alt='{{ thumbnail.alt }}'> | ||
</div> | ||
{% endif %} | ||
|
||
<div class='card-body d-flex flex-column gap-2'> | ||
<h5 class='card-title mb-0'> | ||
{{ title }} | ||
</h5> | ||
<p class='card-subtitle m0 text-muted'>{{ subtitle }}</p> | ||
<p class='card-text m-0'> | ||
{{ description }} | ||
</p> | ||
<div> | ||
{% for format in formats %} | ||
<span class='badge text-bg-primary rounded-pill'>{{ format | upper }} </span> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</a> |
Oops, something went wrong.