Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/gh 74/amend image priority #118

Open
wants to merge 1 commit into
base: dev
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
1 change: 0 additions & 1 deletion src/components/ImageMasonry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default function ImageMasonry({
{images.map(image => (
<Image
key={image.src}
priority
src={image}
alt="Actiefoto Image"
className="rounded object-fit w-full"
Expand Down
1 change: 0 additions & 1 deletion src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export default function NavBar() {
aria-label="Home Page"
>
<Image
priority
src={
isInverted
? CollActionWhiteLogoWithText
Expand Down
4 changes: 0 additions & 4 deletions src/pages/greenlands/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export default function ActionIndexPage() {

<h4 className="mt-8 mb-6 text-center">Program</h4>
<Image
priority
src={Program1}
alt="Program Greenlands"
className="rounded-1"
Expand All @@ -64,7 +63,6 @@ export default function ActionIndexPage() {
<div className="relative block w-full md:w-11/12 lsm:max-w-600 lg:max-w-750 mx-auto mt-6 mb-6">
<h4 className="text-center mb-6">Stands</h4>
<Image
priority
src={Program2}
alt="Program Greenlands"
className="rounded-1"
Expand All @@ -91,7 +89,6 @@ export default function ActionIndexPage() {
rel="noreferrer"
>
<Image
priority
src={Insta}
alt="Instagram Greenlands"
className="rounded-1"
Expand All @@ -109,7 +106,6 @@ export default function ActionIndexPage() {
rel="noreferrer"
>
<Image
priority
src={Program2}
alt="Program Greenlands"
className="rounded-1"
Expand Down
1 change: 0 additions & 1 deletion src/pages/plastic-people/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default function ActionIndexPage() {

<div className="relative block w-full md:w-11/12 lsm:max-w-600 lg:max-w-600 mx-auto mt-6 mb-6">
<Image
priority
src={Collaboration}
alt="uilenstede banner"
className="rounded-1"
Expand Down
1 change: 0 additions & 1 deletion src/pages/projects/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default function CrowdActionPage({ crowdAction, topParticipants }: any) {

<div className="relative w-full min-h-[112px] lg:min-h-[210px]">
<Image
priority
src={`${staticUrl}${crowdAction.images.card}`}
alt={crowdAction.title}
className="absolute top-[-112px] lg:top-[-210px] left-[50%] transform translate-x-[-50%] h-[225px] lg:h-[420px] w-[350px] sm:w-[400px] lg:w-[744px] bg-white rounded-3xl"
Expand Down
3 changes: 0 additions & 3 deletions src/pages/uilenstede/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default function UilenstedeIndexPage() {
</div>
<div className="relative block w-full md:w-11/12 lg:w-208 mx-auto">
<Image
priority
src={Uilenstede_banner}
alt="westland banner"
className="rounded-1"
Expand Down Expand Up @@ -221,7 +220,6 @@ export default function UilenstedeIndexPage() {

<div className="relative block w-full md:w-11/12 lsm:max-w-600 lg:max-w-600 mx-auto mt-6 mb-6">
<Image
priority
src={Uilenstede_map}
alt="westland banner"
className="rounded-1"
Expand Down Expand Up @@ -394,7 +392,6 @@ export default function UilenstedeIndexPage() {

<div className="relative block w-full md:w-11/12 lsm:max-w-600 lg:max-w-600 mx-auto mt-6 mb-6">
<Image
priority
src={Collaboration}
alt="uilenstede banner"
className="rounded-1"
Expand Down
1 change: 0 additions & 1 deletion src/pages/veganuary/impact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ function ImageCard({ card, index }: { card: ImageCard; index: number }) {
>
<div className="block w-full h-full overflow-hidden rounded-1">
<Image
priority={index < 2}
src={card.image}
alt={card.bottom}
placeholder="blur"
Expand Down
3 changes: 0 additions & 3 deletions src/pages/veganuary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default function VeganuaryPage({

<div className="w-32 mx-auto relative leading-none">
<Image
priority
src={CollActionLogoWithText}
alt="black CollAction logo with text"
placeholder="blur"
Expand All @@ -54,7 +53,6 @@ export default function VeganuaryPage({

<div className="relative block w-full md:w-11/12 lg:w-208 mx-auto">
<Image
priority
src={Banner}
alt="veganuary banner"
className="rounded-1"
Expand Down Expand Up @@ -257,7 +255,6 @@ function ImageCard({ card, index }: { card: ImageCard; index: number }) {
>
<div className="block w-full h-full overflow-hidden rounded-1">
<Image
priority={index < 2}
src={card.image}
alt={card.bottom}
placeholder="blur"
Expand Down
4 changes: 0 additions & 4 deletions src/pages/westland/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default function WestlandIndexPage() {
</div>
<div className="relative block w-full md:w-11/12 lg:w-208 mx-auto">
<Image
priority
src={WestlandBanner}
alt="westland banner"
className="rounded-1"
Expand Down Expand Up @@ -115,7 +114,6 @@ export default function WestlandIndexPage() {

<div className="relative block w-full md:w-11/12 lsm:max-w-600 lg:max-w-600 mx-auto mt-6 mb-6">
<Image
priority
src={Winactie}
alt="uilenstede banner"
className="rounded-1"
Expand Down Expand Up @@ -307,7 +305,6 @@ export default function WestlandIndexPage() {
</InfoCard>
<div className="relative block w-full md:w-11/12 lg:w-208 mx-auto">
<Image
priority
src={WestlandBanner2}
alt="westland banner"
className="rounded-1"
Expand Down Expand Up @@ -376,7 +373,6 @@ function ImageCard({ card, index }: { card: ImageCard; index: number }) {
>
<div className="block w-full h-full overflow-hidden rounded-1">
<Image
priority={index < 2}
src={card.image}
alt={card.bottom}
placeholder="blur"
Expand Down