From b7ce658933a0df3f391f0b8c6871f61e1ac7090d Mon Sep 17 00:00:00 2001 From: Lynn Fisher Date: Thu, 31 Oct 2024 15:36:11 -0700 Subject: [PATCH] add redux.dev course callouts --- website/src/css/custom.css | 6 ++++++ website/src/pages/index.js | 5 +++++ website/static/img/course-callout-mid.svg | 1 + website/static/img/course-callout-narrow.svg | 1 + website/static/img/course-callout-wide.svg | 1 + 5 files changed, 14 insertions(+) create mode 100644 website/static/img/course-callout-mid.svg create mode 100644 website/static/img/course-callout-narrow.svg create mode 100644 website/static/img/course-callout-wide.svg diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 6efb7bee99..9b081d633c 100755 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -280,3 +280,9 @@ details.detailed-explanation p { fill: black; stroke: black; } + +/* course callout on home page */ +.course-callout.home-mid { + max-width: 900px; + margin: 1rem auto 2rem; +} diff --git a/website/src/pages/index.js b/website/src/pages/index.js index 814a1eff5a..dea95f7b39 100755 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -180,6 +180,11 @@ function Home() { )} +
+ + Redux.dev - a new course by Mark Erikson + ui.dev - Learn more + +
{otherLibraries && otherLibraries.length && (
diff --git a/website/static/img/course-callout-mid.svg b/website/static/img/course-callout-mid.svg new file mode 100644 index 0000000000..9273e4d921 --- /dev/null +++ b/website/static/img/course-callout-mid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/static/img/course-callout-narrow.svg b/website/static/img/course-callout-narrow.svg new file mode 100644 index 0000000000..4fe12ad40b --- /dev/null +++ b/website/static/img/course-callout-narrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/website/static/img/course-callout-wide.svg b/website/static/img/course-callout-wide.svg new file mode 100644 index 0000000000..111ed9c152 --- /dev/null +++ b/website/static/img/course-callout-wide.svg @@ -0,0 +1 @@ + \ No newline at end of file