mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 05:23:04 +00:00
a2e2bd7960
* init homepage * adds tutorials * update subnav * adds intro background * add offerings * adds in practice cta * include radial gradient * cleanup gradient * Fix learn more button display * include use case pages * connect subnav menu items * extract in practice section for reuse * use Products type * fix type error * add neutral option * rework cta logic * Fix links map * fix use case path * updates accent method * fix button prop usage * refactor customer case study * refactor case studies component * cleanup margin * refactor data props * fix offering cta * spacing updates and introduce intro component * adds intro interface * removes footer border * fix intro description color * add revalidate code to homepage * cleanup unused imports * bump subnav * makes stats optional * adjust border radius based on customer story * redirect /home to homepage * fix: turtorials link * fix: logo alignment * fix: section background color * feat: home reorder and tuts and docs links * fix: flush padding * formatting * feat: sort use cases in nav * fix: card overflow * fix: adjust overflow method * fix: padding on desktop * fix: card container overflow padding on mobile * fix: intro cta conditional * fix: simplify conditional * fix: customer logo sizing * cleanup old data * accept isInternalLink as arg * remove chunk * fix: isInternalLink usage * fix: isInternalLink prop usage * fix: add lang to document * init homepage * adds tutorials * add offerings * cleanup unused imports * bump subnav * fix: flush padding * formatting * fix: intro cta conditional * fix: simplify conditional * cleanup old data * add consul on kubernetes to menu items * add use case redirect * Add use case redirect
84 lines
1.3 KiB
CSS
84 lines
1.3 KiB
CSS
.hero {
|
|
position: relative;
|
|
max-width: 1600px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-image: radial-gradient(
|
|
95.97% 95.97% at 50% 100%,
|
|
#f2f2f3 0%,
|
|
rgba(242, 242, 243, 0) 100%
|
|
);
|
|
|
|
@media (--medium-up) {
|
|
border-radius: 6px;
|
|
left: 24px;
|
|
right: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.container {
|
|
@media (--medium-up) {
|
|
display: grid;
|
|
grid-template-columns: 1fr max-content 1fr;
|
|
gap: 32px;
|
|
}
|
|
}
|
|
|
|
.pattern {
|
|
margin-left: 24px;
|
|
transform: translateY(24px);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
|
|
@media (--small) {
|
|
display: none;
|
|
}
|
|
|
|
@media (--medium) {
|
|
& > * {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
max-width: 520px;
|
|
width: 100%;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
padding: 64px 24px;
|
|
|
|
@media (--medium-up) {
|
|
padding-top: 132px;
|
|
padding-bottom: 132px;
|
|
}
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0;
|
|
composes: g-type-label-strong from global;
|
|
}
|
|
|
|
.heading {
|
|
margin: 24px 0;
|
|
composes: g-type-display-1 from global;
|
|
}
|
|
|
|
.description {
|
|
margin: 0;
|
|
composes: g-type-body-large from global;
|
|
color: var(--gray-2);
|
|
}
|