Skip to content

Commit

Permalink
Merge pull request #4 from dxe/jake/add-email-petition
Browse files Browse the repository at this point in the history
add email petition letter
  • Loading branch information
jakehobbs authored Mar 17, 2024
2 parents d6a2de3 + f9a26a3 commit 98e34a6
Show file tree
Hide file tree
Showing 31 changed files with 4,394 additions and 3,621 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ yarn-error.log*

# typescript
*.tsbuildinfo

# pnpm
pnpm-lock.yaml
2 changes: 0 additions & 2 deletions components/CasePage/Article.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { LinkPreview } from "@dhaiwat10/react-link-preview";

export const Article = (props: ArticleProps) => {
return (
<div className="iframely-embed my-3">
Expand Down
1 change: 0 additions & 1 deletion components/CasePage/Press.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Script from "next/script";
import { useEffect } from "react";

export const Press = (props: PressProps) => {
Expand Down
6 changes: 3 additions & 3 deletions components/HomePage/Case.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import Link from "next/link";
export const Case = (props: CaseProps) => {
return (
<Col>
<Link href={`/${props.page}`} passHref>
<Link href={`/${props.page}`} legacyBehavior>
<div style={{ position: "relative", cursor: "pointer" }}>
<img src={`/img/${props.image}`} className="img-fluid" alt="" />
{props.past && <div className="past-case-text">Past Case</div>}
</div>
</Link>

<div className="featured-text text-center text-lg-left">
<Link href={`/${props.page}`} passHref>
<Link href={`/${props.page}`} legacyBehavior>
<h4 style={{ cursor: "pointer" }}>{props.name}</h4>
</Link>

<Link href={`/${props.page}`} passHref>
<Link href={`/${props.page}`} legacyBehavior>
<h5 style={{ cursor: "pointer" }}>{props.location}</h5>
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/HomePage/FeaturedCase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const FeaturedCase = (props: FeaturedCaseProps) => {
>
<div>{props.children}</div>
<p className="text-white mt-4 mb-5 text-center mx-auto">
<Link href={`/${props.page}`} passHref>
<Link href={`/${props.page}`} legacyBehavior>
<Button>Learn more</Button>
</Link>
</p>
Expand Down
Loading

0 comments on commit 98e34a6

Please sign in to comment.