Skip to content

Commit

Permalink
fix: UX for welcome and organization description in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdeus committed Nov 27, 2024
1 parent 51c0700 commit 9991150
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions decidim-core/app/packs/stylesheets/decidim/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ footer {
&__top {
@apply hidden lg:flex flex-row gap-8 container py-10;
}

&__text {
@apply text-sm text-white prose;

&__bold {
@apply font-bold;
}
}

&__down {
@apply border-t border-black flex flex-wrap items-center gap-6 container py-6 text-white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= image_tag current_organization.attached_uploader(:official_img_footer).url, alt: current_organization_name, class: "max-h-16" %>
<% end %>
<% end %>
<div class="text-sm text-white prose">
<p><%= t("decidim.pages.home.footer_sub_hero.footer_sub_hero_headline", organization: current_organization_name) %></p>
<p><%= organization_description_label %></p>
<div class="main-footer__text">
<p class="main-footer__text__bold"><%= t("decidim.pages.home.footer_sub_hero.footer_sub_hero_headline", organization: current_organization_name) %></p>
<p><%= strip_tags(organization_description_label) %></p>
</div>

0 comments on commit 9991150

Please sign in to comment.