Skip to content

Commit

Permalink
feat: update logo (#36)
Browse files Browse the repository at this point in the history
* feat: update logo

* feat: update favicon and og image

* feat: update logo color

---------

Co-authored-by: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
  • Loading branch information
alexiscolin and leohhhn committed May 21, 2024
1 parent 6008128 commit 7fb55b6
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 13 deletions.
24 changes: 17 additions & 7 deletions docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
image: "img/og.jpg",
image: "img/og-gnoland.png",
navbar: {
hideOnScroll: true,
logo: {
alt: "Gno.land Logo",
src: "img/gnoland.svg",
srcDark: "img/gnoland_light.svg",
src: "img/gno-black-logo.svg",
srcDark: "img/gno-white-logo.svg",
},
items: [
{
Expand Down Expand Up @@ -114,10 +114,20 @@ const config = {
html: `
<div>
<a href="https://gno.land">
<svg width="140" height="32" viewBox="0 0 140 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>path { fill: var(--ifm-color-primary); }</style>
<path fill-rule="evenodd" clip-rule="evenodd" d="M70.1247 0.259277C67.4623 3.35048 63.2383 7.80168 60.4159 10.7585L60.4191 10.7553C54.4159 16.9761 47.7855 23.5041 41.3503 29.2705L40.3583 30.1601L38.6431 31.7409C39.2415 31.1233 40.1087 30.0577 40.9695 28.9505C42.5823 26.8769 43.5775 23.3473 42.3839 21.0049C39.9679 16.2561 40.7391 10.2881 44.7071 6.32328C48.6751 2.35848 54.6399 1.58408 59.3887 4.00008C61.7311 5.19368 65.2607 4.19848 67.3343 2.58568C68.4415 1.72168 69.5071 0.857677 70.1247 0.259277ZM59.6127 7.06248C56.6015 4.85128 52.5567 4.38728 49.1775 6.13128H49.1743C43.1807 9.22888 41.9423 16.4481 45.4623 21.2481C46.0671 21.8337 47.0207 21.8401 47.6319 21.2705L47.6831 21.2193C44.3967 17.9329 44.3967 12.5857 47.6831 9.29928C50.9695 6.01288 56.3167 6.01288 59.6031 9.29928L59.6127 9.28968C60.2271 8.67528 60.2271 7.68008 59.6127 7.06248ZM48.2239 20.6945C48.5823 21.0529 49.1615 21.0529 49.5167 20.6945L49.5199 20.6913C52.6303 17.5617 55.9327 14.2561 59.0655 11.1457C59.4239 10.7873 59.4399 10.1985 59.0815 9.83688L59.0751 9.83048C56.0799 6.83848 51.2095 6.83848 48.2175 9.83048C45.2255 12.8257 45.2255 17.6961 48.2175 20.6881L48.2239 20.6945ZM77.6736 3.29287H75.4656V23.2321H77.6736V3.29287ZM8.85444 8.00644C12.0896 8.00644 14.5952 9.32804 15.9424 11.376V8.54724H18.1536V21.6128C18.1536 26.896 14.192 29.1584 9.44964 29.1584C6.83524 29.1584 3.98084 28.3489 2.39044 27.1905L3.44004 25.4944C4.83844 26.4096 6.80644 27.1905 9.23204 27.1905C13.5456 27.1905 15.9424 25.44 15.9424 21.8816V20.4C14.5952 22.448 11.8176 23.7696 8.85444 23.7696C3.95204 23.7696 0.880035 20.6432 0.880035 15.9008C0.880035 11.1584 3.95204 8.00644 8.85444 8.00644ZM14.4704 20.0704C15.4496 19.1904 15.9424 17.888 15.9424 16.5728H15.9456V15.2288C15.9456 13.7664 15.312 12.3584 14.1664 11.4496C12.8416 10.4 11.2288 9.97444 9.42404 9.97444C5.38244 9.97444 3.12004 12.1312 3.12004 15.904C3.12004 19.6768 5.38244 21.8048 9.42404 21.8048C11.3696 21.8048 13.0944 21.3088 14.4704 20.0704ZM24.3968 11.5904C25.7696 9.37924 28.2496 8.00644 31.4016 8.00644V8.01284C35.9552 8.01284 38.1376 10.9216 38.1376 14.9376V23.2352H35.9296V15.0976C35.9296 12.3776 33.7088 9.98404 30.9888 9.97764C28.7104 9.97124 26.7392 10.8064 25.3504 12.5184C24.72 13.296 24.3968 14.2848 24.3968 15.2896V23.232H22.1888V8.54724H24.3968V11.5904ZM89.6709 8.00646C94.6021 8.00646 97.6197 10.4321 97.6197 15.0945H97.6229V20.3745C97.6229 21.4817 97.8117 22.3713 98.3237 23.2321H95.9781C95.5461 22.5025 95.3573 21.7217 95.3573 20.8865V20.8321C94.1989 22.4225 91.9077 23.7697 88.7013 23.7697C85.4949 23.7697 81.2101 22.4481 81.2101 18.5697C81.2101 14.6913 85.5205 13.3697 88.7013 13.3697C91.8821 13.3697 94.1989 14.6913 95.3573 16.3073V15.0945C95.3573 11.5361 93.3349 9.92007 89.2933 9.92007C86.9477 9.92007 85.1717 10.5665 83.5269 11.6161L82.5029 10.0001C84.2277 8.84167 87.0021 8.00646 89.6709 8.00646ZM88.8901 21.9361C91.3701 21.9361 94.1445 21.1009 95.4117 18.8385V18.8321V18.2945C94.1445 16.0065 91.3701 15.1969 88.8901 15.1969C86.7333 15.1969 83.3925 15.8177 83.3925 18.5665C83.3925 21.3153 86.7333 21.9361 88.8901 21.9361ZM111.414 8.00644C108.262 8.00644 105.782 9.37924 104.409 11.5904V8.54724H102.201V23.2321H104.409V15.2032C104.409 14.3008 104.678 13.408 105.225 12.6912C106.621 10.8608 108.646 9.97125 111.001 9.97445C113.721 9.98085 115.942 12.3744 115.942 15.0944V23.2321H118.15V14.9344C118.15 10.9184 115.968 8.00964 111.414 8.00964V8.00644ZM136.909 11.3761V3.29287H139.12V23.2289H136.909V20.4001C135.562 22.4481 133.053 23.7697 129.821 23.7697C124.918 23.7697 121.846 20.6433 121.846 15.9009C121.846 11.1585 124.918 8.00647 129.821 8.00647C133.056 8.00647 135.562 9.32807 136.909 11.3761ZM136 19.4977C136.592 18.8225 136.909 17.9457 136.909 17.0497V17.0465V14.7233C136.909 13.8273 136.592 12.9505 136 12.2753C134.544 10.6177 132.608 9.97127 130.387 9.97127C126.346 9.97127 124.083 12.1281 124.083 15.9009C124.083 19.6737 126.346 21.8017 130.387 21.8017C132.611 21.8017 134.544 21.1553 136 19.4977ZM69.6511 20.3648C68.7039 20.3648 67.9359 21.1328 67.9359 22.08C67.9359 23.0272 68.7039 23.7952 69.6511 23.7952C70.5983 23.7952 71.3663 23.0272 71.3663 22.08C71.3663 21.1328 70.5983 20.3648 69.6511 20.3648ZM50.2688 22.9281C50.6048 22.6113 51.0816 22.5089 51.5264 22.6369C54.1216 23.3761 57.0336 22.7297 59.0752 20.6881C61.1136 18.6497 61.7632 15.7409 61.024 13.1457C60.896 12.7009 60.9984 12.2241 61.3152 11.8881L61.3504 11.8497C62.7168 14.9409 62.1344 18.6913 59.6064 21.2193C57.0752 23.7505 53.3216 24.3297 50.2304 22.9633L50.2688 22.9281ZM63.1103 13.4977C63.9519 16.6593 63.0463 20.0513 60.7391 22.3585C58.4255 24.6721 55.0207 25.5777 51.8527 24.7201C50.6943 24.4065 49.4911 24.6529 48.5951 25.3729C52.9567 27.9777 58.4703 27.3025 62.0799 23.6961C65.6831 20.0929 66.3615 14.5793 63.7599 10.2177C63.0431 11.1201 62.7999 12.3297 63.1103 13.4977Z"/>
</svg>
<svg class="logo_img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 238">
<path d="M136.02,160.26c-1.77-6.5-5.55-12.22-10.68-16.59-1.98-1.69-4.14-3.29-6.5-4.78-2-1.27-4.52.6-3.94,2.9l1.42,5.62c1.8,7.14-5.86,12.93-12.24,9.26l-17.15-9.86c-11.27-6.48-25.13-6.48-36.4,0l-17.15,9.86c-6.38,3.67-14.04-2.13-12.24-9.26l1.46-5.78c.58-2.29-1.93-4.16-3.93-2.9-2.62,1.64-5,3.42-7.16,5.29-5.05,4.38-8.56,10.26-10.2,16.74l-.06.24c-4.17,16.56,2.31,33.97,16.29,43.78l43.3,30.37c4.74,3.32,11.05,3.32,15.79,0l43.3-30.37c14.19-9.95,20.65-27.74,16.09-44.51Z" class="logo-beard" />
<path d="M134.22,123.74c-3.78-31.58-19.27-63.22-34.25-87.46l22.26-22.26c5.04-5.04,1.47-13.66-5.66-13.66h-47.94c-3.7,0-7.41,1.63-9.91,4.88C41.84,27.21,8.79,75.55,3.02,123.74c-.52,4.39,4.63,7.08,7.93,4.14,11.52-10.26,29.49-17.6,57.67-17.6s46.14,7.35,57.67,17.6c3.3,2.94,8.45.24,7.93-4.14Z" style="fill: #ee445d" />
<g class="logo-wording">
<path d="M190.79,202.39l13.67-21.82c9.35,10.07,21.82,14.14,36.2,14.14s32.13-6.23,32.13-29.73v-11.27c-9.11,11.51-21.58,17.98-35.96,17.98-28.77,0-51.06-20.14-51.06-58.74s21.82-58.98,51.06-58.98c13.91,0,26.61,5.75,35.96,17.74v-14.86h30.45v108.12c0,43.87-34.04,54.66-62.57,54.66-19.66,0-35.24-4.55-49.87-17.26ZM272.78,131.66v-37.64c-5.28-7.43-16.3-12.95-26.13-12.95-17.5,0-29.49,11.99-29.49,31.89s11.99,31.89,29.49,31.89c9.83,0,20.86-5.75,26.13-13.19Z" />
<path d="M397.33,172.66v-70c0-16.06-8.39-21.58-21.34-21.58-11.99,0-21.1,6.71-26.37,13.43v78.16h-30.45V56.86h30.45v14.86c7.43-8.63,21.82-17.74,40.52-17.74,25.65,0,37.88,14.38,37.88,36.92v81.75h-30.69Z" />
<path d="M438.76,114.64c0-32.84,23.01-60.65,61.13-60.65s61.37,27.81,61.37,60.65-23.01,60.89-61.37,60.89-61.13-28.05-61.13-60.89ZM529.62,114.64c0-17.98-10.55-33.56-29.73-33.56s-29.49,15.58-29.49,33.56,10.55,33.8,29.49,33.8,29.73-15.58,29.73-33.8Z" />
<path d="M565.38,161.87c0-7.19,5.99-13.19,13.19-13.19s13.19,5.99,13.19,13.19-5.99,13.19-13.19,13.19-13.19-5.99-13.19-13.19Z" />
<path d="M605.35,148.44V12.75h17.98v131.86c0,8.63,3.84,14.86,11.75,14.86,5.03,0,9.83-2.4,11.99-5.03l5.51,13.67c-4.79,4.31-11.03,7.43-21.58,7.43-17.02,0-25.65-9.83-25.65-27.09Z" />
<path d="M745.61,172.66v-17.26c-8.63,11.75-22.77,20.14-39.08,20.14-30.21,0-51.54-23.01-51.54-60.65s21.34-60.89,51.54-60.89c15.58,0,29.73,7.67,39.08,20.38v-17.5h17.98v115.79h-17.98ZM745.61,141.01v-52.26c-6.23-10.07-20.38-18.7-34.52-18.7-23.49,0-37.4,19.18-37.4,44.83s13.91,44.59,37.4,44.59c14.14,0,28.29-8.39,34.52-18.46Z" />
<path d="M860.96,172.66v-75.76c0-20.62-10.55-26.85-26.13-26.85-14.14,0-27.33,8.63-34.28,17.98v84.63h-17.98V56.86h17.98v16.78c8.15-9.83,23.97-19.66,41.47-19.66,23.97,0,36.68,12.23,36.68,37.4v81.27h-17.74Z" />
<path d="M982.02,172.66v-17.26c-8.63,11.75-22.77,20.14-39.08,20.14-30.21,0-51.54-23.01-51.54-60.65s21.34-60.89,51.54-60.89c15.58,0,29.73,7.67,39.08,20.38V12.75h17.98v159.91h-17.98ZM982.02,141.01v-52.26c-6.23-10.07-20.38-18.7-34.52-18.7-23.49,0-37.4,19.18-37.4,44.83s13.91,44.59,37.4,44.59c14.14,0,28.29-8.39,34.52-18.46Z" />
</g>
</svg>
</a>
</div>
Expand Down
18 changes: 18 additions & 0 deletions docusaurus/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ body nav[class*="navbarHidden"] {
margin-block-start: 0.3rem;
}

.navbar__logo img{
max-width: 90%;
}

/* Main */
.main-wrapper {
margin-block-start: 2rem;
Expand Down Expand Up @@ -328,6 +332,20 @@ a.footer__link-item > svg {
}
}

.footer .logo_img {
width: 8rem;
}

[data-theme="light"] .footer .logo_img .logo-beard {
fill: #9e9e9e;
}
[data-theme="dark"] .footer .logo_img .logo-beard {
fill: #ffffff;
}
[data-theme="dark"] .footer .logo_img .logo-wording path {
fill: #ffffff;
}

.footer__title {
margin-block-start: 1rem;
}
Expand Down
Binary file modified docusaurus/static/img/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docusaurus/static/img/gno-black-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docusaurus/static/img/gno-white-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7fb55b6

Please sign in to comment.