Skip to content

Commit

Permalink
meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldelcore committed Apr 18, 2022
1 parent 374a689 commit 554c39c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
darkTheme: require('prism-react-renderer/themes/palenight'),
},
navbar: {
title: 'CodeshiftCommunity',
title: 'The community-owned codemod registry',
logo: {
alt: 'CodeshiftCommunity Logo',
src: 'img/logo.svg',
Expand Down
14 changes: 10 additions & 4 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Home() {
return (
<Layout
title={siteConfig.title}
description="The community-owned global registry and documentation hub for codemods."
description="Write, test, publish and consume codemods in a structured, standardized and familiar way."
>
<header className={clsx(styles.heroBanner)}>
<div className={clsx(styles.container, styles.heroContainer)}>
Expand All @@ -43,7 +43,7 @@ export default function Home() {
</header>
<main className={clsx(styles.landingContent)}>
<section className={clsx(styles.heroSection, styles.features)}>
<div className={clsx(styles.container)}>
<div className={clsx(styles.container, styles.containerLarge)}>
<div className="row">
<div className={clsx('col col--3')}>
<div className={clsx(styles.valueContainer)}>
Expand Down Expand Up @@ -111,7 +111,13 @@ export default function Home() {
</div>
</section>
<section className={clsx(styles.heroSection)}>
<div className={clsx(styles.container, styles.heroContainer)}>
<div
className={clsx(
styles.container,
styles.heroContainer,
styles.containerCenter,
)}
>
<h2 className={clsx(styles.heroHeadingBanner)}>
Bring users with you.
</h2>
Expand Down Expand Up @@ -183,7 +189,7 @@ const App = () => (
</div>
</section>
<section className={clsx(styles.heroSection)}>
<div className={clsx(styles.container)}>
<div className={clsx(styles.container, styles.containerLarge)}>
<h2 className={clsx(styles.heroHeadingBanner)}>How it works</h2>
<ol className={clsx(styles.heroList)}>
<li>
Expand Down
24 changes: 18 additions & 6 deletions website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@
margin-bottom: 2.5rem;
}

@media screen and (max-width: 966px) {
.heroBanner {
padding: 2rem;
}
}

.logoBanner {
background-color: var(--ifm-color-primary);
padding: 4rem;
Expand Down Expand Up @@ -170,3 +164,21 @@
align-items: center;
justify-content: center;
}

@media screen and (max-width: 966px) {
.heroBanner {
padding: 5rem 0;
}

.heroHeadingBanner {
font-size: 2.5rem;
}

.heroHeadingSecondary {
font-size: 1.6rem;
}

.heroSection {
padding: 0 0 5rem 0;
}
}

0 comments on commit 554c39c

Please sign in to comment.