✨ feat(BlogArea): Optimize image loading and refactor code
Optimize the image loading in the BlogArea component by removing the unnecessary `blogTestPic` import and using the correct path for the image. Additionally, refactor the code to improve readability and maintainability.
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import Image from 'next/image';
|
import Image from 'next/image';
|
||||||
|
|
||||||
import blogTestPic from './retrofuturism.webp';
|
|
||||||
|
|
||||||
interface BlogPost {
|
interface BlogPost {
|
||||||
label: string;
|
label: string;
|
||||||
body: string;
|
body: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user