Skip to content

Commit

Permalink
Merge pull request #888 from CodeForPhilly/staging
Browse files Browse the repository at this point in the history
Deploy Staging to Main branch
  • Loading branch information
CodeWritingCow authored Sep 5, 2024
2 parents 17dbff9 + f51237a commit bc6a06e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/app/(content-pages)/methodology/MethodologyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default function MethodologyPage() {
<p className="body-md mb-4">
Documentation of the data that we use is available on{' '}
<a
href="https://www.figma.com/exit?url=https%3A%2F%2Fgithub.com%2FCodeForPhilly%2Fvacant-lots-proj"
href="https://github.com/CodeForPhilly/clean-and-green-philly"
target="_blank"
rel="noopener noreferrer"
className="link"
Expand Down
20 changes: 11 additions & 9 deletions src/components/InfoGraphicSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,17 @@ export const InfoGraphicSection = (props: InfoGraphicProps) => {
const renderGraphicContent = () => {
if ('image' in props) {
return (
<Image
src={props.image.data}
alt={props.image.alt || ''}
className={`w-full rounded-[20px] p-5 info-graphic ${
props.image.className && props.image.className
}`}
priority={(props.image.priority && props.image.priority) || false}
placeholder={'blur'}
/>
<div className={'p-5'}>
<Image
src={props.image.data}
alt={props.image.alt || ''}
className={`w-full rounded-[20px] info-graphic ${
props.image.className && props.image.className
}`}
priority={(props.image.priority && props.image.priority) || false}
placeholder={'blur'}
/>
</div>
);
} else if ('component' in props) {
return props.component;
Expand Down

0 comments on commit bc6a06e

Please sign in to comment.