Skip to content

Commit 0df95e1

Browse files
Propose different versions of icons rss and atom.
1 parent 1e13d7f commit 0df95e1

File tree

10 files changed

+319
-6
lines changed

10 files changed

+319
-6
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const config: Config = {
169169
title: "Atom",
170170
position: "right",
171171
target: "_blank",
172-
className: "rss-circle-icon",
172+
className: "atom-circle-icon",
173173
},
174174
],
175175
},

src/components/blog/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import styles from "./styles.module.css";
22
import React, { useState } from "react";
33
import BlogpostCard from "./BlogpostCard";
44
import { blogpostsDetails } from "./blogpostsDetails";
5-
import RSSOrange from "/img/icons/RSSOrange.svg";
5+
import RSSOrange from "/img/icons/RSS_orange_with_text.svg";
6+
import AtomOrange from "/img/icons/Atom_orange_with_text.svg";
67

78
export default function BlogsComponent() {
89
const numberOfBlogs = blogpostsDetails.length;
@@ -37,6 +38,11 @@ export default function BlogsComponent() {
3738
<RSSOrange width={"42px"} height={"42px"} />
3839
</a>
3940
</div>
41+
<div style={{padding:"0 10px"}}>
42+
<a href={"/atom.xml"}>
43+
<AtomOrange width={"42px"} height={"42px"} />
44+
</a>
45+
</div>
4046
</div>
4147
<div>
4248
<input

src/css/custom.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,21 @@ a.menu__link:active {
591591
}
592592

593593
.rss-circle-icon:before {
594-
background: url(@site/static/img/socialmedias/RSS.svg);
594+
background: url(@site/static/img/socialmedias/RSS_with_text.svg);
595+
content: "";
596+
display: flex;
597+
height: 36px;
598+
width: 36px;
599+
background-repeat: no-repeat;
600+
}
601+
602+
603+
.atom-circle-icon:hover {
604+
opacity: 0.6;
605+
}
606+
607+
.atom-circle-icon:before {
608+
background: url(@site/static/img/socialmedias/Atom_with_text.svg);
595609
content: "";
596610
display: flex;
597611
height: 36px;

static/atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<id>https://quantstack.net/</id>
44
<title>Recent blog posts featured by QuantStack team</title>
5-
<updated>2025-07-29T13:22:53.411Z</updated>
5+
<updated>2025-07-29T17:15:37.387Z</updated>
66
<generator>https://github.com/jpmonette/feed</generator>
77
<author>
88
<name>QuantStack Team</name>
Lines changed: 74 additions & 0 deletions
Loading
Lines changed: 74 additions & 0 deletions
Loading
Lines changed: 85 additions & 0 deletions
Loading
Lines changed: 60 additions & 0 deletions
Loading

static/rss.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/rss_all.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)