mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
misc: default Docusaurus Website UX (#3455)
This commit is contained in:
parent
9bf4dfb275
commit
ca8f3811b5
3 changed files with 52 additions and 72 deletions
|
@ -61,15 +61,6 @@ class Index extends React.Component {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<div className="announcement">
|
||||
<div className="announcement-inner">
|
||||
Black Lives Matter.{' '}
|
||||
<a href="https://support.eji.org/give/153413/#!/donation/checkout">
|
||||
Support the Equal Justice Initiative
|
||||
</a>
|
||||
.
|
||||
</div>
|
||||
</div>
|
||||
<HomeSplash siteConfig={siteConfig} language={language} />
|
||||
<div className="announcement">
|
||||
<div className="announcement-inner">
|
||||
|
@ -84,7 +75,6 @@ class Index extends React.Component {
|
|||
</div>
|
||||
</div>
|
||||
<div className="mainContainer">
|
||||
<div style={{marginTop: -40}}>
|
||||
<Container padding={['bottom', 'top']} background="light">
|
||||
<GridBlock
|
||||
align="center"
|
||||
|
@ -146,7 +136,6 @@ class Index extends React.Component {
|
|||
layout="twoColumn"
|
||||
/>
|
||||
</Container>
|
||||
</div>
|
||||
<Container padding={['bottom', 'top']}>
|
||||
<GridBlock
|
||||
contents={[
|
||||
|
|
|
@ -64,7 +64,7 @@ table td:first-child > code {
|
|||
font-weight: bold;
|
||||
font-size: 24px;
|
||||
padding: 48px;
|
||||
margin: 0 auto;
|
||||
margin: 0 auto -40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -68,15 +68,6 @@ function Home() {
|
|||
title={tagline}
|
||||
description={customFields.description}>
|
||||
<main>
|
||||
<div className={clsx(styles.announcement, styles.announcementDark)}>
|
||||
<div className={styles.announcementInner}>
|
||||
Black Lives Matter.{' '}
|
||||
<Link to="https://support.eji.org/give/153413/#!/donation/checkout">
|
||||
Support the Equal Justice Initiative
|
||||
</Link>
|
||||
.
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.hero}>
|
||||
<div className={styles.heroInner}>
|
||||
<h1 className={styles.heroProjectTagline}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue