Skip to content

Commit d95df9e

Browse files
committed
docs: update favicon and logo of docs
1 parent e6cb5e9 commit d95df9e

15 files changed

+40
-2
lines changed

docs/docusaurus.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,20 @@ const config = {
5555
themeConfig:
5656
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5757
({
58+
announcementBar: {
59+
id: 'support_us',
60+
content:
61+
'⭐️ If you like ReactTooltip, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/ReactTooltip/react-tooltip">GitHub</a> ⭐️',
62+
backgroundColor: '#222',
63+
textColor: '#fff',
64+
isCloseable: false,
65+
},
5866
navbar: {
5967
title: 'React Tooltip',
6068
logo: {
6169
alt: 'React Tooltip Logo',
62-
src: 'img/logo.svg',
70+
src: 'img/only-tooltip.svg',
71+
width: 120,
6372
},
6473
items: [
6574
{

docs/src/pages/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ function HomepageHeader() {
1414
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1515
<div className="container">
1616
<h1 className="hero__title">{siteConfig.title}</h1>
17+
<p className="hero__logo">
18+
<img src="img/logo.svg" alt="Happy face with a tooltip saying 'Hello I'm a tooltip'" />
19+
</p>
1720
<p className="hero__subtitle">{siteConfig.tagline}</p>
1821
<div className={styles.buttons}>
1922
<Link className="button button--primary button--lg" to="/docs/category/upgrade-guide">
14.1 KB
Loading
54.9 KB
Loading

docs/static/img/apple-touch-icon.png

12.7 KB
Loading

docs/static/img/favicon-16x16.png

584 Bytes
Loading

docs/static/img/favicon-32x32.png

1.27 KB
Loading

docs/static/img/favicon-old.ico

3.54 KB
Binary file not shown.

docs/static/img/favicon.ico

11.5 KB
Binary file not shown.

docs/static/img/logo-dinossaur.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)