Skip to content

Commit

Permalink
/posts/[topic]/page page
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Jan 31, 2024
1 parent 9cbb417 commit 730f6e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/v4/layout/Breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ const Breadcrumbs = ({tagName, background}) =>{
return(
<Container padding={false} maxWidth="max-w-[1320px]">
<div className={`text-sm font-medium ${background?'px-4 py-2 bg-white rounded-xl border border-gray-200':''} inline-flex text-gray-700`}>
<Link className={`${!background?'inline border border-1 border-blue-300/20 rounded-full p-1.5 px-3 bg-blue-200/30 font-normal':''}`} href={`/`}>
<Link className={`${!background?'inline border border-1 border-blue-500/20 rounded-full p-1.5 px-3 bg-blue-400/20 font-normal':''}`} href={`/`}>
<House size={20} className="my-auto"/>
</Link>
<CaretRight size={12} className="mx-2 my-auto"/>
<Link className={`${!background?'inline border border-1 border-blue-300/20 rounded-full p-1.5 px-3 bg-blue-200/30 font-normal':''}`} href={`/topics`}>
<Link className={`${!background?'inline border border-1 border-blue-500/20 rounded-full p-1.5 px-3 bg-blue-400/20 font-normal':''}`} href={`/topics`}>
<span className={`hover:bold ${!tagName?'font-semibold text-blue-700':''}`}>Topics</span>
</Link>
{ tagName?
<>
<CaretRight size={12} className="mx-2 my-auto"/>
<Link className={`${!background?'inline text-blue-800 border border-1 border-blue-300/40 rounded-full p-1.5 px-3 bg-blue-200/70 font-normal':''}`} href={`/posts/${ tagName }/page/1`}>
<Link className={`${!background?'inline text-blue-800 border border-1 border-blue-500/50 rounded-full p-1.5 px-3 bg-blue-700/10 font-normal':''}`} href={`/posts/${ tagName }/page/1`}>
<span className="font-semibold capitalize">{tagName}</span>
</Link>
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/posts/[tag]/page/[pageNo].js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function PostsPage({
{/* <img src="/static/images/angleshape.svg" className="absolute -mb-[2%] w-full bottom-0 z-40 left-0"/> */}

{/* <div className="z-20 relative"> */}
<div className="w-full p-6 z-10 relative max-w-[1320px] px-3 mx-auto backdrop-blur-sm backdrop-opacity-20 w-full h-full">
<div className="w-full p-6 pt-0 z-10 relative max-w-[1320px] px-3 mx-auto backdrop-blur-sm backdrop-opacity-20 w-full h-full">
<BreadCrumbs background={false}tagName={tagName}/>
<div className="inline-flex my-4">
{/* <div className="p w-8 h-8 my-auto mr-3 rounded-full border-gray-300 bg-white"> */}
Expand Down

0 comments on commit 730f6e8

Please sign in to comment.