Skip to content

Commit

Permalink
updated image settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rNLKJA committed Dec 31, 2023
1 parent 3242f6c commit 63f7c5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion components/layout/blog/gallary.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Image from "next/legacy/image";
import Image from "next/image";
import { useEffect, useState } from "react";
import Link from "next/link";
import { Fade } from "react-awesome-reveal";
Expand Down Expand Up @@ -36,6 +36,7 @@ export default function BlogBrowsing() {
layout="responsive"
quality={75}
style={{ borderRadius: 20 }}
loading="lazy"
/>
</div>
<div className="flex flex-col flex-start gap-10">
Expand Down
8 changes: 4 additions & 4 deletions pages/blogs/data.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export const DataArticle = () => {
{data && (
<div className="flex flex-col py-10 px-4">
<div className="flex flex-start justify-center items-center">
<Image
{/* <Image
src="/article/more-about-data-science/data-intro.png"
width={600}
height={300}
layout="responsive"
quality={50}
alt="data intro"
priority={true}
/>
/> */}
</div>

<h2>
Expand Down Expand Up @@ -110,15 +110,15 @@ export const DataArticle = () => {
</div>
</div>
<div className="flex justify-center items-center">
<Image
{/* <Image
src="/article/more-about-data-science/data-solution.png"
width={300}
height={300}
quality={50}
alt="data solution"
layout="fixed"
priority={true}
/>
/> */}
</div>
</div>

Expand Down

0 comments on commit 63f7c5d

Please sign in to comment.