mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
chore: add suvery link to docs
This commit is contained in:
parent
9e31800bf4
commit
da049865ee
@ -26,6 +26,9 @@
|
||||
"api/admin/strategies": {
|
||||
"title": "/api/admin/strategies"
|
||||
},
|
||||
"api/admin/tags": {
|
||||
"title": "/api/admin/tags"
|
||||
},
|
||||
"api/client/features": {
|
||||
"title": "/api/client/features"
|
||||
},
|
||||
@ -95,6 +98,9 @@
|
||||
"securing_unleash": {
|
||||
"title": "Securing Unleash"
|
||||
},
|
||||
"tags": {
|
||||
"title": "Tagging Features"
|
||||
},
|
||||
"unleash_context": {
|
||||
"title": "Unleash Context"
|
||||
}
|
||||
|
@ -18,5 +18,8 @@
|
||||
"kind-of": "6.0.3",
|
||||
"highlight.js": "^10.4.1"
|
||||
},
|
||||
"license": "Apache-2.0"
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"highlight.js": "^10.4.1"
|
||||
}
|
||||
}
|
||||
|
@ -27,17 +27,13 @@ function pageUrl(page, language) {
|
||||
return siteConfig.baseUrl + (language ? `${language}/` : '') + page;
|
||||
}
|
||||
|
||||
class Button extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
const Button = ({className = '', href, target, children}) => (
|
||||
<div className="pluginWrapper buttonWrapper">
|
||||
<a className="button" href={this.props.href} target={this.props.target}>
|
||||
{this.props.children}
|
||||
<a className={["button", className].join(' ')} href={href} target={target}>
|
||||
{children}
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Button.defaultProps = {
|
||||
target: '_self',
|
||||
@ -78,6 +74,7 @@ class HomeSplash extends React.Component {
|
||||
return (
|
||||
<SplashContainer>
|
||||
<div className="inner">
|
||||
<Survey />
|
||||
<ProjectTitle />
|
||||
<a
|
||||
className="github-button"
|
||||
@ -89,8 +86,9 @@ class HomeSplash extends React.Component {
|
||||
aria-label="Star this project on GitHub">
|
||||
Star
|
||||
</a>
|
||||
<FeatureCallout />
|
||||
<PromoSection>
|
||||
<Button href={docUrl('getting_started.html', language)}>Getting Started</Button>
|
||||
<Button className="primary" href={docUrl('getting_started.html', language)}>Getting Started</Button>
|
||||
<Button href="#try">Try It Out</Button>
|
||||
<Button href={siteConfig.repoUrl}>GitHub</Button>
|
||||
</PromoSection>
|
||||
@ -112,7 +110,7 @@ const Block = props => (
|
||||
);
|
||||
|
||||
const FeatureCallout = () => (
|
||||
<div className="productShowcaseSection paddingBottom" style={{textAlign: 'center'}}>
|
||||
<div className="productShowcaseSection" style={{textAlign: 'center'}}>
|
||||
<p>
|
||||
Unleash is a feature toggle system, that gives you a great overview of all feature toggles across
|
||||
all your applications and services. It comes with official client implementations for Java, Node.js, Go, Ruby, Python and .Net.
|
||||
@ -124,10 +122,23 @@ const FeatureCallout = () => (
|
||||
</div>
|
||||
);
|
||||
|
||||
const Survey = () => (
|
||||
<div className="productShowcaseSection">
|
||||
<p className="alert alert-warning">
|
||||
Support us in making Unleash even better by participating in this
|
||||
<a href="https://docs.google.com/forms/d/e/1FAIpQLSeCM5RUG-r8x4iynYNAlge_RCI77NDg61t28rixV3BBgVra0w/viewform" target="_blank">
|
||||
Unleash Open-Source survey.
|
||||
</a>
|
||||
By participating you will also have the chance to win a $25 Amazon gift card.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
const SASSOffering = () => (
|
||||
<div className="productShowcaseSection">
|
||||
<p className="sassOffering">
|
||||
Unleash also comes in a enterprise edition with additional features and a hosted option (SaaS). Check out
|
||||
<p className="alert alert-primary">
|
||||
Unleash also comes in a enterprise edition with additional features and a hosted option. <br />
|
||||
Check out
|
||||
<a href="https://www.unleash-hosted.com/open-source">unleash-hosted.com</a>
|
||||
</p>
|
||||
</div>
|
||||
@ -239,7 +250,6 @@ class Index extends React.Component {
|
||||
<HomeSplash language={language} config={this.props.config} />
|
||||
|
||||
<div className="mainContainer" style={{ paddingTop: 0 }}>
|
||||
<FeatureCallout />
|
||||
<UnleashClient />
|
||||
<TryOut />
|
||||
<ActivationStrategies />
|
||||
|
@ -29,3 +29,50 @@ h2.projectTitle {
|
||||
border-radius: 10px;
|
||||
border: 1px solid #21612e;
|
||||
}
|
||||
|
||||
.alert {
|
||||
position: relative;
|
||||
padding: 0.75rem 1.25rem;
|
||||
margin-bottom: 1rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
color: #155724;
|
||||
background-color: #d4edda;
|
||||
border-color: #c3e6cb;
|
||||
}
|
||||
|
||||
.alert-primary {
|
||||
color: #004085;
|
||||
background-color: #cce5ff;
|
||||
border-color: #b8daff;
|
||||
}
|
||||
|
||||
.alert-dark {
|
||||
color: #1b1e21;
|
||||
background-color: #d6d8d9;
|
||||
border-color: #c6c8ca;
|
||||
}
|
||||
|
||||
.alert-light {
|
||||
color: #818182;
|
||||
background-color: #fefefe;
|
||||
border-color: #fdfdfe;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
color: #856404;
|
||||
background-color: #fff3cd;
|
||||
border-color: #ffeeba;
|
||||
}
|
||||
|
||||
.button.primary {
|
||||
background: #3f51b5;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.productShowcaseSection p {
|
||||
max-width: 700px;
|
||||
}
|
||||
|
1304
website/yarn.lock
1304
website/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user