Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 #768 - Homepage styling. #339

Merged
merged 1 commit into from
Nov 21, 2022
Merged

💄 #768 - Homepage styling. #339

merged 1 commit into from
Nov 21, 2022

Conversation

svenvandescheur
Copy link
Contributor

No description provided.

Comment on lines 4 to 10
<div class="card{% if inline %} card--inline{% endif %}{% if tinted %} card--tinted{% endif %}{% if type %} card--type-{{ type }}{% endif %}">
{% if src %}
<a class="card__header" href="{{ href }}" title="{{ title }}" aria-describedby="{{ title }}">
<img class="card__img" src="{{ src }}" alt="{{ alt }}"/>
<img class="card__img{% if image_object_fit %} card__img--{{ image_object_fit }}{% endif %}" src="{{ src }}" alt="{{ alt }}"/>
</a>
{% endif %}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe sometime in the future we can find a more readable way to do conditional classes?

@alextreme alextreme merged commit e2db8ed into develop Nov 21, 2022
@alextreme alextreme deleted the issue#768 branch November 21, 2022 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants