Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the blog date information #390

Merged
merged 49 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e2b3b11
feat: add product page section one
Brenosalv Jun 13, 2024
7c9a0ec
feat: add section one cards
Brenosalv Jun 13, 2024
37340ec
feat: add links and chevron icon to section one cards
Brenosalv Jun 14, 2024
b0fa314
feat: adapt carousel dots style
Brenosalv Jun 15, 2024
b6d6508
Merge branch 'master' of https://github.com/estuary/marketing-site in…
Brenosalv Jun 15, 2024
5e02e5d
feat: add hover states to second slide from section two
Brenosalv Jun 16, 2024
d360ebc
feat: add hover states to slide 4 from section 2 carousel
Brenosalv Jun 16, 2024
59f3e8f
feat: add hover states to connectors groups
Brenosalv Jun 17, 2024
0dec9a1
feat: add tablet and mobile slides to section two carousel
Brenosalv Jun 17, 2024
3098878
feat: add hover and active effects to section one buttons
Brenosalv Jun 17, 2024
234ee0c
feat: make section one responsive for tablet and mobile screens
Brenosalv Jun 17, 2024
3f6ef1a
feat: add section three
Brenosalv Jun 18, 2024
fe27067
feat: add section four
Brenosalv Jun 18, 2024
a0748e6
feat: add section five
Brenosalv Jun 19, 2024
ae04f6c
feat: add section six
Brenosalv Jun 21, 2024
9198f04
fix: tweaks for video and tabs
Brenosalv Jun 21, 2024
5144cb9
feat: add section seven
Brenosalv Jun 22, 2024
9f51171
feat: add button to advantages component
Brenosalv Jun 22, 2024
e06a595
feat: add section eight
Brenosalv Jun 23, 2024
c260760
feat: add section nine
Brenosalv Jun 23, 2024
e1024ef
feat: add section ten
Brenosalv Jun 24, 2024
8cf3930
feat: add section eleven
Brenosalv Jun 24, 2024
103f3b4
feat: add section twelve
Brenosalv Jun 24, 2024
344f6f3
feat: add section thirteen
Brenosalv Jun 25, 2024
a785f29
feat: add section fourteen
Brenosalv Jun 25, 2024
376488b
feat: replace Power with Scale in all tables and replace docs links
Brenosalv Jun 25, 2024
ef634b8
Merge branch 'master' into Brenosalv/feature/redesign-product-page
Brenosalv Jun 25, 2024
d06d64b
fix: use image size x1 instead os x4 from figma
Brenosalv Jun 25, 2024
83e39d8
feat: replace product page first sentence from section one
Brenosalv Jun 25, 2024
29f814c
fix: reduce section one and two vertical margins so the section one f…
Brenosalv Jun 25, 2024
0d1200a
fix: avoid form submission with empty field
Brenosalv Jun 25, 2024
44178e8
fix: add underline to links from the footer and fix Github and Docs l…
Brenosalv Jun 26, 2024
7d18bde
fix: External link https://docs.estuary.dev/ was detected in a Link c…
Brenosalv Jun 26, 2024
a675199
fix: solve ssr hydration issue with the FlowDemoVideo
Brenosalv Jun 26, 2024
1baab92
fix: more tweaks - avoid ssr hydration issue for outbound links due t…
Brenosalv Jun 26, 2024
c0e01f7
refactor: move product folder from layouts to components such as we d…
Brenosalv Jun 26, 2024
4dd3d26
fix: add adjustments to the section two slides
Brenosalv Jul 1, 2024
50614d3
feat: make slide 4 become slide 1 in section two carousel and reduce …
Brenosalv Jul 1, 2024
adf6b33
feat: replace timescale and rockset connectors with mongodb and dynamodb
Brenosalv Jul 2, 2024
1a17b60
feat: add tooltip and accordion texts to the key features section
Brenosalv Jul 3, 2024
c4218cc
fix: add some tweaks
Brenosalv Jul 3, 2024
60e0de8
fix: add review fixes related to the comments
Brenosalv Jul 4, 2024
97c1517
fix: declare variable outside the component to avoid redeclaring on r…
Brenosalv Jul 4, 2024
ca0aba1
Merge branch 'master' of https://github.com/estuary/marketing-site in…
Brenosalv Jul 4, 2024
69b3517
fix: remove unnecessary loading prop as default value is already lazy
Brenosalv Jul 4, 2024
951928b
fix: optimize css removing repeated code
Brenosalv Jul 6, 2024
4f3e2f5
feat: remove unused images from old product page
Brenosalv Jul 6, 2024
681cde0
Adding in the updated date for blog posts
travjenkins Jul 10, 2024
9ec12cc
Merge remote-tracking branch 'origin/master' into travjenkins/seo/upd…
travjenkins Jul 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 54 additions & 43 deletions src/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,16 @@ h6 {
font-size: var(--fontSize-1);
}

h1>a {
h1 > a {
color: inherit;
text-decoration: none;
}

h2>a,
h3>a,
h4>a,
h5>a,
h6>a {
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
text-decoration: none;
color: inherit;
}
Expand Down Expand Up @@ -202,15 +202,15 @@ ol li {
margin-bottom: calc(var(--spacing-6) / 2);
}

li>p {
li > p {
margin-bottom: calc(var(--spacing-6) / 2);
}

li *:last-child {
margin-bottom: var(--spacing-0);
}

li>ul {
li > ul {
margin-left: var(--spacing-8);
margin-top: calc(var(--spacing-8) / 2);
}
Expand All @@ -231,12 +231,12 @@ blockquote {
margin-bottom: var(--spacing-8);
}

blockquote> :last-child {
blockquote > :last-child {
margin-bottom: var(--spacing-0);
}

blockquote>ul,
blockquote>ol {
blockquote > ul,
blockquote > ol {
list-style-position: inside;
}

Expand Down Expand Up @@ -464,7 +464,8 @@ input {
}
}

.global-header-title-light {}
.global-header-title-light {
}

.global-header-wrapper {
display: flex;
Expand Down Expand Up @@ -903,7 +904,7 @@ input {
display: flex;
align-items: center;

&>a {
& > a {
color: #5072eb;
font-weight: 500;

Expand Down Expand Up @@ -1093,7 +1094,6 @@ input {
}

.blog-post {

// The auto-detection isn't great so until we start tagging languages let's just hide this
.language-tag {
display: none;
Expand Down Expand Up @@ -1150,11 +1150,11 @@ nav.blog-post-nav {
text-decoration: underline;
}

&> :first-child {
& > :first-child {
margin-right: 5px;
}

&> :last-child {
& > :last-child {
margin-left: 5px;
}
}
Expand Down Expand Up @@ -1211,6 +1211,11 @@ table th {
font-weight: 200;
text-align: left;
margin: var(--spacing-4) 0;

span {
display: flex;
flex-direction: column;
}
}

.blog-post header p {
Expand Down Expand Up @@ -1901,7 +1906,7 @@ table th {
color: #04192b;
}

&>span {
& > span {
font-weight: 400;
font-size: 18px;
line-height: 30px;
Expand Down Expand Up @@ -1957,7 +1962,7 @@ table th {
background-color: #04192b;
min-height: 400px;

>div:first-of-type {
> div:first-of-type {
width: 100% !important;
}
}
Expand Down Expand Up @@ -2036,7 +2041,7 @@ table th {
display: flex;
margin: auto;

&>svg {
& > svg {
width: 100%;
}
}
Expand Down Expand Up @@ -2382,7 +2387,7 @@ table th {
background-size: 35%;
background-position-y: 60%;

&>div:last-child {
& > div:last-child {
width: 100%;
max-width: 50rem;
}
Expand Down Expand Up @@ -2515,7 +2520,7 @@ table th {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

&>p {
& > p {
font-weight: 400;
font-size: 17px;
line-height: 30px;
Expand All @@ -2524,7 +2529,7 @@ table th {
margin-top: 0;
}

&>p {
& > p {
font-weight: 400;
font-size: 17px;
line-height: 30px;
Expand Down Expand Up @@ -2751,7 +2756,7 @@ table th {
transform: none;
gap: 0;

>div {
> div {
padding: 0px 32px;

.content {
Expand All @@ -2763,7 +2768,7 @@ table th {
}
}

>div:first-of-type {
> div:first-of-type {
.content {
padding: 0;
}
Expand Down Expand Up @@ -2805,8 +2810,7 @@ table th {
gap: 0;
width: 100%;

@media (max-width: 350px),
(max-height: 350px) {
@media (max-width: 350px), (max-height: 350px) {
padding: 0;
}

Expand Down Expand Up @@ -2944,7 +2948,7 @@ table th {
.section-one-right-image {
margin-left: 0px;

&> :first-child {
& > :first-child {
overflow: visible;
max-height: 55vw;
min-height: 14rem;
Expand All @@ -2957,7 +2961,7 @@ table th {
}
}

&> :not(:first-child) {
& > :not(:first-child) {
display: none;
}
}
Expand Down Expand Up @@ -2989,7 +2993,8 @@ table th {
font-size: 1.75rem;
}

.section-two-header-vectors {}
.section-two-header-vectors {
}

.section-two-first-graphic-wrapper {
margin-left: 20px;
Expand Down Expand Up @@ -3043,7 +3048,8 @@ table th {
font-size: 0.625rem;
}

.react-player {}
.react-player {
}

.section-three-try-it-button,
.section-four-try-it-button,
Expand Down Expand Up @@ -3406,7 +3412,8 @@ table th {
font-size: var(--fontSize-0);
}

.arrow {}
.arrow {
}

.global-footer-input-email::placeholder {
font-size: var(--fontSize-0);
Expand Down Expand Up @@ -3596,7 +3603,8 @@ table th {

@media (max-width: 42rem) {
blockquote {
padding: var(--spacing-0) var(--spacing-0) var(--spacing-0) var(--spacing-4);
padding: var(--spacing-0) var(--spacing-0) var(--spacing-0)
var(--spacing-4);
margin-left: var(--spacing-0);
}

Expand All @@ -3622,7 +3630,8 @@ table th {
background: url(./images/lp-podcast/img-bg.png) no-repeat center / cover;

@media (max-width: 991px) {
background: url(./images/lp-podcast/img-bg.png) no-repeat center right / cover;
background: url(./images/lp-podcast/img-bg.png) no-repeat center
right / cover;
}

.hero-container {
Expand Down Expand Up @@ -3999,12 +4008,14 @@ table th {
.signup-bg {
.section-top-bottom-padding();

background: #04192b url(./images/lp-podcast/signup-bg.png) no-repeat center / cover;
background: #04192b url(./images/lp-podcast/signup-bg.png) no-repeat
center / cover;
width: 100%;
height: auto;

@media (max-width: 767px) {
background: #04192b url(./images/lp-podcast/signup-bg.png) no-repeat center / contain;
background: #04192b url(./images/lp-podcast/signup-bg.png) no-repeat
center / contain;
}
}

Expand Down Expand Up @@ -4399,7 +4410,6 @@ table th {
}

&:last-child {

.estuary-value,
.competitor-value,
.matters-value {
Expand Down Expand Up @@ -4477,7 +4487,6 @@ table th {
}

a {

svg,
img {
height: 50px;
Expand Down Expand Up @@ -4935,7 +4944,8 @@ table th {
}

.main-content-wrap {
background: url(./images/product-demo-background.png) no-repeat top center / cover;
background: url(./images/product-demo-background.png) no-repeat top
center / cover;
width: 100%;
padding: 132px calc((100% - 1180px - 340px) / 2);
height: 100vh;
Expand Down Expand Up @@ -5887,7 +5897,7 @@ table th {
margin: 0;
}

&>table {
& > table {
width: 100%;
min-width: 400px;
margin-top: 0;
Expand Down Expand Up @@ -6001,7 +6011,6 @@ table th {

ul,
ol {

li span,
li a,
li {
Expand Down Expand Up @@ -6682,7 +6691,8 @@ table th {
}

.banner {
background: #04192b url('./images/pattern-sidebar-cta.svg') no-repeat bottom left / contain;
background: #04192b url('./images/pattern-sidebar-cta.svg')
no-repeat bottom left / contain;
text-align: center;
border-radius: 16px;
padding-top: 16px;
Expand All @@ -6705,7 +6715,8 @@ table th {
display: block;
width: 224px;
height: 128px;
background: url('./images/build-pipeline.svg') no-repeat bottom / contain;
background: url('./images/build-pipeline.svg') no-repeat bottom /
contain;
}

h3 {
Expand Down Expand Up @@ -6859,4 +6870,4 @@ table th {
--banner-font-size-lg: 18px;
--banner-font-size: 14px;
}
}
}
18 changes: 17 additions & 1 deletion src/templates/blog-post/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const BlogPostTemplate = ({ data: { post } }) => {

const authorSocialLink = post?.authors[0]?.link */

const hasBeenUpdated = post?.updatedAt
? post?.publishedAt !== post?.updatedAt
: false;

return (
<Layout>
<div className="blog-post-breadcrumbs-wrapper">
Expand Down Expand Up @@ -73,7 +77,16 @@ const BlogPostTemplate = ({ data: { post } }) => {
<div className="icon-info-wrapper">
<CalendarTodayOutlined className="icon" />
<span className="blog-post-date">
{post.publishedAt}
<span>
{hasBeenUpdated
? `Published ${post.publishedAt}`
: post.publishedAt}
</span>
{hasBeenUpdated ? (
<span>
Updated {post.updatedAt}
</span>
) : null}
</span>
</div>

Expand Down Expand Up @@ -340,6 +353,7 @@ export const Head = ({
},
},
'datePublished': post.machineReadablePublishDate,
'dateModified': post.machineReadableUpdateDate,
})}
</script>
</>
Expand All @@ -358,7 +372,9 @@ export const pageQuery = graphql`
post: strapiBlogPost(id: { eq: $id }) {
title: Title
publishedAt(formatString: "MMMM D, YYYY")
updatedAt(formatString: "MMMM D, YYYY")
machineReadablePublishDate: publishedAt(formatString: "YYYY-MM-DD")
machineReadableUpdateDate: updatedAt(formatString: "YYYY-MM-DD")
description: Description
slug: Slug
body: Body {
Expand Down
Loading