This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
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.
Merge pull request #14 from Metatavu/minor-visual-changes
Minor layout updates
- Loading branch information
Showing
4 changed files
with
64 additions
and
7 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
29 changes: 29 additions & 0 deletions
29
app/cells/decidim/content_blocks/highlighted_content_banner/show.erb
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,29 @@ | ||
<section class="extended"> | ||
<div class="row"> | ||
<div class="columns custom-content-banner" | ||
style="background-image:url(<%= current_organization.highlighted_content_banner_image.url %>);"> | ||
<div class="row"> | ||
<div class="columns large-10"> | ||
<div class="highligted-content-banner__container"> | ||
|
||
<h1 class="text-highlight heading1 highligted-content-banner-heading"> | ||
<%= translated_attribute current_organization.highlighted_content_banner_title %> | ||
</h1> | ||
<span class="text-highlight"> | ||
<%= decidim_sanitize translated_attribute current_organization.highlighted_content_banner_short_description %> | ||
</span> | ||
</div> | ||
</div> | ||
<div class="columns large-2"> | ||
<%= link_to current_organization.highlighted_content_banner_action_url, | ||
class: "button expanded button--sc" do %> | ||
<%= translated_attribute current_organization.highlighted_content_banner_action_title %> | ||
<span class="button__info"> | ||
<%= translated_attribute current_organization.highlighted_content_banner_action_subtitle %> | ||
</span> | ||
<% end %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |
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