Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed button "Get started" behavior on hover #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,37 +76,37 @@ function Home() {
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<main>
<section className="flex-grid">
<main>
<section className="flex-grid">

<div className="container col">
<div className="item">

<h1 className="hero__title center">{siteConfig.title}</h1>
<p className="hero__subtitle center">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className={classnames(
'button button--outline button--secondary button--lg',
styles.getStarted,
)}
to={useBaseUrl('docs/doc/philosophy')}>
Get Started
</Link>
</div>
</div>
<img
className='cat'
alt="kottans logo"
src={useBaseUrl('img/logoBlack.svg')}
/>
</div>

<div className="container col">
<Feature/>
</div>
</section>
</main>
<div className="container col">
<img
className='cat'
alt="kottans logo"
src={useBaseUrl('img/logoBlack.svg')}
/>
<div className="item">
<h1 className="hero__title center">{siteConfig.title}</h1>
<p className="hero__subtitle center">
{siteConfig.tagline}
</p>
<div className={styles.buttons}>
<Link
className={classnames(
'button button--outline button--secondary button--lg',
styles.getStarted,
)}
to={useBaseUrl('docs/doc/philosophy')}>
Get Started
</Link>
</div>
</div>
</div>
<div className="container col">
<Feature/>
</div>
</section>
</main>
</Layout>
);
}
Expand Down