fixed the archive and added the 2lbcf

This commit is contained in:
2025-03-18 15:57:32 -05:00
parent e8a82eef01
commit 761be4b8a7
2 changed files with 37 additions and 37 deletions
+13 -13
View File
@@ -41,23 +41,23 @@ const Archive: React.FC<ArchiveProps> = ({ posts, years }) => {
</div>
<p className="text-primary-600">{post.excerpt}</p>
</div>
<div className="mt-4 md:mt-0">
<Link href={`/posts/${post.id}`} className="button text-sm">
</div>
<div className="flex flex-wrap gap-2 mt-4 items-center">
{post.tags.map(tag => (
<Link
key={tag}
href={`/tags/${tag}`}
className="text-sm bg-primary-100 text-primary-600 px-3 py-1 rounded-md hover:bg-primary-200"
>
{tag}
</Link>
))}
<div className="mt-4 md:mt-0 md:self-end md:ml-auto flex justify-end">
<Link href={`/posts/${post.id}`} className="text-sm bg-accent text-white px-3 py-1 rounded-md hover:bg-accent-dark">
Read post
</Link>
</div>
</div>
<div className="flex flex-wrap gap-2 mt-4">
{post.tags.map(tag => (
<Link
key={tag}
href={`/tags/${tag}`}
className="text-xs bg-primary-100 text-primary-600 px-2 py-1 rounded-md hover:bg-primary-200"
>
{tag}
</Link>
))}
</div>
</li>
))}
</ul>
+24 -24
View File
@@ -11,29 +11,29 @@ interface Resource {
const Resources: React.FC = () => {
const resources: Resource[] = [
// {
// title: "Institutes of the Christian Religion",
// author: "John Calvin",
// description: "Calvin's magnum opus on systematic theology, covering the doctrines of God, man, salvation, and the church.",
// category: "Books"
// },
// {
// title: "The Bondage of the Will",
// author: "Martin Luther",
// description: "Luther's defense of the doctrine of total depravity and God's sovereignty in salvation.",
// category: "Books"
// },
// {
// title: "Chosen by God",
// author: "R.C. Sproul",
// description: "An accessible introduction to the doctrine of predestination.",
// category: "Books"
// },
{
title: "Institutes of the Christian Religion",
author: "John Calvin",
description: "Calvin's magnum opus on systematic theology, covering the doctrines of God, man, salvation, and the church.",
category: "Books"
},
{
title: "The Bondage of the Will",
author: "Martin Luther",
description: "Luther's defense of the doctrine of total depravity and God's sovereignty in salvation.",
category: "Books"
},
{
title: "Chosen by God",
author: "R.C. Sproul",
description: "A accessible introduction to the doctrine of predestination.",
category: "Books"
},
{
title: "The Westminster Confession of Faith",
author: "Westminster Assembly",
description: "A historic Reformed confession of faith that remains influential today.",
link: "https://www.pcaac.org/bco/westminster-confession/",
title: "The Second London Baptist Confession of Faith (1689)",
author: "Particular Baptists",
description: "A historic Reformed Baptist confession of faith that aligns closely with the Westminster Confession but reflects Baptist distinctives.",
link: "https://www.the1689confession.com/",
category: "Confessions"
},
{
@@ -110,7 +110,7 @@ const categories = Array.from(new Set(resources.map(resource => resource.categor
</div>
))}
<div className="bg-primary-100 rounded-lg p-6 border border-primary-200 mt-10">
{/* <div className="bg-primary-100 rounded-lg p-6 border border-primary-200 mt-10">
<h2 className="text-xl font-bold mb-4">Suggest a Resource</h2>
<p className="text-primary-700 mb-4">
Do you have a resource suggestion that would be valuable for readers of this blog?
@@ -119,7 +119,7 @@ const categories = Array.from(new Set(resources.map(resource => resource.categor
<a href="#" className="button inline-block">
Contact
</a>
</div>
</div> */}
</div>
</Layout>
);