fix: Tweak branding, OSS landing page

This commit is contained in:
Tom Moor
2020-02-16 19:49:24 -08:00
parent e18d0fdc77
commit 8fbd4a7463
4 changed files with 13 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ import AuthNotices from './components/AuthNotices';
import Hero from './components/Hero';
import HeroText from './components/HeroText';
import SigninButtons from './components/SigninButtons';
import Branding from '../../shared/components/Branding';
import { githubUrl } from '../../shared/utils/routeHelpers';
type Props = {
@@ -34,11 +35,9 @@ function Home(props: Props) {
<p>
<SigninButtons {...props} />
</p>
<p>
<a href={githubUrl()}>Powered by Outline</a>
</p>
</Hero>
</Grid>
<Branding href={githubUrl()} />
</span>
);
}

View File

@@ -4,12 +4,13 @@ import Centered from './Centered';
const Hero = styled(Centered)`
width: 100%;
min-height: 500px;
padding: 4em 0 0;
margin-top: 50vh;
transform: translateY(-50%);
h1 {
font-size: 3.5em;
line-height: 1em;
margin-top: 0;
}
h2 {