Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
# ========== INDIVIDUAL REDIRECTS ==========
[[redirects]]
from = "/contact/sales"
to = "/contact/product-specialist"
to = "/demo"
status = 301

[[redirects]]
Expand All @@ -125,4 +125,12 @@
from = "/cloud-beta"
to = "/"
status = 301

[[redirects]]
from = "/contact/product-specialist"
to = "/demo"

[[redirects]]
from = "/use-cases/vulnerabilities"
to = "/use-cases/code-security"
# ========== END INDIVIDUAL REDIRECTS ==========
2 changes: 1 addition & 1 deletion src/components/Actions/ContactPresalesSupportAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props {
}

export const ContactPresalesSupportAction: FunctionComponent<Props> = ({ className = '' }) => (
<Link href="/contact/product-specialist" passHref={true}>
<Link href="/demo" passHref={true}>
<a href="#none" className={`d-flex align-items-center text-decoration-none ${className}`}>
Talk to a product specialist
<ArrowRightBoxIcon className="text-primary ml-1" />
Expand Down
3 changes: 1 addition & 2 deletions src/components/Blog/ReleasePost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export const ReleasePost: FunctionComponent<Props> = ({
</li>
</ul>
<div className="card-body release-post__body">
* Please <Link href="/contact/product-specialist/">contact Sourcegraph</Link> with any licensing
questions.
* Please <Link href="/demo">contact Sourcegraph</Link> with any licensing questions.
</div>
</>
)
Expand Down
4 changes: 2 additions & 2 deletions src/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ const Footer: FunctionComponent<Props> = ({ minimal, className }) => (
<h3 className="footer__nav-header">About Sourcegraph</h3>
<ul className="nav flex-column">
<li className="nav-item">
<Link href="/case-studies">Case studies</Link>
<Link href="/use-cases">Use cases</Link>
</li>
<li className="nav-item">
<Link href="/use-cases">Use cases</Link>
<Link href="/case-studies">Case studies</Link>
</li>
<li className="nav-item">
<Link href="/pricing">Pricing</Link>
Expand Down
280 changes: 0 additions & 280 deletions src/components/Layout/Header.tsx

This file was deleted.

Loading