Skip to content

Commit b7ce658

Browse files
committed
add redux.dev course callouts
1 parent 025adaa commit b7ce658

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

website/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,9 @@ details.detailed-explanation p {
280280
fill: black;
281281
stroke: black;
282282
}
283+
284+
/* course callout on home page */
285+
.course-callout.home-mid {
286+
max-width: 900px;
287+
margin: 1rem auto 2rem;
288+
}

website/src/pages/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@ function Home() {
180180
</div>
181181
</section>
182182
)}
183+
<section className="course-callout home-mid">
184+
<a href="https://redux.dev">
185+
<img src="/img/course-callout-mid.svg" alt="Redux.dev - a new course by Mark Erikson + ui.dev - Learn more" />
186+
</a>
187+
</section>
183188
{otherLibraries && otherLibraries.length && (
184189
<section className={styles.features}>
185190
<div className="container">

0 commit comments

Comments
 (0)