feat: Add Software Templates section & _home page SCSS improvements
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
ed297eead2
commit
b4168778c0
@@ -169,6 +169,54 @@ export function Home() {
|
||||
</div>
|
||||
</BannerSection>
|
||||
|
||||
<BannerSection greenGradientBackground>
|
||||
<div className={homeStyles.softwareTemplatesContainer}>
|
||||
<div className="softwareTemplatesTitle">
|
||||
<img
|
||||
src={`${siteConfig.baseUrl}animations/backstage-software-templates-icon-5.gif`}
|
||||
alt="Software Templates Rocket GIF"
|
||||
/>
|
||||
|
||||
<h2 className="text--primary">Backstage Software Templates</h2>
|
||||
|
||||
<h1>Standards can set you free</h1>
|
||||
</div>
|
||||
|
||||
<picture className="softwareTemplatesImg">
|
||||
<source
|
||||
srcSet={`${siteConfig.baseUrl}img/cards.png`}
|
||||
media="(min-width: 997px)"
|
||||
/>
|
||||
<img src={`${siteConfig.baseUrl}img/service-cards.png`} alt="" />
|
||||
</picture>
|
||||
|
||||
<ContentBlock
|
||||
title="Like automated getting started guides"
|
||||
hasBulletLine
|
||||
>
|
||||
Using templates, engineers can spin up a new microservice with
|
||||
your organization's best practices built-in, right from the start
|
||||
</ContentBlock>
|
||||
|
||||
<ContentBlock title="Push-button deployment" hasBulletLine>
|
||||
Click a button to create a Spring Boot project with your repo
|
||||
automatically configured on GitHub and your CI already running the
|
||||
first build
|
||||
</ContentBlock>
|
||||
|
||||
<ContentBlock title="Built to your standards" hasBulletLine>
|
||||
Go instead of Java? CircleCI instead of Jenkins? Serverless
|
||||
instead of Kubernetes? GCP instead of AWS? Customize your recipes
|
||||
with your best practices baked-in
|
||||
</ContentBlock>
|
||||
|
||||
<ContentBlock title="Golden Paths pave the way" hasBulletLine>
|
||||
When the right way is also the easiest way, engineers get up and
|
||||
running faster — and more safely
|
||||
</ContentBlock>
|
||||
</div>
|
||||
</BannerSection>
|
||||
|
||||
<BannerSection greenCallToActionGradientBackground>
|
||||
<div className="padding--lg text--center">
|
||||
<h1>Build your own software templates</h1>
|
||||
|
||||
@@ -43,7 +43,9 @@ $desktopUpBreakpoint: 997px;
|
||||
}
|
||||
}
|
||||
|
||||
.catalogContainer {
|
||||
// Shared container styles
|
||||
.catalogContainer,
|
||||
.softwareTemplatesContainer {
|
||||
gap: 2rem;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
@@ -53,23 +55,41 @@ $desktopUpBreakpoint: 997px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
:global(.catalogTitle) {
|
||||
:global([class*='Title']),
|
||||
:global([class*='title']) {
|
||||
img {
|
||||
max-width: 190px;
|
||||
max-height: 190px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.catalogContainer {
|
||||
@media (min-width: $desktopUpBreakpoint) {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
|
||||
picture {
|
||||
grid-row: 1/3;
|
||||
grid-column: 3/-1;
|
||||
grid-row: span 2;
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
:global(.catalogTitle) {
|
||||
grid-column: 1/3;
|
||||
grid-column: span 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.softwareTemplatesContainer {
|
||||
@media (min-width: $desktopUpBreakpoint) {
|
||||
grid: repeat(2, auto) / repeat(4, 1fr);
|
||||
|
||||
picture {
|
||||
grid-row-start: 3;
|
||||
grid-column: span 4;
|
||||
}
|
||||
|
||||
:global(.softwareTemplatesTitle) {
|
||||
grid-column: span 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user