From 6d28e98a16ba36d1dd9cca171f5d63954a5ee957 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Sun, 12 Jan 2025 14:06:32 +0000 Subject: [PATCH] Add link to first session --- app/css/packs/bootcamp.css | 7 ++++++- app/views/bootcamp/index.html.haml | 8 ++++++++ app/views/layouts/_meta_tags.html.haml | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app/css/packs/bootcamp.css b/app/css/packs/bootcamp.css index 65e6eebadc..8933d95c92 100644 --- a/app/css/packs/bootcamp.css +++ b/app/css/packs/bootcamp.css @@ -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); diff --git a/app/views/bootcamp/index.html.haml b/app/views/bootcamp/index.html.haml index 82115a5ebe..03a6531045 100644 --- a/app/views/bootcamp/index.html.haml +++ b/app/views/bootcamp/index.html.haml @@ -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 diff --git a/app/views/layouts/_meta_tags.html.haml b/app/views/layouts/_meta_tags.html.haml index 2f2c387251..ea2606a758 100644 --- a/app/views/layouts/_meta_tags.html.haml +++ b/app/views/layouts/_meta_tags.html.haml @@ -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