fixing links, adding nice buttons
Summary: as per title Reviewed By: jknoxville Differential Revision: D15167533 fbshipit-source-id: 67d059c478bf0608b598ba7cd6be19157ff41900
This commit is contained in:
committed by
Facebook Github Bot
parent
be7aefc044
commit
8734b99f8d
@@ -22,11 +22,11 @@ class Index extends React.Component {
|
||||
</h2>
|
||||
<div className="row">
|
||||
<a
|
||||
className="btn primary"
|
||||
className="landing-btn primary"
|
||||
href="https://www.facebook.com/fbflipper/public/mac">
|
||||
Download
|
||||
</a>
|
||||
<a className="btn" href="/docs/getting-started.html">
|
||||
<a className="landing-btn" href="/docs/features/index.html">
|
||||
Learn more
|
||||
</a>
|
||||
</div>
|
||||
@@ -58,7 +58,7 @@ class Index extends React.Component {
|
||||
useful tools including a log viewer, interactive layout inspector,
|
||||
and network inspector.
|
||||
</p>
|
||||
<a className="learnmore" href="/docs/getting-started.html">
|
||||
<a className="learnmore" href="/docs/features/index.html">
|
||||
Learn more
|
||||
</a>
|
||||
</div>
|
||||
@@ -74,7 +74,7 @@ class Index extends React.Component {
|
||||
data back and forth, calling functions, and listening for events
|
||||
on the mobile app.
|
||||
</p>
|
||||
<a className="learnmore" href="/docs/getting-started.html">
|
||||
<a className="learnmore" href="/docs/extending/index.html">
|
||||
Learn more
|
||||
</a>
|
||||
</div>
|
||||
@@ -102,11 +102,25 @@ class Index extends React.Component {
|
||||
improve Flipper. We are excited to see what you will build on this
|
||||
platform.
|
||||
</p>
|
||||
<a className="learnmore" href="/docs/js-setup.html">
|
||||
<a
|
||||
className="learnmore"
|
||||
href="https://github.com/facebook/flipper"
|
||||
target="_blank">
|
||||
Learn more
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div className="wrapper landing-cta">
|
||||
<a href="/docs/getting-started.html" className="landing-btn primary">
|
||||
Integrate Flipper In Your App
|
||||
</a>
|
||||
<a
|
||||
href="https://www.facebook.com/fbflipper/public/mac"
|
||||
target="_blank"
|
||||
className="landing-btn">
|
||||
Download Flipper
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -46,17 +46,29 @@ h6 {
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.splash .btn {
|
||||
color: white;
|
||||
.landing-btn {
|
||||
display: inline-block;
|
||||
padding: 7px 20px;
|
||||
border-radius: 6px;
|
||||
margin: 0 10px;
|
||||
border: 1px solid white;
|
||||
border: 1px solid #777;
|
||||
}
|
||||
|
||||
.splash .btn.primary {
|
||||
.landing-btn:hover {
|
||||
}
|
||||
|
||||
.landing-btn.primary {
|
||||
background-color: #008cf2;
|
||||
color: white;
|
||||
border-color: #008cf2;
|
||||
}
|
||||
|
||||
.splash .landing-btn {
|
||||
color: white;
|
||||
border-color: white;
|
||||
}
|
||||
|
||||
.splash .landing-btn.primary {
|
||||
border-color: #008cf2;
|
||||
}
|
||||
|
||||
@@ -216,11 +228,6 @@ nav.toc .toggleNav .navGroup.navGroupActive h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.button {
|
||||
border-radius: 6px;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.sitemap {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -236,7 +243,6 @@ a.learnmore:hover {
|
||||
}
|
||||
|
||||
.toc .toggleNav ul li.navListItemActive a {
|
||||
color: $actionColor;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -440,3 +446,24 @@ footer iframe {
|
||||
content: '';
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.landing-cta {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
.button {
|
||||
text-transform: none;
|
||||
border: none;
|
||||
font-size: 0.8em;
|
||||
border-radius: 999em;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
padding: 0.5em 1em;
|
||||
font-weight: 500;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user