Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Oct 6, 2024
1 parent 83ab2a5 commit 0bb61a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,13 @@ const config: Config = {
// Replace with your project's social card
// image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'The xPack Project',
// overriden by i18n/en/docusaurus-theme-classic.
title: 'The xPack Binary Development Tools',
logo: {
alt: 'xPack Logo',
src: 'img/components-256.png',
// href: 'https://xpack.github.io/',
// href: 'https://xpack-dev-tools.github.io/openocd-xpack/'
href: 'https://xpack-dev-tools.github.io/'
},
items: [
{
Expand Down
2 changes: 1 addition & 1 deletion website/i18n/en/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": {
"message": "xPack OpenOCD",
"message": "xPack Binary Development Tools",
"description": "The title in the navbar"
},
"logo.alt": {
Expand Down
12 changes: 6 additions & 6 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,25 @@ h2[class*="title"]
--ifm-h1-font-size: 2.5em
}

/* .header-home-link::before {
.header-home-link::before {
content: '';
width: 24px;
height: 24px;
display: inline-flex;
vertical-align: middle; */
vertical-align: baseline;
/* padding-right: 0.5em; */
/* background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='current-color'/%3E%3C/svg%3E")
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='current-color'/%3E%3C/svg%3E")
no-repeat;
} */
}

[data-theme='dark'] .header-home-link::before {
content: '';
width: 24px;
height: 24px;
display: inline-flex;
vertical-align: middle;
vertical-align: baseline;
/* padding-right: 0.5em; */
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='white'/%3E%3C/svg%3E")
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='white'/%3E%3C/svg%3E")
no-repeat;
}

Expand Down

0 comments on commit 0bb61a0

Please sign in to comment.