link bug fixed
This commit was merged in pull request #14.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"use client"
|
||||
import React, { useEffect, useState } from "react";
|
||||
import Link from "next/link";
|
||||
import blogOne from "../../assets/images/blog/1.jpg";
|
||||
import BlogData from "../../Services/BlogData";
|
||||
|
||||
@@ -47,14 +48,14 @@ function Blogs({ pathname }) {
|
||||
data-wow-duration="3000ms"
|
||||
data-wow-delay="200ms"
|
||||
>
|
||||
<a href={`/blog/blogdetail/${blog?.id}`} className="thumb">
|
||||
<Link href={`/blog/blogdetail/${blog?.id}`} className="thumb">
|
||||
<img
|
||||
src={blgImg}
|
||||
alt={blog.post_title}
|
||||
width={370} height={'auto'}
|
||||
// style={{height: 'auto' }}
|
||||
/>
|
||||
</a>
|
||||
</Link>
|
||||
<div className="content">
|
||||
<div className="blog-meta">
|
||||
<ul>
|
||||
@@ -62,11 +63,11 @@ function Blogs({ pathname }) {
|
||||
</ul>
|
||||
</div>
|
||||
<h3 className="title">
|
||||
<a href={`/blog/blogdetail/${blog?.id}`}>{blog.post_title}</a>
|
||||
<Link href={`/blog/blogdetail/${blog?.id}`}>{blog.post_title}</Link>
|
||||
</h3>
|
||||
<a href={`/blog/blogdetail/${blog?.id}`}>
|
||||
<Link href={`/blog/blogdetail/${blog?.id}`}>
|
||||
Learn More <i className="fal fa-arrow-right" />
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -60,12 +60,12 @@ function ServiceSideMenu() {
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href={process.env.REACT_APP_APPLE_APP}>
|
||||
<a href={process.env.NEXT_PUBLIC_APPLE_APP}>
|
||||
<i className="fab fa-apple" /> Download for iOS
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a className="item-2" href={process.env.REACT_APP_ANDROID_APP}>
|
||||
<a className="item-2" href={process.env.NEXT_PUBLIC_ANDROID_APP}>
|
||||
<i className="fab fa-google-play" /> Download for
|
||||
Android
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user