Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 10, 2025
1 parent c604e81 commit af9ab2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ console.log('customFields: ' + util.inspect(customFields));
// ----------------------------------------------------------------------------

const config: Config = {
title: 'xPack CMake',
title: 'xPack CMake' +
((process.env.DOCUSAURUS_IS_PREVIEW === 'true') ? ' (preview)' : ''),
tagline: 'A binary distribution of CMake',
// Explicitly set in headTags.
// favicon: '/img/favicon.ico',
Expand Down Expand Up @@ -260,7 +261,7 @@ const config: Config = {
items: [
{
to: '/',
// label: 'Home',
label: 'cmake',
className: 'header-home-link',
position: 'left'
},
Expand Down
8 changes: 4 additions & 4 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ h2[class*="title"]
width: 24px;
height: 24px;
display: inline-flex;
vertical-align: baseline;
/* padding-right: 0.5em; */
vertical-align: top;
padding-right: 0.5em;
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;
}
Expand All @@ -87,8 +87,8 @@ h2[class*="title"]
width: 24px;
height: 24px;
display: inline-flex;
vertical-align: baseline;
/* padding-right: 0.5em; */
vertical-align: top;
padding-right: 0.5em;
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 af9ab2f

Please sign in to comment.