Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

swapped out logo images on home page #397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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: 4 additions & 6 deletions src/components/Home/ContentCard.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Grid, Link } from "@trussworks/react-uswds";
import { ReactNode } from "react";

type ContentCardProps = {
logo: ReactNode;
logo: string;
header: string;
body: string;
cta: string;
Expand All @@ -11,11 +10,11 @@ type ContentCardProps = {
function ContentCard({ logo, header, body, cta, url }: ContentCardProps) {
return (
<Grid tablet={{ col: true }}>
<div className="margin-y-3">
<div className="margin-bottom-3 margin-top-6 margin-left-3">
<div className="height-8 display-flex flex-justify-center flex-align-center">
{logo}
<img alt="logo" src={logo} />
</div>
<h2 className="margin-y-2">{header}</h2>
<h2 className="margin-bottom-2 margin-top-10">{header}</h2>
<p>{body}</p>
<Link href={url} target="_blank" variant="external">
{cta}
Expand All @@ -24,5 +23,4 @@ function ContentCard({ logo, header, body, cta, url }: ContentCardProps) {
</Grid>
);
}

export default ContentCard;
Binary file added src/images/logos/cdhs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
188 changes: 0 additions & 188 deletions src/images/logos/cdhs.svg

This file was deleted.

Binary file added src/images/logos/co-crisis-services.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading