docs: hasura con post conference banner updates

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4922
GitOrigin-RevId: 8c974999923ab556033566215fa13b68ff7df36d
This commit is contained in:
surendran82 2022-06-30 23:55:46 +05:30 committed by hasura-bot
parent 824697a1e8
commit d89e4801fa
3 changed files with 11 additions and 11 deletions

View File

@ -134,7 +134,7 @@ const config = {
announcementBar: {
id: 'announcement-bar-3',
content:
'<a target="_blank" rel="noopener noreferrer" href="https://hasura.io/events/hasura-con-2022/">Join us for our annual Hasura user conference, HasuraCon22</a>',
'<a target="_blank" rel="noopener noreferrer" href="https://hasura.io/events/hasura-con-2022/">Check out the product announcements from HasuraCon22</a>',
backgroundColor: "#511AAA",
textColor: '#fff',
},

View File

@ -12,7 +12,6 @@ const HasuraConBanner = (props) => {
<div className={styles["hasura-con-brand"]}>
<img className={styles["brand-dark"]} src={hasuraConDark} alt="Hasura Con" />
<img className={styles["brand-light"]} src={hasuraConLight} alt="Hasura Con" />
<div>June 28 - 30, 2022</div>
</div>
<div className={styles["hasura-con-space-between"]}>
<div>
@ -20,11 +19,11 @@ const HasuraConBanner = (props) => {
The Hasura User Conference
</div>
<div className={styles["hasura-con-title"]}>
GraphQL for Everyone
New Product Announcements
</div>
</div>
<div className={styles["hasura-con-register"] + " " + styles["hasura-con-register-mobile-hide"]}>
Register Now
View Recordings
<ArrowRight />
</div>
</div>

View File

@ -2,8 +2,8 @@
margin: 40px 0;
display: grid;
grid-template-columns: 110px 1fr;
grid-gap: 36px;
padding: 20px 100px;
grid-gap: 32px;
padding: 20px 60px;
background-image: url("@site/static/img/hasura-con-banner-light-bg.svg");
background-repeat: no-repeat;
background-size: cover;
@ -31,7 +31,6 @@
align-self: center;
img {
width: 97px;
margin-bottom: 4px;
}
.brand-dark {
display: block;
@ -98,8 +97,8 @@ html[data-theme='dark'] {
@media (max-width: 1380px) {
.hasura-con-banner {
grid-gap: 100px;
padding: 20px 70px;
grid-gap: 60px;
padding: 20px 45px;
.hasura-con-title {
padding-bottom: 8px;
}
@ -125,18 +124,20 @@ html[data-theme='dark'] {
}
.hasura-con-title {
padding-bottom: 16px;
line-height: 130%;
}
}
}
@media (max-width: 996px) {
.hasura-con-banner {
padding: 20px 100px;
padding: 20px 60px;
grid-gap: 60px;
.hasura-con-space-between {
display: flex;
}
}
}
@media (max-width: 800px) {
@media (max-width: 850px) {
.hasura-con-banner {
padding: 20px 40px;
.hasura-con-space-between {