Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add RSS feed link in header and footer #532

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@ from openfga_sdk.client import OpenFgaClient`,
className: 'header-social header-discord-link',
'aria-label': 'OpenFGA on Discord',
},
{
to: 'https://openfga.dev/blog/rss',
label: 'RSS',
position: 'right',
className: 'header-social header-rss-link',
'aria-label': 'OpenFGA RSS',
},
],
},
footer: {
Expand All @@ -278,6 +285,12 @@ from openfga_sdk.client import OpenFgaClient`,
'aria-label': 'OpenFGA on GitHub',
label: 'GitHub',
},
{
to: 'https://openfga.dev/blog/rss',
className: 'header-social header-rss-link',
'aria-label': 'OpenFGA RSS',
label: 'RSS',
},
],
copyright: `<div><a href="https://www.linuxfoundation.org/trademark-usage"><img src="/img/cncf-icon-white.svg" alt="CNCF" style="vertical-align:middle; margin-right:8px;" /></a> &copy; ${new Date().getFullYear()} <a href="https://www.linuxfoundation.org/" target="_blank">The Linux Foundation</a>®. All rights reserved. <span class="display-on-desktop">For a list of trademarks of The Linux Foundation, see our <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text" target="blank">Trademark Usage page</a>.</span></div>`,
},
Expand Down
6 changes: 6 additions & 0 deletions static/css/openfga.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ a:visited {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M15.2601 2.15598C14.0866 1.60531 12.8404 1.20398 11.5396 0.97998C11.3759 1.26932 11.194 1.66131 11.0666 1.96931C9.68307 1.76398 8.30951 1.76398 6.94504 1.96931C6.81769 1.66131 6.62666 1.26932 6.47201 0.97998C5.16216 1.20398 3.91595 1.60531 2.7507 2.15598C0.394744 5.7213 -0.242005 9.20261 0.0763687 12.6373C1.64094 13.8039 3.15096 14.5133 4.63458 14.98C4.99844 14.476 5.32591 13.9346 5.6079 13.3653C5.07121 13.16 4.56181 12.9079 4.07061 12.6093C4.19796 12.516 4.32531 12.4133 4.44356 12.3106C7.40898 13.7013 10.6209 13.7013 13.5499 12.3106C13.6773 12.4133 13.7955 12.516 13.9229 12.6093C13.4317 12.9079 12.9223 13.16 12.3856 13.3653C12.6676 13.9346 12.9951 14.476 13.3589 14.98C14.8416 14.5133 16.3607 13.8039 17.9171 12.6373C18.3082 8.66131 17.2976 5.208 15.2601 2.15598ZM6.01723 10.5186C5.12577 10.5186 4.39806 9.68797 4.39806 8.67065C4.39806 7.65333 5.10758 6.82262 6.01723 6.82262C6.91775 6.82262 7.65454 7.65333 7.63634 8.67065C7.63634 9.68797 6.91775 10.5186 6.01723 10.5186ZM11.9945 10.5186C11.103 10.5186 10.3744 9.68797 10.3744 8.67065C10.3744 7.65333 11.0848 6.82262 11.9945 6.82262C12.895 6.82262 13.6318 7.65333 13.6136 8.67065C13.6136 9.68797 12.9041 10.5186 11.9945 10.5186Z'/%3E%3C/svg%3E")
no-repeat;
}

.header-rss-link:before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 21 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M 18.75 1.5 L 2.25 1.5 C 1.007812 1.5 0 2.507812 0 3.75 L 0 20.25 C 0 21.492188 1.007812 22.5 2.25 22.5 L 18.75 22.5 C 19.992188 22.5 21 21.492188 21 20.25 L 21 3.75 C 21 2.507812 19.992188 1.5 18.75 1.5 Z M 5.25 19.5 C 4.007812 19.5 3 18.492188 3 17.25 C 3 16.007812 4.007812 15 5.25 15 C 6.492188 15 7.5 16.007812 7.5 17.25 C 7.5 18.492188 6.492188 19.5 5.25 19.5 Z M 12.632812 19.5 L 11.023438 19.5 C 10.742188 19.5 10.507812 19.28125 10.488281 19 C 10.246094 15.25 7.242188 12.253906 3.5 12.011719 C 3.21875 11.992188 3 11.757812 3 11.476562 L 3 9.867188 C 3 9.558594 3.257812 9.3125 3.5625 9.332031 C 8.742188 9.609375 12.890625 13.761719 13.167969 18.9375 C 13.1875 19.242188 12.941406 19.5 12.632812 19.5 Z M 17.464844 19.5 L 15.855469 19.5 C 15.566406 19.5 15.332031 19.269531 15.320312 18.984375 C 15.054688 12.582031 9.917969 7.445312 3.515625 7.179688 C 3.230469 7.167969 3 6.933594 3 6.644531 L 3 5.035156 C 3 4.734375 3.25 4.488281 3.550781 4.5 C 11.417969 4.78125 17.71875 11.117188 18 18.949219 C 18.011719 19.25 17.765625 19.5 17.464844 19.5 Z M 17.464844 19.5'/%3E%3C/svg%3E")
no-repeat;
}

.navbar__search {
display: flex;
grid-gap: 1rem;
Expand Down