Skip to content

Commit

Permalink
Update topic thumbnails (#418)
Browse files Browse the repository at this point in the history
* Use svg topic cords

* Remove topic jpg images

* Fix differential equation svg

* Change miscellaneous spelling
  • Loading branch information
3b1b committed Apr 26, 2024
1 parent 9a02144 commit 676ade3
Show file tree
Hide file tree
Showing 40 changed files with 848 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/LessonGallery/index.js
Expand Up @@ -124,7 +124,7 @@ const TopicCard = ({ topic }) => {

<img
className={styles.image}
src={transformSrc(`/images/topics/${topic.slug}.jpg`)}
src={transformSrc(`/images/topics/${topic.slug}.svg`)}
alt={topic.name}
/>
<span className={styles.title}>{topic.name}</span>
Expand Down
2 changes: 1 addition & 1 deletion components/TopicHeader/index.js
Expand Up @@ -17,7 +17,7 @@ export default function TopicHeader({ topic }) {
<div className={styles.imageWrapper}>
<img
className={styles.image}
src={transformSrc(`/images/topics/${topic.slug}.jpg`)}
src={transformSrc(`/images/topics/${topic.slug}.svg`)}
alt=""
/>
</div>
Expand Down
Binary file removed public/images/topics/Group.jpg
Binary file not shown.
Binary file removed public/images/topics/analysis.jpg
Binary file not shown.
96 changes: 96 additions & 0 deletions public/images/topics/analysis.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/topics/calculus.jpg
Binary file not shown.
39 changes: 39 additions & 0 deletions public/images/topics/calculus.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/topics/clever-proofs.jpg
Binary file not shown.
Binary file removed public/images/topics/computer-science.jpg
Binary file not shown.
35 changes: 35 additions & 0 deletions public/images/topics/computer-science.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/topics/differential-equations.jpg
Binary file not shown.

0 comments on commit 676ade3

Please sign in to comment.