AI Launch 2023 - Add TeachAI blog callout to /ai page - #51448
Conversation
page will be updated soon w/ microsite
| display: flex; | ||
| justify-content: start; | ||
| flex-wrap: wrap; | ||
| gap: 1em 3em; |
There was a problem hiding this comment.
Refactored the link list in the section under the TeachAI announcement to work w/ rtl languages (thanks @megcrenshaw!)

There was a problem hiding this comment.
Hurray! Looks great! This has been a huge learning curve for me too 📖 🥳
| %p{style: "color: white"}=hoc_s(:ai_hero_desc) | ||
| - if !!DCDO.get('teach-ai-launch-2023', false) | ||
| %a.link-button{href: "#teach-ai-callout"} | ||
| %i{class: "#{icon_megaphone}", style: "margin-right: 6px"} |
There was a problem hiding this comment.
I need to make a button class that will work with icons for rtl languages bit need to think about it more and will do that in another task when there's more time (ACQ-551)
| %p.no-margin-bottom=hoc_s(:ai_intro_list_desc_03) | ||
| .clear | ||
|
|
||
| %a{id: "teach-ai-callout"} |
There was a problem hiding this comment.
I'm confused by this –– does this produce a whole section that's a link? Should this be inside the DCDO conditional?
There was a problem hiding this comment.
It's a tag so the button in the hero banner knows where to jump to when clicked…but I just looked up this article and you can add the id tag to elements on the page (like a section) that essentially does the same thing w/o needing a hanging a tag — I'll move all of the other id anchors to their respective sections and get rid of the hanging as!
So much learning this week, I love it! 🤓 🙌
| i { | ||
| font-size: 1.25em; | ||
| margin: 0 4px 0 0; | ||
| margin: 3px 0 0; |
There was a problem hiding this comment.
Wow I didn't know what 3 arguments did until today! Cool.
megcrenshaw
left a comment
There was a problem hiding this comment.
I have one question, but not blocking! Looks great!
Add a callout blurb and button in the hero banner on https://code.org/ai to support the launch of TeachAI.
Shown using the
teach-ai-launch-2023DCDO flag.Related PRs:
Jira ticket: ACQ-546
Screen.Recording.2023-04-25.at.8.53.15.AM.mov