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

Redirect root directory to sourcegraph.com/start #50

Merged
merged 5 commits into from
Oct 31, 2018

Conversation

francisschmaltz
Copy link
Contributor

@francisschmaltz francisschmaltz commented Oct 30, 2018

Create a redirect from about.sourcegraph.com to sourcegraph.com/start

@@ -96,22 +96,34 @@ export default class Footer extends React.Component<any, any> {
<input type="checkbox" />
<ul>
<li>
<Link to="/#search-datacenter" onClick={this.codeSearchClicked}>
<Link
to="https://sourcegraph.com/start#search-datacenter"
Copy link
Contributor

Choose a reason for hiding this comment

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

do these hashes actually take you anywhere?

Copy link
Contributor Author

@francisschmaltz francisschmaltz Oct 31, 2018

Choose a reason for hiding this comment

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

The will. The will open the modal – future enhancement

@francisschmaltz francisschmaltz merged commit 13a42f5 into master Oct 31, 2018
@attfarhan attfarhan deleted the fs/redirect-home branch October 31, 2018 00:11
bretthayes added a commit that referenced this pull request May 19, 2022
* colours and styles

* sticky footer, styles, and layout
bretthayes added a commit that referenced this pull request May 19, 2022
* Initial commit

* Initial Next skeleton

* Add ESLint and update boilerplate

* Add prettier

* Remove Image component for static build

* Move linting for Next to package.json; fix things

* Add space to config

* Pin Node

* Update lock file with recent package changes

* Review comments

* Add pages, assets, index page, and index logic

* Add all pages and update get pages regex logic

* Remove extra space and fix import issue in tsconfig

* components WIP

* port over styles, sass, bootstrap

* components WIP

* Port over public static assets

* fix quotes

* case study layout components WIP

* import fixes

* warning fixes

* case study components and pages WIP

* porting over all assets

* porting over all styles

* rm styles in root

* prettier

* optional chaining fix

* use git ignorecase false to fix case changes

* fix warnings and build errors

* discovered actions components in css folder

* prettier

* pr review fixes

* shish kebabbbb

* out dir

* strict

* prettier

* scoped imports and bug fix on quote prop

* another one

* Add content directory and terms

* html5 fixes

* bug fixes and visual fixes

* case study index and dependent components

* passhref

* alias

* prettier

* Fix Link import error

* Update api logic

* Initial dynamic template for terms

* Parse MD/ MDX

* Finalize parsing logic and clean up remaining styles in MD

* Update default exports and links

* Update links

* collocated jumbotron

* remove lowercase filenames

* links and collocated files

* temp rename header/footer

* rename Header/Footer

* fix build

* temp rename layout cause of case sensitivity cache

* Layout dir rename

* PascalCase Actions components dir

* actions temp rename cause of git cache

* actions components PascalCase rename fix

* Resolve lockfile conflicts

* Remove pages dir from top level

* Update index page and add anchor links styles

* Add paragraph backgrounds

* Add embedded hubspot component with MDX parsing

* Fix type error for components and set default value for region

* Add support for tables in MD

* Update MD to work with parsing on a elements specifically; fixes for mobile

* Add pre-commit hook

* Add no console log rule while here

* Revert test

* Add ContentPage component

* Add contact index page

* Remove unused interface

* Prettier

* Have optional Script that is passable to Layout

* Deal with more than one script at a time

* Prettier

* Make strategy optional since next/script provides default

* Add HubSpot create function and product specialist form

* Add CPT to codenotify

* Add Nextjs script id to embedded huspot

* Update stylesheet

* Add batch changes demo page

* Refactor HubSpot 'component' as hook

* Test

* Revert

* Add request-code-change-management-demo page

* Add request demo form and remove unused script

* Add request info form

* Add request trial form

* Prettier

* Use formId as nextjs script id

* Add get started index, gradients, and get started styles module

* Move queryString grab to hook

* Add Install component and self-hosted page

* Update cloud page and hook to deal with navigate from product

* Prettier

* Use targetId instead

* Remove JQuery references

* Remove unused const

* Remove fragment

* Hardcode single reference

* Prettier

* Update logic to handle no query and star svg filename

* Prettier

* Add text break for copy code to prevent overflow

* Toggle on querystring

* 404 and Use Cases page (#21)

* 404 page

* use cases page and dependant components

* use cases and 404 page fixes

* updating logos section via #5173

* rm logos section and fix linting errors

* Update HubSpot hook and embedded component (#38)

* Move script out of layout for terms pages and update embedded hubspot component

* Prettier

* Remove scripts from Layout and update contact pages

* Styles, colours, and layout changes (#50)

* colours and styles

* sticky footer, styles, and layout

* HubSpot/Chili Updates and Close Factor pages (#53)

* HubSpot port WIP

* close factor pages

* callback fix and region default

* close factor pages

* feedback fixes

* feedback

* optional region

* improvement for multi form support and submit cb

* prettier and form updates for pages

* move up interface

* Upgrade packages (#55)

* upgrade packages

* omit React import convention for jsx

* prettier

* a few more

* Add cookies policy page to terms (#60)

* Fix linting errors

* Add cookie policy page

* Prettier

* Port over Back Button (#54)

* back button component

* back button in getting started pages

* prettier

* linting

* Update lockfile (#59)

* Add batch changes page and components (#65)

* Add batch changes page and components

* Add review suggestions

* News page, styles, and spacings (#67)

* spacings

* news page, articles, style updates

* name change

* clear naming

* colocate pages with non page files

* spacing updates

* aesthetics

* Add pricing page and components (#63)

* Add pricing page and components

* Update react-bootstrap to avoid popper console warnings

* Prettier

* Review feedback

* Merge main and relocate tracking data attr

* Add code search page (#75)

* Add code search page and components

* Add the other prettier changes from other PRs etc

* Add Blog posts, components, and local caching system (#57)

* Initial commit of blog template and components

* Prettier

* Add local caching to work dynamically with differing slugs and numeric file path names and to bypass Next.js limitation in sharing between static paths and props

* Handle cases where frontmatter slugs do not match file name/ path

* Prettier

* Couple of inline elements updated to max-width standards

* Add newline prettierignore

* Remove unused interface export

* Add start script

* Import from components

* Make blog type to info exportable in components

* Random prettier change

* Replace bullets

* Update interfaces in config

* Revert config change

* New script, updates to lodash, revert import in interfaces file

* Remove unneeded check

* Error handling

* Port community page (#72)

* Transfer Community page
* Adjust list spacing
* replace list-spaced with bootstrap utility classes
* remove list-spaced in batch-changes, implement bootstrap utility classes on list
* point buttonStyle and buttonLocation to components, remove duplicate tracking.ts
* add nav-item overrride for styling tabs
* updated tab keys on What's Next
* organized classes in Community scss
* replace image styles with bootstrap or _spacing
* replace list-spaced class with bootstrap util on code-search
* correct What's Next tab colors for mobile
* add mobile tabs fix to Batch Changes scss

* resources (#77)

* Add use case pages (#73)

* Add links to index page

* Add components to index

* Add components index

* Add animated logos

* Add vuln use case page, carousels, assets, and modify use case index

* Prettier

* Add onboarding use case page

* Remove unused comment

* Update class names

* Update carousel classname

* Adjust carousels

* Remove unused mt

* White paper page and related components (#83)

* white papers WIP

* jumbotron rework

* cleanup

* nuke dupe component

* cleanup and bootstrap defaults

* prettier and linting fix

* improvements

* Port support page (#82)

* initial port

* incorporated helmet into Layout meta input

* Support components in progress

* remove support component

* implement configuration and bootstrap on Support page

* cleanup

* update links to match Pricing

* link and styling cleanup

* remove support scss file and import

* Fix MD posts (#107)

* Add some blog post updates

* Update record

* More records updated

* More files and add border blockquote to mdx

* More changes

* Remove comments

* Closing tags

* More posts

* Remaining records

* Rename script and add prebuild script

* Port/careers pg (#106)

* Replace new hero images & add alt props to img tags

* Adjust carousel indicator style

* Bring in Glassdoor reviews carousel

* Remove stale unused zoom assets

* missed zoom deletion

* Remove unused Culture slides

* Yarn prettier

* Cleanup Glassdoor quote

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Port/new nutanix case study + new layout (#103)

* CaseStudyCard hyperlink style update

* NewCaseStudyLayout jumbotron & logo quote

* CaseStudyLayout case study list & try/demo SG

* AuthorBio port

* Adjust to new spacing utility class

* Start re-use of UseChallengeSolutionResults lists

* Reusable ResultsCloserLook section

* remove unneeded case study scss

* Use BackButtonBold where applicable

* Lint/Prettier, change component name

* Githook test commit

* Lint

* Reduce redundant code in UseChallengeSolutionsResults

* A11y ignore missing href in anchor

* Conform prop data type to simplify TS logic

* Final QA feedback

* Yarn prettier

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Port over colour and gradient changes (#111)

* straight port of colour/gradient/style changes

* prettier

* Port/about pg (#108)

* initial port

* port LeadershipSection and BoardSection components

* port images

* cleanup about

* cleanup LeadershipSection and BoardSection components

* replace scss with bootstrap utility classes in LeadershipSection and about

* rm bio from BoardSection

* updates to styling on About

* consolidate header spacing

* point Layout meta.image values to local images throughout

* point fallback  meta.image to local version in Layout component

* restyle margin on investor logos

* Port cloud beta page (#109)

* initial port over

* transfer styling to bootstrap where possible on cloud-beta

* rm cloud-beta scss

* point Layout image to local path

* update path to join-the-waitlist svg

* Prettier updates (#115)

* Port/demo pg (#114)

* Port demo pg & update links

* Prettier

* import from @hooks

* Update blogpost demo link

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Add dev onboarding guide (#116)

* Add non-animated customer logos section and update contact pages (#119)

* Add uninstall page (#117)

* Add uninstall page

* Remove unused styles

* Add overview pdf (#127)

* Add blog index (#112)

* Add index components

* Add sorting logic to deal with lack of it in globby

* More console errors from markdown

* Prettier

* More console error fixes

* Add load more hook

* Prettier

* Fix image width

* Update index excerpt to use MDX parsing

* Fix slug issue on nested directories

* Don't show load more when there aren't more posts

* Remove the full prop since we are using separate components for indices

* Remove MDX parsing and pass strings instead for excerpts

* Add MD handling for excerpts

* Update md record

* Remove liveblog links and related component

* Add podcast records (#120)

* Add podcasts

* Finalize podcast template and add demo post for PoC for new parsing flow

* Update podcast records for new flow

* Update remaining podcasts

* Fix md in podcast for static build

* Remove space

* Remove gitignore from podcast directory

* Add time html element

* Use article elements in blogs and podcasts

* Add dev tools quiz (#126)

* Add code insights page & components (#122)

* Add code insights page and related components

* Fix styles on code insights charts components

* Set height on tab carousel and clean up some styles

* Add podcast index and components (#133)

* Add podcast index and components

* Add time element to blog and podcast index items for publishDate

* Port/hackathons page (#123)

* Hackathons landing pg

* Prettier

* Remove majority unused HubSpot css override assignments

* Remove custom hubspot styling

* Prettier

* Link tag for internal link, remove deprecated noopener

* Leave rel=noreferrer for lint rules

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Port/ remove cloud-beta, redirect to home, copy updates to get-started (#128)

* delete cloud beta page

* copy updates

* redirect cloud beta path to homepage

* rm Next redirects logic

* port over event logger to react hook (#139)

* port over notebooks section in code search page (#138)

* Port over Podcast Sponsorship pg (#137)

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Port over drift integration (#140)

* port over event logger to react hook

* add drift integration

* drift

* script fix

* prettier

* Update meta image and og meta (#141)

* meta updates from #5305

* new meta image

* remove meta props

* math path

* Port/code reuse use case (#143)

* Port over code reuse use-case

* Remove custom block border style prepping for Tailwind migration

* Lint/prettier

* Remove unneeded bold class & give Links same properties

* Bring over code reuse copy changes

* Refactor Blockquote props for simpler rendering

* Nutanix ThreeUpText

* Prettier

* Refine border utility class

* Link passHref prop & img alt addition

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Port/code health use case (#142)

* add Blockquote component and edit border style

* add Blockquote export

* linting corrections

* add Code Health link to Use Cases page

* white navbar style on Onboarding and Vulnerabilities Use Case pages

* port over Code Health Use Case page

* rm image from Layout on Code Health, Onboarding, and Vulnerabilities

* replace w BlockquoteWithBorder as in code reuse

* correct button tracking

* move tracking to Next Links

* swap in new components

* cleanup

* remove redundant bold text on a tags

* Port/incident response use case page (#146)

* port incident response use case page

* link to incident response from  use cases index

* Port over homepage (#144)

* data -> tracking and breakpoints

* homepage WIP

* file loader

* native svg import as react component support

* useEffect

* hero bg images

* mp4/webm support via imports

* prettier 🙃

* responsive box fixes

* video element

* observe element

* prettier

* prettier

* linting and prettier

* changes from #5340

* tracking and prettier

* port dev onboarding ebook guide page (#150)

* port marketing feedback on incident response page (#151)

* Port/press release page (#145)

* port press release markdown files

* initial port for press release index and template

* add press release list item, rename directory, blog type logic

* point getStaticPaths to press release

* simplify directory name

* au revoir to a few blog post class styles

* Prettier

* remove ref in markdown file throwing error

* update style to className in markdown file throwing error

* implement components alias on posts ts

* image path in press release slug

* responsive spacing on press and blog list items

* move blog component imports, rename blog list and blog resource components

* more import fixes

* rm unused classes in blog items

* change imports back

* Redirects and cleanup (#147)

* add netlify redirects

* redirect updates, cleanup, node v, and readme

* build status badge

* Netlify config and follow up for redirects (#153)

* out dir

* updates to redirects

* test rm force

* redirects, file renaming, and broken link updates

* test redirect precedence

* /terms-dotcom redirect to /terms/cloud

* issue and PR templates

* prettier

* Port over hubspot form loading fix (#164)

* Port over hubspot form loading fix

* add code insights to header, add chilipiper to code insights

* Remove redundant meta img value

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>
Co-authored-by: Tim Zielonko <tim.zielonko@sourcegraph.com>

* Port/New webinar pages (#162)

* Port Nutanix webinar

* Code Insights webinar

* Refactor port over

* QA updates

Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>

* Markdown Updates (#166)

* update broken footer links

* terms WIP

* terms markdown markup

* update links to relative and new URIs

* more link edits

* md updates WIP

* update from #5359

* updates from #5355

* updates from #5355

* add workflows

Co-authored-by: Kathleen Juell <kathleenjuell@gmail.com>
Co-authored-by: Tim Zielonko <60713139+zlonko@users.noreply.github.com>
Co-authored-by: Becca Steinbrecher <59381432+st0nebraker@users.noreply.github.com>
Co-authored-by: Becca Steinbrecher <becca.steinbrecher@sourcegraph.com@Beccas-MBP.lan>
Co-authored-by: Tim Zielonko <tim.zielonko@sourcegraph.com>
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