-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Express Blog #1519
Express Blog #1519
Conversation
- add blog post to header - add min height to posts page - add blog/posts index page
- add single template style to posts page; will handle all post displays - build posts template styles
- add futher posts index styles (based on shopify blog UI) - remove parens in liquid
- liquid func to strip out top part of excerpt - add active to first item
- add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout
- add search bar style adjustments
- adjust tags side menu and remove from workflow - add in second side menu - add How To write Post page - add more styles
- add example post page layout - add all links to side menu
- readd post width 100%; imgs are not all same size this way - add border to post - change menu text color - save 3 sample posts to use for preview - will need deletig
- update file names
- change file name
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- change updated file name - fix wrong example link - fix wrong div placement
…into blog - add lang to href
Good idea using the layout to solve the problem. I moved all the logic there expect the basic stuff. |
- lower transition fade time
lowered transition time and I think it looks better. |
Just a note to say that I want to work with this, and I have a few final changes in mind, but I've been down and out with Covid for the last week. |
I made a bunch more changes to the fork/branch:
Currently, there's an error in the terminal when the image is loaded
I assume this is something to do with media queries. Not sure if it's anything we need to fix or if we can just ignore it. At this point, I think this PR is "done enough" to prepare it for final review and merging:
|
OR:
|
Sorry for the scope of the changes @chrisdel101; I just thought it would be easier to demonstrate what I had in mind rather than explain and discuss it. Essentially, the "home page" of a blog should be like the home page/front page of a news site, which always shows the latest/current headline, and not a chronological list of articles like an archive. It's not an exact analogy, since the blog only has one latest article (not a bunch every day like a newspaper), but I think you get the idea. I modified the /posts page to remove the extra heading, and added a new link to the Blog menu for "All posts". I believe this addresses the mobile access concern, too. I fixed broken link in the menu, which seems to have been a artifact of how I was linking it. So, I think I addressed all the concerns you raised. LMK. I'd love to see a few more styling changes, which I didn't get a chance to do... Otherwise I think we're getting close to being done:
|
- add mobile styles to write.md image - remove unused cond in post.html - remove active class in post.md
No worries @chrisdel101, thanks for checking in... Sorry about your situation, but don't lose heart... I wish you best of luck and appreciate your contributions. This all looks good. Let's make a final TO DO list, and then send this PR off! We can always add more polish, etc., in future PRs. TO DO BEFORE MERGE:
LMK if you have any others. |
- remove dumm posts - move inline styles from post - remove css comments - add small margins
- Remove image - undo css first child change
I've made those changes and things are looking pretty good in the preview. A made a few other minor changes, mostly small amounts of margin, and moved some inline styles into the css file for maintainability. If you see anything out of place let me know and I can fix it before it goes live. I'll look for a fix to that retina error down the road. |
I think this is ready to merge, thanks so much for all your work @chrisdel101 .... @UlisesGascon I'm not sure why the check-translation test is failing? Can you help? Initially, the blog will be English-only and IMO we shouldn't hold it up for i18n. I would just land it, but ideally would like to understand what's going on with this test failure. |
We'll figure out the failing tests later. Thanks for all your work on this @chrisdel101 ! |
* Issue expressjs#1483 - add blog post to header - add min height to posts page - add blog/posts index page * Issue expressjs#1483 - add single template style to posts page; will handle all post displays - build posts template styles * Issue expressjs#1483 - add futher posts index styles (based on shopify blog UI) - remove parens in liquid * Issue expressjs#1483 - liquid func to strip out top part of excerpt - add active to first item * Issue expressjs#1483 - add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout * Issue expressjs#1483 - add search bar style adjustments * Issue expressjs#1483 - adjust tags side menu and remove from workflow - add in second side menu - add How To write Post page - add more styles * Issue expressjs#1483 - add example post page layout - add all links to side menu * Issue expressjs#1483 - readd post width 100%; imgs are not all same size this way - add border to post - change menu text color - save 3 sample posts to use for preview - will need deletig * Issue expressjs#1483 - update file names * Issue expressjs#1483 - change file name * Issue expressjs#1483 - change updated file name - fix wrong example link - fix wrong div placement * PR expressjs#1519 - remove example post - add Posts menu to gutter * PR expressjs#1519 - add href to posts menu - add styles to post menu - adjust dark styles to post menu * PR expressjs#1519 - adjust posts filter author - add Welcome post * PR expressjs#1519 - small text changes * PR expressjs#1519 - revamp write a post instructions - re-name css variables - increase post font size - add custom image to blog - add comment about img * PR expressjs#1519 - adjust headings - small adjust content * PR expressjs#1519 - add new line about pre-approval * Update css/style.css Co-authored-by: Michael Esteban <[email protected]> * PR expressjs#1519 - add bullet about how to use preview feature * PR expressjs#1519 - fix typo * fix typo * Update 2024-05-25-welcome-post.md Some edits to the initial blog post. * Update 2024-05-25-welcome-post.md - Add blank subtitle * PR expressjs#1519 - remove image and related markup/css * Add blog to jekyll config, update blog layout template * PR expressjs#1519 - move more to config - add conds to all to avoid errors in layout - remove excerpt sep since it's not needed * PR expressjs#1519 - remove quotes - update write file * PR expressjs#1519 - lower transition fade time * Further changes, hopefully close to final * Fix issues that Chris raised, etc. * Add all posts to blog menu * Change link for Blog menu item to latest post * PR expressjs#1519 - add mobile styles to write.md image - remove unused cond in post.html - remove active class in post.md * PR expressjs#1519 Small styles remove dummies - remove dumm posts - move inline styles from post - remove css comments - add small margins * PR expressjs#1519 - Remove image - undo css first child change --------- Co-authored-by: Michael Esteban <[email protected]> Co-authored-by: Rand McKinney <[email protected]>
So hoping you can live preview this before making it live. With that in mind, I've not added any photos.
The feature includes the
/posts
page, the/write-posts
page, and the/example-post
page. The last two are very similar. If they are too similiar we can get rid of the latter.You can visit the individual posts themselves by clicking on the title
Review item: Would you rather have the entire div clickable? Or okay as is?
There are some changes made to the search bar to make it fit with added list items. It's only been tested on mac, so hopefully it works on windows.
The gutter menu is just another listing of the blog links. There is also a menu for tags, but since there are not enough tags, this isn't super useful right now. If it's okay to just leave this unused, great. Else, we can delete it from the code base.
Last, there are 3 dummy posts used to populate the posts page. After preview reviewing is complete, we will need to delete those as they are only for the purposes of review. Those are the ones entitled
sample-post
.If there are no posts this is what displays
Let me know if you find any bugs :)
PS - I have no idea what those build errors mean.
PSS - I added some comments to the files so you know what they are doing (I seriously hope you did not get notifications for all of those! If you did, sorry!) Also, I assigned you guys to this PR. I hope that's okay :)