Code Insights: Add the cloud version of the landing page
Created by: vovakulikov
Closes part of https://github.com/sourcegraph/sourcegraph/issues/30166 Desings Figma
Test plan
Just check that UI parts look good comparing to our landing page desings
Run this locally
sg start web-standalone
should be enough. In code insights code we check sourcegraphDotCome mode which is on for the local dev so you should see a cloud landing page by default on any /insights/ routes within the app. Note: you shouldn't see other app-related routes.
Also go to the CodeInsightsRouter.tsx
and set CLOUD_LANDING_PAGE
to true.
⚠ ️ Before merging
Make sure that CLOUD_LANDING_PAGE
is equal to false
to avoid releasing "work in progress" versions of the landing page.
Todo
-
Add the main layout for the landing page -
Add the first blank section -
Add quote section -
Add layout for the examples section -
Add picker logic for the examples section and reuse chart example components from the in-product landing page -
Add requirements and "install locally" sections/cards layouts -
Reuse template section from the in-product landing page -
Add footer with links layout
https://github.com/sourcegraph/sourcegraph/issues/31650
Important parts but it will be implemented in a separate PR-
Add promo video -
Add gif (hero image) for the first section -
Add pings -
Make sure that pings from the in-product landing page and cloud landing page work independently