Skip to content

Commit

Permalink
Add link to first session
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Jan 12, 2025
1 parent da3944b commit 6d28e98
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/css/packs/bootcamp.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@ body {
@apply py-16;
@apply md:text-18 text-14;

.first-session {
@apply text-15 font-semibold leading-100;
@apply ml-auto;
@apply border-b-1 border-[#ffffffaa];
}
.button {
@apply flex items-center;
@apply bg-white rounded-[5px] py-4 px-[18px] h-[32px] ml-auto;
@apply bg-white rounded-[5px] py-4 px-[18px] h-[32px] ml-16;
@apply sm:text-15 text-12 font-semibold;
color: rgb(13, 18, 33);
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
Expand Down
8 changes: 8 additions & 0 deletions app/views/bootcamp/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
#countdown-bar
%strong.inline-block Late enrollments currently accepted.
%span.inline-block
Watch back
= succeed('.') do
= link_to "the first live session", "https://www.youtube.com/live/bOAL_EIFwhg&start=1400", class: "underline font-semibold"

#nav
.lg-container.flex.flex-row.gap-8.items-center
= image_tag "bootcamp/exercism-face-light.svg", class: 'exercism-face'
.content
%strong.font-semibold Exercism
Bootcamp
= link_to "Watch first session 👀", "https://www.youtube.com/live/bOAL_EIFwhg&start=1400", class: "first-session", target: "_blank", rel: 'noopener'
= link_to "Enroll now 👉", bootcamp_enroll_path, class: "button"

.hero
Expand Down
2 changes: 2 additions & 0 deletions app/views/layouts/_meta_tags.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@
-# RSS: See: https://rknight.me/blog/please-expose-your-rss/
%link{ rel: "alternate", type: "application/rss+xml", title: "Exercism's Blog", href: blog_posts_url(format: :rss) }

%meta{ name: "google-adsense-account", content: "ca-pub-1298009554972786" }
= yield :meta_tags

0 comments on commit 6d28e98

Please sign in to comment.