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

feature/issue 34 blog landing page and all posts #84

Merged
merged 22 commits into from
Sep 5, 2024

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Aug 27, 2024

Related Issue

resolves #34 / #35

Screenshot 2024-09-02 at 1 17 24 PM
Screenshot 2024-09-02 at 1 17 37 PM
Screenshot 2024-09-02 at 1 17 45 PM
Screenshot 2024-08-26 at 9 43 23 PM
Screenshot 2024-08-26 at 9 43 34 PM
Screenshot 2024-08-27 at 9 48 23 PM

Summary of Changes

  1. Pull in all current blog content from the current website
  2. Leverage new content as to data to render blog posts landing page w/
    • (optional) coverImage frontmatter (optional)
    • published frontmatter and used for sorting
    • (optional) abstract frontmatter
  3. Pull over styles and images and align with current designs

TODO

  1. build is broken
        TypeError [ERR_INVALID_URL]: Invalid URL
             at new NodeError (node:internal/errors:405:5)
             at new URL (node:internal/url:676:13)
             at Object.enter (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/@greenwood/cli/src/plugins/resource/plugin-standard-css.js:55:13)
             at walkNode (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:169:36)
             at List.walkReducer (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:195:61)
             at List.reduce (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/utils/List.js:174:22)
             at Object.Value (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:103:31)
             at walkNode (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:180:41)
             at Object.Declaration (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:108:28)
             at walkNode (file:///Users/owenbuckley/Workspace/project-evergreen/www.greenwoodjs.dev/node_modules/css-tree/lib/walker/create.js:180:41) {
           input: './assets/link.svg',
           code: 'ERR_INVALID_URL'
         }
      
  2. how is activeFrontmatter working? 🤔
  3. check all posts for correct images / styles / etc
  4. Final responsiveness + browser checking / styling tweaks
  5. (new issue / nice to have) sticky footer - footer doesn't touch the bottom on desktop blog landing page - with the cards, the page is long enough, so no worries for now 😮‍💨
  6. first round internal feedback - feature/issue 34 blog landing page and all posts #84 (comment)

Upstreams

  1. Greenwood doesn't seen to hot reload graph data on frontmatter changes , and also rebuilding any content as data consumers (not sure if already tracking this) - support hot reloading content as data changes during development greenwood#1278
  2. (tracked) Content as Data greenwood#1167
  3. (tracked) import map merging not working? - rfc/issue 1167 content as data greenwood#1266
  4. (tracked) need to patch userWorkspace in SSR context? - provide initialized compilation to custom loader script (and resource plugins) greenwood#1273

Thoughts / Observations

  1. thoughts on block quote styling? - seems fine for now, can / will revisit as part of docs / guides
  2. should all (non <h1>) headings have a link? - yes
  3. (new issue) small caveat around positioning link headings - "deep link" headings and icon enhancements #89
  4. (new issue) content as data for - leverage content as data for the header component navigation content #88
    • header
    • latest post
  5. (new issue) glitchy header link rollovers (FF / Safari) - header navigation rollover is glitchy in Safari / FF #90

@thescientist13 thescientist13 added enhancement New feature or request needs upstream Notes that this item exposes an issue with a dependency (usually Greenwood) content Non Greenwood specific content like home page copy text, blog posts, etc labels Aug 27, 2024
@thescientist13 thescientist13 self-assigned this Aug 27, 2024
@thescientist13 thescientist13 linked an issue Aug 27, 2024 that may be closed by this pull request
6 tasks
Copy link

netlify bot commented Aug 27, 2024

Deploy Preview for super-tapioca-5987ce ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/super-tapioca-5987ce/deploys/66d62be86f15575dfad7e35a
😎 Deploy Preview https://deploy-preview-84--super-tapioca-5987ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@thescientist13 thescientist13 added the question Further information is requested label Aug 27, 2024
@thescientist13 thescientist13 changed the title feature/issue 34 blog landing and all posts feature/issue 34 blog landing page and all posts Aug 27, 2024
@thescientist13 thescientist13 marked this pull request as ready for review August 28, 2024 01:49
margin: var(--size-2);
}

.heading {
Copy link
Member Author

Choose a reason for hiding this comment

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

Good call out from @aholtzman
From the designs, we need to make this text a lot bigger and with the "pyramid" style of the news and text (e.g. the line break)
Screenshot 2024-08-28 at 7 37 19 PM

coverImage && coverImage !== "/assets/greenwood-logo-g.svg" ? "4px" : "14px";

return `
<li class="${styles.postsListItem}">
Copy link
Member Author

Choose a reason for hiding this comment

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

@aholtzman observed that the designs promote a more tradition card layout, where in the whole card should probably be wrapped in a link / clickable, and then we should match the heading and body text color / etc accordingly to match
Screenshot 2024-08-28 at 7 39 23 PM

And we should also try and keep the rounded corners to similar ratios / degrees, so rounding off the image instead of a circle (and then play around with the padding / spacing a bit)
Screenshot 2024-08-28 at 7 43 49 PM

@@ -70,3 +70,15 @@ app-header {
display: block;
margin: 10px 0 0;
}

h2 > a > span.icon {
Copy link
Member Author

Choose a reason for hiding this comment

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

for deep link headings, convention seems to be

  1. Show on hover
  2. (optionally) move it to the right
  3. freshen up the link SVG we're using?

@thescientist13
Copy link
Member Author

thescientist13 commented Sep 2, 2024

@thescientist13 thescientist13 merged commit 9031ce6 into main Sep 5, 2024
1 of 5 checks passed
@thescientist13 thescientist13 deleted the feature/issue-34-blog-pages branch September 5, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Non Greenwood specific content like home page copy text, blog posts, etc enhancement New feature or request needs upstream Notes that this item exposes an issue with a dependency (usually Greenwood) question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blog Post Details Page Blog Landing Page
1 participant