Skip to content

Commit

Permalink
Prettier/Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Becca Steinbrecher authored and Becca Steinbrecher committed Jul 20, 2022
1 parent cd85c84 commit b5a084d
Show file tree
Hide file tree
Showing 18 changed files with 131 additions and 94 deletions.
4 changes: 2 additions & 2 deletions src/components/Blog/ReleasePost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export const ReleasePost: FunctionComponent<Props> = ({
>
contact Sourcegraph
</a>
</Link>
{' '}with any licensing questions.
</Link>{' '}
with any licensing questions.
</div>
</>
)
Expand Down
3 changes: 2 additions & 1 deletion src/components/CaseStudies/CaseStudyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ export const CaseStudyCard: FunctionComponent<{ study: CaseStudy; bwLogo?: boole
</a>
</Link>
)}
</span>.
</span>
.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/RequestDemoTrySourcegraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const RequestDemoTrySourcegraph: FunctionComponent<Props> = () => (
data-button-type="cta"
>
<p className="mt-4 btn font-weight-bold text-curious-blue">Try Sourcegraph now</p>
</a>
</a>
</Link>
</div>
</div>
Expand Down
23 changes: 12 additions & 11 deletions src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
Sourcegraph handbook
</a>
{' '}has everything from our high-level{' '}
</a>{' '}
has everything from our high-level{' '}
<a
href="https://handbook.sourcegraph.com/strategy-goals/strategy"
title="Strategy"
Expand All @@ -73,8 +73,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
strategy
</a>
{' '}and{' '}
</a>{' '}
and{' '}
<a
href="https://handbook.sourcegraph.com/company/values"
title="Values"
Expand All @@ -93,8 +93,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
messaging
</a>
{' '}and{' '}
</a>{' '}
and{' '}
<a
href="https://handbook.sourcegraph.com/departments/product-engineering/engineering/process/principles-and-practices"
title="Engineering principles"
Expand Down Expand Up @@ -130,8 +130,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
all-remote
</a>
{' '}company, working asynchronously across time zones and continents. Meet our{' '}
</a>{' '}
company, working asynchronously across time zones and continents. Meet our{' '}
<a
href="https://handbook.sourcegraph.com/company/team"
title="Team members"
Expand All @@ -140,8 +140,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
team members
</a>
{' '}and learn about our commitment to{' '}
</a>{' '}
and learn about our commitment to{' '}
<a
href="https://handbook.sourcegraph.com/communication/code_of_conduct#our-standards"
title="Inclusion"
Expand All @@ -150,7 +150,8 @@ const About: FunctionComponent = () => (
data-button-type="cta"
>
inclusion
</a>.
</a>
.
</p>
<a
className="btn btn-primary mt-3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ export const CaseStudy: FunctionComponent = () => {
to be changed, but the internal platforms team had no real power to ensure the changes
happened or to even nudge them towards completion. “I actually did a bit of prototyping to
see if I could create JIRA issues based on the code searches,” Hodge said, as part of a
search for a way to help other team members actually make the changes that need to happen. When Sourcegraph's{' '}
search for a way to help other team members actually make the changes that need to happen.
When Sourcegraph's{' '}
<Link href="/blog/introducing-batch-changes/" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
Expand All @@ -96,8 +97,8 @@ export const CaseStudy: FunctionComponent = () => {
>
Batch Changes
</a>
</Link>
{' '}came out, Hodge immediately saw the value in further removing friction by letting one person
</Link>{' '}
came out, Hodge immediately saw the value in further removing friction by letting one person
update all versions of a library across the codebase and then notify all the service owners
so they could review.
</p>
Expand Down
31 changes: 16 additions & 15 deletions src/pages/case-studies/nutanix-fixed-log4j-with-sourcegraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ export const CaseStudy: FunctionComponent = () => (
. Jon used Sourcegraph to see where JMSAppender existed, fixed it, and sent out a release. “That
took almost less than five minutes,” Jon said. Sourcegraph released a{' '}
<Link href="/blog/log4j-log4shell-0-day/" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
title="blog post"
data-button-style={buttonStyle.text}
data-button-location={buttonLocation.body}
data-button-type="cta"
>
blog post
</a>
</Link>
{' '}that explained how other companies addressing Log4j could use code search for similar benefits.
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
title="blog post"
data-button-style={buttonStyle.text}
data-button-location={buttonLocation.body}
data-button-type="cta"
>
blog post
</a>
</Link>{' '}
that explained how other companies addressing Log4j could use code search for similar benefits.
</p>
<p>This speed gave the team a head start on mitigation.</p>
<p>Deploying these fixes required quality assurance and testing as well as discovery and fixing.</p>
Expand Down Expand Up @@ -234,9 +234,9 @@ export const CaseStudy: FunctionComponent = () => (
search contexts
</a>
</Link>
, Jon was able to share
relevant contexts and queries, showing the team how they could verify whether a given Log4j
instance was present or absent. He could show them precisely what they changed.
, Jon was able to share relevant contexts and queries, showing the team how they could verify
whether a given Log4j instance was present or absent. He could show them precisely what they
changed.
</p>
<p>
“We used Sourcegraph contexts to see specifically where a service was at any given point in
Expand Down Expand Up @@ -286,7 +286,8 @@ export const CaseStudy: FunctionComponent = () => (
>
find and fix the next vulnerability
</a>
</Link>.
</Link>
.
</p>
</section>
</ContentSection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export const CaseStudy: FunctionComponent = () => (
also saw an increase in issues due to overlooked code interdependencies when newer engineers
committed their code changes. The need for fast and accurate code search and cross-repository
code navigation led the engineering team to install Sourcegraph. As a FinTech company that
contains highly sensitive data from their customers, SoFi emphasizes on security and appreciated Sourcegraph's{' '}
contains highly sensitive data from their customers, SoFi emphasizes on security and appreciated
Sourcegraph's{' '}
<Link href="/blog/from-saas-to-on-premises" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
Expand All @@ -49,9 +50,10 @@ export const CaseStudy: FunctionComponent = () => (
data-button-location={buttonLocation.body}
data-button-type="cta"
>
on-prem solution
on-prem solution
</a>
</Link>.
</Link>
.
</p>
<h2 className="pt-5 pb-1">Move fast and don't break things</h2>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export const CaseStudy: FunctionComponent = () => {
<h2 className="pt-5 pb-1">Automating large-scale updates with Batch Changes</h2>

<p>
As an organization that values paying down tech debt, Workiva's Client Platform team started using Sourcegraph{' '}
As an organization that values paying down tech debt, Workiva's Client Platform team started
using Sourcegraph{' '}
<Link href="/batch-changes" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
Expand All @@ -82,10 +83,9 @@ export const CaseStudy: FunctionComponent = () => {
>
Batch Changes
</a>
</Link>
{' '}to help them efficiently
propagate updates to dependencies across all of their repositories without any ongoing
maintenance. The team has already used Batch Changes to:
</Link>{' '}
to help them efficiently propagate updates to dependencies across all of their repositories
without any ongoing maintenance. The team has already used Batch Changes to:
</p>

<ul className="mt-3">
Expand Down
18 changes: 11 additions & 7 deletions src/pages/community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ export const Community: FunctionComponent = () => (
data-button-type="cta"
>
speed sheet
</a>
{' '}with the most useful Sourcegraph shortcuts. Need even more speed? Fasten your seat belt and dive into our curated{' '}
</a>{' '}
with the most useful Sourcegraph shortcuts. Need even more speed? Fasten your seat belt and dive
into our curated{' '}
<a
href="https://learn.sourcegraph.com/tags/sourcegraph"
title="Tutorials"
Expand All @@ -72,8 +73,8 @@ export const Community: FunctionComponent = () => (
data-button-type="cta"
>
tutorials
</a>
{' '}&#38; other{' '}
</a>{' '}
&#38; other{' '}
<a
href="https://docs.sourcegraph.com/"
title="Tip documents"
Expand All @@ -82,7 +83,8 @@ export const Community: FunctionComponent = () => (
data-button-type="cta"
>
tip documents
</a>.
</a>
.
</p>
</div>
<div className="row">
Expand Down Expand Up @@ -246,7 +248,8 @@ export const Community: FunctionComponent = () => (
<div className="col-lg-7">
<h2 className="display-3 font-weight-bold mb-3">We’d love to hear from you!</h2>
<br />
Connect with us on the Sourcegraph Community Discord server, direct message us on Twitter, LinkedIn, or email us at{' '}
Connect with us on the Sourcegraph Community Discord server, direct message us on Twitter, LinkedIn,
or email us at{' '}
<a
href="mailto:[email protected]"
title="[email protected]"
Expand All @@ -255,7 +258,8 @@ export const Community: FunctionComponent = () => (
data-button-type="cta"
>
[email protected]
</a>.
</a>
.
</div>
<div className="col-lg-5 mt-3">
<a
Expand Down
3 changes: 2 additions & 1 deletion src/pages/hackathons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export const Pricing: FunctionComponent = () => {
data-button-type="cta"
>
installation docs
</a>.
</a>
.
</p>
<p>
When you're ready to present, check out the{' '}
Expand Down
8 changes: 4 additions & 4 deletions src/pages/partner-podcast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ const PartnerPodcastPage: FunctionComponent = () => {
Get started
</a>
</Link>
</span>
{' '}for free with up to 10 teammates or{' '}
</span>{' '}
for free with up to 10 teammates or{' '}
<span>
<Link href="/demo" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
Expand All @@ -147,8 +147,8 @@ const PartnerPodcastPage: FunctionComponent = () => {
request a demo
</a>
</Link>
</span>
{' '}to learn about our enterprise plan and to see Sourcegraph in your own environment.
</span>{' '}
to learn about our enterprise plan and to see Sourcegraph in your own environment.
</h5>
</section>
</div>
Expand Down
13 changes: 8 additions & 5 deletions src/pages/resources/abcs-book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export const AbcsEbook: FunctionComponent = () => (
data-button-type="cta"
>
via Twitter
</a>
{' '}or{' '}
</a>{' '}
or{' '}
<a
href="mailto:[email protected]"
title="Email"
Expand All @@ -122,7 +122,8 @@ export const AbcsEbook: FunctionComponent = () => (
data-button-type="cta"
>
email
</a>.
</a>
.
</p>

<p className="text-center">
Expand Down Expand Up @@ -165,7 +166,8 @@ export const AbcsEbook: FunctionComponent = () => (
<div className="col-md-10">
<h3 className="text-center">About Sourcegraph</h3>
<p>
Sourcegraph empowers all developers to explore, navigate and better understand all code, faster, with{' '}
Sourcegraph empowers all developers to explore, navigate and better understand all code, faster,
with{' '}
<Link href="/universal-code-search" passHref={true}>
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
<a
Expand All @@ -177,7 +179,8 @@ export const AbcsEbook: FunctionComponent = () => (
Universal Code Search
</a>
</Link>
. Sourcegraph's mission is to make it easier and faster for developers to work on solving problems.
. Sourcegraph's mission is to make it easier and faster for developers to work on solving
problems.
</p>
<p>
To learn more, get our ebook:{' '}
Expand Down
Loading

0 comments on commit b5a084d

Please sign in to comment.