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
Show all changes
60 commits
Select commit Hold shift + click to select a range
a5ac80c
init incident-response use case page
zlonko Apr 13, 2022
93d5406
Merge main into incident-response-use-case
zlonko Apr 13, 2022
88f4204
squash! Prettier
zlonko Apr 13, 2022
370d5eb
align styling with Figma wireframe, update meta
zlonko Apr 13, 2022
fdfefb4
cleanup
zlonko Apr 13, 2022
e3a748a
resolve conflicts
zlonko Apr 13, 2022
010a69c
squash! Prettier
zlonko Apr 13, 2022
9aaa037
add link to incident-response on use-case index
zlonko Apr 14, 2022
3e9ebea
run prettier
zlonko Apr 14, 2022
019232c
merge
zlonko Apr 14, 2022
3746a6c
add CTA tracking to incident-response
zlonko Apr 14, 2022
24e779f
merge main
zlonko Apr 14, 2022
22aeb73
add default height on carousel components
zlonko Apr 19, 2022
cdabd65
Fixes for carousels
katjuell Apr 19, 2022
8f284b8
Add tracking for other use cases pages
katjuell Apr 19, 2022
7a93973
Merge branch 'main' into incident-response-use-case
katjuell Apr 19, 2022
3cb23b0
reduce quote carousel blockquote height
zlonko Apr 19, 2022
4b45197
initial code health copy
zlonko Apr 20, 2022
1de78db
responsive heights for quote block
zlonko Apr 20, 2022
873cbb9
squash! Prettier
zlonko Apr 20, 2022
1b3166f
change spacing increments and add height for extra small screens
zlonko Apr 20, 2022
d937997
merge
zlonko Apr 20, 2022
7193316
link to code health from use cases landing page
zlonko Apr 20, 2022
c29c369
add icons, copy, spacing to code health
zlonko Apr 20, 2022
db6e365
edit Blockquote and BlockquoteWithLogoBottom for copy requirements
zlonko Apr 20, 2022
3bbb1ea
Merge branch 'incident-response-use-case' into code-health-use-case
zlonko Apr 20, 2022
8309430
spacing updates for mobile
zlonko Apr 20, 2022
76b0f3b
qa copy and spacing updates
zlonko Apr 22, 2022
6e3901a
increase spacing on three columns
zlonko Apr 22, 2022
bbaabba
small change
zlonko Apr 22, 2022
7140251
break line in hero header
zlonko Apr 22, 2022
75976e0
header breakpoints
zlonko Apr 22, 2022
f5faedb
refactor blockquote styling
zlonko Apr 25, 2022
a6f9ce3
more blockquote refactoring
zlonko Apr 25, 2022
e050e5f
squash! Prettier
zlonko Apr 25, 2022
e9bd672
adjust blockquote spacing and align left border
zlonko Apr 25, 2022
214c361
Merge branch 'code-health-use-case' of github.com:sourcegraph/about i…
zlonko Apr 25, 2022
68f65b7
Merge remote-tracking branch 'origin' into code-health-use-case
zlonko Apr 25, 2022
2e4b734
white nav bar in code health
zlonko Apr 26, 2022
a568bc2
update other use case page nav bars
zlonko Apr 26, 2022
2154e0a
copy updates from marketing
zlonko Apr 26, 2022
d212c68
center cloudflare logo
zlonko Apr 27, 2022
8e1097f
squash! Prettier
zlonko Apr 27, 2022
9c91018
What does that mean for you, copy update
zlonko Apr 27, 2022
4d332ea
Merge branch 'tim/incident-response-use-case-non-blocking' of github.…
zlonko Apr 27, 2022
40377bb
revert logo size
zlonko Apr 27, 2022
9c9cbde
copy update
zlonko Apr 27, 2022
91d02dd
resolve merge conflicts
zlonko Apr 28, 2022
d3f862f
spacing adjustment
zlonko Apr 28, 2022
f00de92
Merge branch 'incident-response-use-case' into tim/incident-response-…
zlonko Apr 28, 2022
95a877b
merge conflicts
zlonko Apr 28, 2022
11a8bad
Merge branch 'incident-response-use-case' into code-health-use-case
zlonko Apr 28, 2022
56bc8c0
swap in new CustomerLogos component
zlonko Apr 28, 2022
e140664
Merge branch 'tim/incident-response-use-case-non-blocking' into code-…
zlonko Apr 28, 2022
089f52e
qa feedback
zlonko Apr 28, 2022
f76e7e7
progressive spacing on Get Started, from Code Reuse
zlonko Apr 28, 2022
dd987d8
merge conflicts
zlonko Apr 28, 2022
3cb96fe
progressive spacing from Code Reuse
zlonko Apr 28, 2022
301d691
copy edit to Track and Improve section
zlonko May 3, 2022
14cee44
merge conflicts
zlonko May 3, 2022
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
34 changes: 25 additions & 9 deletions website/src/components/Blockquote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,45 @@ export const Blockquote: FunctionComponent<{
logoAlt?: string
border?: boolean
headline?: string
}> = ({ quote, by, logoImage, border, headline, logoAlt }) => {
const quoteStyles = 'p-3 rounded rounded-lg text-center'

link?: string
linkText?: string
}> = ({ quote, by, logoImage, border, headline, logoAlt, link, linkText }) => {
return (
<>
<blockquote
className={
border
? classNames(quoteStyles, 'case-studies__quote--in-content')
: classNames(quoteStyles, 'bg-light')
? classNames('px-3 text-center mt-6 mb-5 border-vermillion case-studies__quote--border')
: classNames('p-3 text-center bg-light')
}
>
{border && headline ? (
<div className="case-studies__quote--in-content--section">
<h5 className="font-weight-bold mb-4">{headline}</h5>
<div className="font-weight-normal">&ldquo;{quote}&rdquo;</div>
<div className="">
<h4 className="font-weight-bold mb-4">{headline}</h4>
<h5 className="font-weight-normal">&ldquo;{quote}&rdquo;</h5>
</div>
) : (
<h3 className="font-weight-normal">&ldquo;{quote}&rdquo;</h3>
)}
{by && <figcaption className="text-center text-muted pt-4">&mdash; {by}</figcaption>}
</blockquote>

{logoImage && logoAlt && (
<div className="d-flex justify-content-center">
<img src={logoImage} width="110px" alt={logoAlt} />
</div>
)}
{linkText && link && link.includes('http') && (
<a href={link} target="_blank" rel="nofollow noopener noreferrer">
{linkText}
</a>
)}
{linkText && link && !link.includes('http') && (
<Link to={link} className="d-flex justify-content-center mt-3">
<p className="font-weight-bold">{linkText}</p>
<ArrowRightIcon className="icon-inline ml-1" />
</Link>
)}
</>
)
}
Expand All @@ -54,7 +66,11 @@ export const BlockquoteWithLogoBottom: FunctionComponent<{
<>
{header && <h1 className="font-weight-bold">{header}</h1>}
<blockquote className="p-3 rounded rounded-lg d-flex flex-column bg-transparent">
<h4 className="font-weight-normal">&ldquo;{quote}&rdquo;</h4>
<h4 className="font-weight-normal">
{by && <>&ldquo;</>}
{quote}
{by && <>&rdquo;</>}
</h4>
{by && <figcaption className="pt-3 text-muted text-center">&mdash; {by}</figcaption>}
</blockquote>
{logoImage && logoAlt && (
Expand Down
20 changes: 2 additions & 18 deletions website/src/css/pages/__case_studies.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,8 @@
font-weight: 400;
}

&--in-content {
margin: 2rem 0;

p {
padding-left: 1rem;
border-left: 3px solid #f86012;
font-weight: 600;
font-size: 1.2rem;
line-height: 1.5;
}

&--section {
padding-left: 1rem;
border-left: 3px solid #f86012;
font-weight: 600;
font-size: 1.2rem;
line-height: 1.5;
}
&--border {
border-left: 2px solid;
}
}
}
Expand Down
Loading