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

feat(marketing): blog site #56

Merged

Conversation

james-a-morris
Copy link
Contributor

@james-a-morris james-a-morris commented Aug 12, 2024

Introduces individual blog pages - it's recommended to use /blog/tim to find an example of a specific blog page.

Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Copy link

linear bot commented Aug 12, 2024

Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
across-to ✅ Ready (Inspect) Visit Preview 1 resolved Aug 26, 2024 3:06pm

Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
content_type: contentType,
limit,
"fields.content[exists]": true, // no empty posts
"fields.tag[in]": tags.join(","), // get posts with same tags
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be careful here: this is case sensitive. So, for example, the string uma will not match any entries if the tag is UMA on contentful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great callout +1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@gsteenkamp89 gsteenkamp89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell this is a very solid start! 👏

@james-a-morris james-a-morris changed the base branch from master to staging-blog August 21, 2024 14:26
@james-a-morris james-a-morris requested a review from dohaki August 21, 2024 14:29
// TODO: test this, make custom component if necessary
case "video":
return (
<video title={title} aria-description={description} src={file?.url}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the src here also needs the protocol, same as in<ContentfulImage />.

const urlWithProtocol = `https:${file?.url}`;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: james-a-morris <[email protected]>
Copy link
Collaborator

@dohaki dohaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff 💪 Left one small remark

Signed-off-by: james-a-morris <[email protected]>
@james-a-morris james-a-morris merged commit df8e413 into staging-blog Aug 26, 2024
4 checks passed
james-a-morris added a commit that referenced this pull request Oct 1, 2024
* feat(blog page): wip

Signed-off-by: james-a-morris <[email protected]>

* chore: breakup to component parts

Signed-off-by: james-a-morris <[email protected]>

* feat: addtl components

Signed-off-by: james-a-morris <[email protected]>

* chore: fix bug

Signed-off-by: james-a-morris <[email protected]>

* fix: url on vercel

Signed-off-by: james-a-morris <[email protected]>

* improve: addtl components

Signed-off-by: james-a-morris <[email protected]>

* chore: additional elements

Signed-off-by: james-a-morris <[email protected]>

* chore: rename components

Signed-off-by: james-a-morris <[email protected]>

* chore: add metatags

Signed-off-by: james-a-morris <[email protected]>

* chore: send to twitter url

Signed-off-by: james-a-morris <[email protected]>

* chore: lowercase tabs

Signed-off-by: james-a-morris <[email protected]>

* chore: video link with protocol identifier

Signed-off-by: james-a-morris <[email protected]>

* chore: remove dynamic call

Signed-off-by: james-a-morris <[email protected]>

---------

Signed-off-by: james-a-morris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants