mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
misc(v2): branding update (#2009)
This commit is contained in:
parent
b5cbaee9c1
commit
7abe643f8d
3 changed files with 10 additions and 10 deletions
|
@ -7,7 +7,8 @@
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
title: 'Docusaurus',
|
title: 'Docusaurus',
|
||||||
tagline: 'Easy to Maintain Open Source Documentation Websites',
|
tagline:
|
||||||
|
'An optimized site generator in React. Docusaurus helps you to move fast and write content. Build documentation websites, blogs, marketing pages, and more.',
|
||||||
organizationName: 'facebook',
|
organizationName: 'facebook',
|
||||||
projectName: 'docusaurus',
|
projectName: 'docusaurus',
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
|
|
|
@ -64,9 +64,7 @@ function Home() {
|
||||||
const {siteConfig = {}} = context;
|
const {siteConfig = {}} = context;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout
|
<Layout permalink="/" description={siteConfig.tagline}>
|
||||||
permalink={'/'}
|
|
||||||
description={'Easy to Maintain Open Source Documentation Websites'}>
|
|
||||||
<div className={styles.hero}>
|
<div className={styles.hero}>
|
||||||
<div className={styles.heroInner}>
|
<div className={styles.heroInner}>
|
||||||
<h1 className={styles.heroProjectTagline}>
|
<h1 className={styles.heroProjectTagline}>
|
||||||
|
@ -75,9 +73,10 @@ function Home() {
|
||||||
className={styles.heroLogo}
|
className={styles.heroLogo}
|
||||||
src={useBaseUrl('img/docusaurus_keytar.svg')}
|
src={useBaseUrl('img/docusaurus_keytar.svg')}
|
||||||
/>
|
/>
|
||||||
{siteConfig.title} makes it easy to maintain{' '}
|
Build <span className={styles.heroProjectKeywords}>optimized</span>{' '}
|
||||||
<span className={styles.heroProjectKeywords}>Open Source</span>{' '}
|
websites <span className={styles.heroProjectKeywords}>quickly</span>
|
||||||
documentation websites.
|
, focus on your{' '}
|
||||||
|
<span className={styles.heroProjectKeywords}>content</span>
|
||||||
</h1>
|
</h1>
|
||||||
<div className={styles.indexCtas}>
|
<div className={styles.indexCtas}>
|
||||||
<Link
|
<Link
|
||||||
|
@ -182,7 +181,7 @@ function Home() {
|
||||||
className={styles.featureImage}
|
className={styles.featureImage}
|
||||||
src={useBaseUrl('img/undraw_algolia.svg')}
|
src={useBaseUrl('img/undraw_algolia.svg')}
|
||||||
/>
|
/>
|
||||||
<h3 className="padding-top--md">Document Search</h3>
|
<h3 className="padding-top--md">Content Search</h3>
|
||||||
<p className="padding-horiz--md">
|
<p className="padding-horiz--md">
|
||||||
Make it easy for your community to find what they need in your
|
Make it easy for your community to find what they need in your
|
||||||
documentation. We proudly support Algolia documentation search.
|
documentation. We proudly support Algolia documentation search.
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
|
|
||||||
.heroProjectTagline {
|
.heroProjectTagline {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 64px;
|
font-size: 60px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,6 @@
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-right: 24px;
|
|
||||||
padding: 18px 36px;
|
padding: 18px 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +126,7 @@
|
||||||
|
|
||||||
.indexCtasGitHubButton {
|
.indexCtasGitHubButton {
|
||||||
border: none;
|
border: none;
|
||||||
|
margin-left: 24px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue