-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(marketing): blog site #56
Conversation
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: james-a-morris <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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]>
src/app/_lib/contentful.ts
Outdated
content_type: contentType, | ||
limit, | ||
"fields.content[exists]": true, // no empty posts | ||
"fields.tag[in]": tags.join(","), // get posts with same tags |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great callout +1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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! 👏
// TODO: test this, make custom component if necessary | ||
case "video": | ||
return ( | ||
<video title={title} aria-description={description} src={file?.url}> |
There was a problem hiding this comment.
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}`;
There was a problem hiding this comment.
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]>
Signed-off-by: james-a-morris <[email protected]>
There was a problem hiding this 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]>
* 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]>
Introduces individual blog pages - it's recommended to use
/blog/tim
to find an example of a specific blog page.