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

Add post type for press releases #1617

Merged
merged 8 commits into from
Sep 23, 2020
Merged

Add post type for press releases #1617

merged 8 commits into from
Sep 23, 2020

Conversation

aileenrose
Copy link
Contributor

@aileenrose aileenrose commented Sep 21, 2020

Add post type for press releases.

  • path should be: about.sourcegraph.com/press-release/
  • created the post template PressReleasePost.tsx
    -- Banner header should be 'Press release` with no link back to /blog. Actually, it should be linked back to /news.
    -- Post page should not display post published date, since PR date is within the post body.
  • added redirects from old path /press-releases to singular /press-release

For review:
https://deploy-preview-1617--sourcegraph.netlify.app/press-release/
https://deploy-preview-1617--sourcegraph.netlify.app/press-release/sourcegraph-secures-series-b/
https://deploy-preview-1617--sourcegraph.netlify.app/press-release/sourcegraph-announces-new-gitlab-native-integration/
https://deploy-preview-1617--sourcegraph.netlify.app/press-release/our-abcs-childrens-book/
https://deploy-preview-1617--sourcegraph.netlify.app/news/ (links updated now /press-release/[slug] )

@aileenrose aileenrose requested a review from sqs September 21, 2020 23:55
@github-actions
Copy link

github-actions bot commented Sep 21, 2020

Notifying subscribers in CODENOTIFY files for diff 213ce11...239fbb4.

Notify File(s)
@sourcegraph/marketing website/gatsby-config.js, website/gatsby-node.js, website/src/components/NewsList.tsx, website/src/components/blog/PressReleasePost.tsx, website/src/components/blog/postTypes.tsx, website/src/data/news-listing.json, website/src/pages/news.tsx, website/src/pages/press-release.tsx, website/src/templates/PostTemplate.tsx, website/static/_redirects

@aileenrose aileenrose marked this pull request as ready for review September 22, 2020 21:02
@aileenrose aileenrose requested a review from a team September 22, 2020 21:03
Copy link
Contributor

@lorihey lorihey left a comment

Choose a reason for hiding this comment

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

  1. https://deploy-preview-1617--sourcegraph.netlify.app/news/
    This page subhead says News 2020, but since this page includes both news and press releases, and since it includes items from 2019 also, I'd just remove the subhead (News 2020) completely.
  2. https://deploy-preview-1617--sourcegraph.netlify.app/press-release/
    Can you add the Offleash PR contact info to the bottom of this page -- the same that's on the bottom of this page: https://deploy-preview-1617--sourcegraph.netlify.app/news/
  3. https://deploy-preview-1617--sourcegraph.netlify.app/press-release/ -- I find these summaries hard to read, since they're pulling in all the copy at the top of the page -- the title, subtitle, and opening line of the press release. Is there a way to make this cleaner? Maybe eliminate the subhead? Maybe add some sort of punctuation element (if possible) in between the title and the opening line of copy? I understand that this is how the content is being pulled from the individual press releases pages, but it just looks all mushed together this way.

@aileenrose
Copy link
Contributor Author

  1. https://deploy-preview-1617--sourcegraph.netlify.app/news/
    This page subhead says News 2020, but since this page includes both news and press releases, and since it includes items from 2019 also, I'd just remove the subhead (News 2020) completely.

There is a 2019 subhead, but I'll leave as is.

  1. https://deploy-preview-1617--sourcegraph.netlify.app/press-release/
    Can you add the Offleash PR contact info to the bottom of this page -- the same that's on the bottom of this page: https://deploy-preview-1617--sourcegraph.netlify.app/news/

I can add.

  1. https://deploy-preview-1617--sourcegraph.netlify.app/press-release/ -- I find these summaries hard to read, since they're pulling in all the copy at the top of the page -- the title, subtitle, and opening line of the press release. Is there a way to make this cleaner? Maybe eliminate the subhead? Maybe add some sort of punctuation element (if possible) in between the title and the opening line of copy? I understand that this is how the content is being pulled from the individual press releases pages, but it just looks all mushed together this way.

I'll need to look at restructuring that layout.

- added descriptions to individual press releases to improve excerpts
- add anchor links to 2019 and 2020 for /news
@aileenrose aileenrose merged commit a038406 into main Sep 23, 2020
@aileenrose aileenrose deleted the aa/add-press-releases branch September 23, 2020 00:02
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.

None yet

2 participants