Skip to content

Commit

Permalink
Jhardaway change primary image (#454)
Browse files Browse the repository at this point in the history
* Removed grey overlay; replaced image; added cloudinary doamin to config

* update snapshots
  • Loading branch information
jeromehardaway authored Mar 20, 2023
1 parent ccf62de commit 1bd8482
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const postCSSFlexBugsFixes = [
const config = {
swcMinify: true,
images: {
domains: ['images.ctfassets.net'],
domains: ['images.ctfassets.net', 'res.cloudinary.com'],
},
plugins: [IS_PRODUCTION ? postCSSFlexBugsFixes : [], IS_PRODUCTION ? purgeCSS : []],
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import Typed from 'react-typed'

function Header() {
return (
<section className="site-header flexslider classic overlay main-overlay grey">
<section className="site-header flexslider classic overlay main-overlay">
<Image
layout="fill"
blurDataURL="/images/code.jpg"
blurDataURL="https://res.cloudinary.com/vetswhocode/image/upload/v1678667459/website-images/vetswhocode-background.jpg"
placeholder="blur"
src="/images/code.jpg"
src="https://res.cloudinary.com/vetswhocode/image/upload/v1678667459/website-images/vetswhocode-background.jpg"
alt="image of code on a computer screen"
/>
<div className="header-classic wrapper-table">
Expand Down
4 changes: 2 additions & 2 deletions tests/components/__snapshots__/Header.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

exports[`<Header /> should render correctly 1`] = `
<section
class="site-header flexslider classic overlay main-overlay grey"
class="site-header flexslider classic overlay main-overlay"
>
<img
alt="image of code on a computer screen"
layout="fill"
placeholder="blur"
src="/images/code.jpg"
src="https://res.cloudinary.com/vetswhocode/image/upload/v1678667459/website-images/vetswhocode-background.jpg"
/>
<div
class="header-classic wrapper-table"
Expand Down

1 comment on commit 1bd8482

@vercel
Copy link

@vercel vercel bot commented on 1bd8482 Mar 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.