Skip to content

Commit

Permalink
Merge pull request #1847 from codebar/add-codebar-festival-banner
Browse files Browse the repository at this point in the history
Add 2023 codebar Festival banner to homepage
  • Loading branch information
matyikriszta committed Feb 13, 2023
2 parents 1216ce6 + bf1aed0 commit a1e42a7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed app/assets/images/festival/festival-logo-pink.png
Binary file not shown.
3 changes: 1 addition & 2 deletions app/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ form .hint {
}

.festival-banner {
background-image: image-url('festival/festival-banner-background.jpg');
background-size: cover;
background: #1E1D3B;
}
6 changes: 4 additions & 2 deletions app/views/dashboard/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- title t('homepage.title')

.alert.alert-dark.mb-0.text-center
We’re beyond proud to launch our <strong>first-ever</strong> Impact Report, which you can read here - <a href="https://impact-report-22.codebar.io/" class="text-dark" target="_blank"">impact-report-22.codebar.io</a>
-# .alert.alert-dark.mb-0.text-center
-# We’re beyond proud to launch our <strong>first-ever</strong> Impact Report, which you can read here - <a href="https://impact-report-22.codebar.io/" class="text-dark" target="_blank"">impact-report-22.codebar.io</a>
.homepage-hero.d-flex.align-items-center
.container.d-flex
Expand All @@ -15,6 +15,8 @@
.col-md-8
%p.lead.mb-0= raw t('homepage.explanation')

= render 'shared/festival_banner'

.container.py-4.py-lg-5
.row
.col-md-4.mb-4.mb-md-0
Expand Down
9 changes: 4 additions & 5 deletions app/views/shared/_festival_banner.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
.col-lg-8
.row
.col-md-4.mb-4.mb-md-0
= link_to image_tag('festival/festival-logo-pink.png', style: 'max-width: 180px;', alt: 'codebar Festival logo'), 'https://festival.codebar.io/', class: 'border-0'
%p.text-white.mb-0
%strong 11 - 13th March 2022
= link_to image_tag('festival/codebar-festival-logo-light.png', style: 'max-width: 218px;', alt: 'codebar Festival logo'), 'https://festival.codebar.io/', class: 'border-0'
.col-md
%p.text-white.mb-2 Following our successful festival in 2021 we are very excited to celebrate our community and provide even more opportunities in codebar Festival 2022.
%p.text-white.mb-0 Join us for 3 days of talks, workshops, demos, and panel discussions on CODING, CAREER, or WELLBEING. New for this year is the JOB FAIR, chat with people from Compare The Market, Amazon.com, Global, IDBS and Immersive Labs. You're in control, create your own schedule. It’s 100% virtual and completely free. #{link_to 'RSVP here', 'https://festival.codebar.io', class: 'link-light border-0 text-decoration-underline'}.
%p.text-white.mb-2
%strong 6 - 11th March 2023
%p.text-white.mb-0 Build a holistic career in tech with us at codebar Festival! Join us on the 6th, 7th, 8th, 9th and 11th of March for 5 days of workshops, talks, panels and networking opportunities. #{link_to 'Checkout out the schedule and RSVP here', 'https://festival.codebar.io', class: 'link-light border-0 text-decoration-underline'}.

0 comments on commit a1e42a7

Please sign in to comment.