Skip to content

Commit 554c39c

Browse files
committed
meta tags
1 parent 374a689 commit 554c39c

File tree

3 files changed

+29
-11
lines changed

3 files changed

+29
-11
lines changed

website/docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
darkTheme: require('prism-react-renderer/themes/palenight'),
2424
},
2525
navbar: {
26-
title: 'CodeshiftCommunity',
26+
title: 'The community-owned codemod registry',
2727
logo: {
2828
alt: 'CodeshiftCommunity Logo',
2929
src: 'img/logo.svg',

website/src/pages/index.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Home() {
1818
return (
1919
<Layout
2020
title={siteConfig.title}
21-
description="The community-owned global registry and documentation hub for codemods."
21+
description="Write, test, publish and consume codemods in a structured, standardized and familiar way."
2222
>
2323
<header className={clsx(styles.heroBanner)}>
2424
<div className={clsx(styles.container, styles.heroContainer)}>
@@ -43,7 +43,7 @@ export default function Home() {
4343
</header>
4444
<main className={clsx(styles.landingContent)}>
4545
<section className={clsx(styles.heroSection, styles.features)}>
46-
<div className={clsx(styles.container)}>
46+
<div className={clsx(styles.container, styles.containerLarge)}>
4747
<div className="row">
4848
<div className={clsx('col col--3')}>
4949
<div className={clsx(styles.valueContainer)}>
@@ -111,7 +111,13 @@ export default function Home() {
111111
</div>
112112
</section>
113113
<section className={clsx(styles.heroSection)}>
114-
<div className={clsx(styles.container, styles.heroContainer)}>
114+
<div
115+
className={clsx(
116+
styles.container,
117+
styles.heroContainer,
118+
styles.containerCenter,
119+
)}
120+
>
115121
<h2 className={clsx(styles.heroHeadingBanner)}>
116122
Bring users with you.
117123
</h2>
@@ -183,7 +189,7 @@ const App = () => (
183189
</div>
184190
</section>
185191
<section className={clsx(styles.heroSection)}>
186-
<div className={clsx(styles.container)}>
192+
<div className={clsx(styles.container, styles.containerLarge)}>
187193
<h2 className={clsx(styles.heroHeadingBanner)}>How it works</h2>
188194
<ol className={clsx(styles.heroList)}>
189195
<li>

website/src/pages/styles.module.css

+18-6
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@
7676
margin-bottom: 2.5rem;
7777
}
7878

79-
@media screen and (max-width: 966px) {
80-
.heroBanner {
81-
padding: 2rem;
82-
}
83-
}
84-
8579
.logoBanner {
8680
background-color: var(--ifm-color-primary);
8781
padding: 4rem;
@@ -170,3 +164,21 @@
170164
align-items: center;
171165
justify-content: center;
172166
}
167+
168+
@media screen and (max-width: 966px) {
169+
.heroBanner {
170+
padding: 5rem 0;
171+
}
172+
173+
.heroHeadingBanner {
174+
font-size: 2.5rem;
175+
}
176+
177+
.heroHeadingSecondary {
178+
font-size: 1.6rem;
179+
}
180+
181+
.heroSection {
182+
padding: 0 0 5rem 0;
183+
}
184+
}

0 commit comments

Comments
 (0)