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
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
28 changes: 14 additions & 14 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions website/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

onClick={this.codeSearchClicked}
>
Code Search
</Link>
</li>
<li>
<Link to="/#intelligence-ntegrations" onClick={this.codeIntelligenceClicked}>
<Link
to="https://sourcegraph.com/start#intelligence-ntegrations"
onClick={this.codeIntelligenceClicked}
>
Code Intelligence
</Link>
</li>
<li>
<Link to="/#search-datacenter" onClick={this.dataCenterClicked}>
<Link
to="https://sourcegraph.com/start#search-datacenter"
onClick={this.dataCenterClicked}
>
Data Center
</Link>
</li>
<li>
<Link to="/#intelligence-integrations" onClick={this.integrationsClicked}>
<Link
to="https://sourcegraph.com/start#intelligence-integrations"
onClick={this.integrationsClicked}
>
Integrations
</Link>
</li>
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class Header extends React.Component<HeaderProps, any> {
return (
<nav className="header navbar navbar-light navbar-expand-md">
<div className="container-fluid">
<a className="navbar-brand" href="/">
<a className="navbar-brand" href="https://sourcegraph.com/start">
<img src="/sourcegraph/logo.svg" alt="logo" />
</a>
<button
Expand Down
2 changes: 2 additions & 0 deletions website/static/_redirects
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/ https://sourcegraph.com/start 301

/blog/sourecgraph-liveblogging-at-gophercon-2018 /blog/sourcegraph-liveblogging-at-gophercon-2018 301
/go/sourcegraph-liveblogging-at-gophercon-2018-go /blog/sourcegraph-liveblogging-at-gophercon-2018 301
/go/go-in-debian /go/gophercon-2018-go-in-debian/ 301
Expand Down