Skip to content

Commit

Permalink
Clean up the footer and the form style at large width
Browse files Browse the repository at this point in the history
  • Loading branch information
bekkii77 committed May 2, 2024
1 parent 8a99443 commit 52f349c
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/_partials/_contact.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<div
class="absolute top-0 left-0 z-[-1] h-full w-full bg-[#f4f6ff] lg:h-full xl:h-full"
></div>
<div class="container flex flex-wrap">
<div class="flex flex-wrap items-center">
<div class="w-full lg:w-6/12 xl:w-6/12">
<div class="container w-full">
<div class="flex w-full flex-col md:flex-row lg:flex-row xl:flex-row">
<div class="w-full md:w-1/2 lg:w-1/2 xl:w-1/2">
<div class="ud-contact-content-wrapper">
<div class="ud-contact-title mb-12 lg:mb-[150px]">
<span class="mb-5 text-base font-semibold text-dark">
Expand All @@ -19,8 +19,8 @@
</div>
</div>
</div>
<div class="pl-4 w-full lg:w-6/12 xl:w-6/12">
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSf6BG9bo8pTSmZE6L37-PXMFIFMJZ36SNZMvXKz-EBe3MUi0g/viewform?embedded=true" width="100%" height="600" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
<div class="w-full md:w-1/2 lg:w-1/2 xl:w-1/2">
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSf6BG9bo8pTSmZE6L37-PXMFIFMJZ36SNZMvXKz-EBe3MUi0g/viewform?embedded=true" width="400" height="600" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/_partials/_footer.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@
Register
</a>
<% end %>
<% @site.collections.pages.resources.select { |r| r.data.top_level }.sort_by { |r| r.data.title }.each do |page| %>
<% @site.collections.pages.resources.select { |r| r.data.top_level && r.data.enabled }.sort_by { |r| r.data.title }.each do |page| %>
<a
href="<%= page.relative_url %>"
class="px-3 text-base text-[#f3f4fe] hover:text-dark"
class="px-3 text-base text-[#f3f4fe] hover:text-primary"
>
<%= page.data.title %>
</a>
<% end %>
<% @site.collections.pages.resources.select { |r| r.data.footer_only }.sort_by { |r| r.data.title }.each do |page| %>
<% @site.collections.pages.resources.select { |r| r.data.footer_only && r.data.enabled }.sort_by { |r| r.data.title }.each do |page| %>
<a
href="<%= page.relative_url %>"
class="px-3 text-base text-[#f3f4fe] hover:text-dark"
class="px-3 text-base text-[#f3f4fe] hover:text-primary"
>
<%= page.data.title %>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/boulder-guide.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
title: Boulder Guide
top_level: true
enabled: false
enabled: true
---
<%
airport_transportation_options = [
Expand Down
2 changes: 1 addition & 1 deletion src/code-of-conduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: page
title: Code of Conduct
top_level: true
enabled: false
enabled: true
---

<p
Expand Down
18 changes: 18 additions & 0 deletions src/images/logo-white-old.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/sponsorship.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: page
title: Sponsorship
top_level: true
enabled: false
top_level: false
enabled: true
footer_only: true
---

Expand Down

0 comments on commit 52f349c

Please sign in to comment.