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

Remove marketing blocks from PRODUCT mode home page #2780

Merged
merged 6 commits into from
Apr 5, 2022

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Apr 5, 2022

Screenshot from 2022-04-05 12-21-25

@codecov
Copy link

codecov bot commented Apr 5, 2022

Codecov Report

Merging #2780 (f885c1f) into master (b9fc259) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #2780   +/-   ##
=======================================
  Coverage   41.08%   41.08%           
=======================================
  Files         561      561           
  Lines       25733    25733           
  Branches     3547     3547           
=======================================
  Hits        10572    10572           
+ Misses      14375    14374    -1     
- Partials      786      787    +1     
Flag Coverage Δ
api-python 90.71% <ø> (ø)
catalog 13.16% <0.00%> (ø)
lambda 87.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
catalog/app/containers/NavBar/NavBar.tsx 20.24% <0.00%> (-0.26%) ⬇️
...talog/app/website/pages/Landing/Buckets/Buckets.js 0.00% <ø> (ø)
catalog/app/website/pages/Landing/Landing.js 0.00% <0.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@fiskus fiskus requested a review from nl0 April 5, 2022 10:09
@@ -389,13 +389,13 @@ function useLinks(): LinkDescriptor[] {
label: 'URI',
path: paths.uriResolver,
},
{ href: URLS.docs, label: 'Docs' },
cfg.mode !== 'PRODUCT' && { href: URLS.docs, label: 'Docs' },
Copy link
Member

Choose a reason for hiding this comment

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

i think we should keep the documentation link

Copy link
Member Author

Choose a reason for hiding this comment

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

Aneesh asked to remove it. I thought we should keep it too.

But after removing all marketing blocks docs link in the footer become visible now, and probably redundant

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, we have docs links in-place where something goes wrong and user should want to check the docs :)

{showMarketingBlocks && <CaseStudies />}
{showMarketingBlocks && <Testimonials />}
{showMarketingBlocks && <Platform />}
{showMarketingBlocks && <Highlights />}
Copy link
Member

Choose a reason for hiding this comment

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

we could wrap these into a fragment and keep only one check before it, e.g.:

{showMarketingBlocks && (
  <>
    <Showcase />
    <UseQuilt />
    ...
  </>
)}

no big deal tho, up to you

@fiskus fiskus merged commit a2072dc into master Apr 5, 2022
@fiskus fiskus deleted the product-no-marketing branch April 5, 2022 12:04
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.

2 participants