fixed the archive and added the 2lbcf

This commit is contained in:
2025-03-18 15:57:32 -05:00
parent 7c8d968e87
commit 770e8952b8
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> </div>
<p className="text-primary-600">{post.excerpt}</p> <p className="text-primary-600">{post.excerpt}</p>
</div> </div>
<div className="mt-4 md:mt-0"> </div>
<Link href={`/posts/${post.id}`} className="button text-sm"> <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 Read post
</Link> </Link>
</div> </div>
</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> </li>
))} ))}
</ul> </ul>
+24 -24
View File
@@ -11,29 +11,29 @@ interface Resource {
const Resources: React.FC = () => { const Resources: React.FC = () => {
const resources: Resource[] = [ 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", title: "The Second London Baptist Confession of Faith (1689)",
author: "John Calvin", author: "Particular Baptists",
description: "Calvin's magnum opus on systematic theology, covering the doctrines of God, man, salvation, and the church.", description: "A historic Reformed Baptist confession of faith that aligns closely with the Westminster Confession but reflects Baptist distinctives.",
category: "Books" link: "https://www.the1689confession.com/",
},
{
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/",
category: "Confessions" category: "Confessions"
}, },
{ {
@@ -110,7 +110,7 @@ const categories = Array.from(new Set(resources.map(resource => resource.categor
</div> </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> <h2 className="text-xl font-bold mb-4">Suggest a Resource</h2>
<p className="text-primary-700 mb-4"> <p className="text-primary-700 mb-4">
Do you have a resource suggestion that would be valuable for readers of this blog? 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"> <a href="#" className="button inline-block">
Contact Contact
</a> </a>
</div> </div> */}
</div> </div>
</Layout> </Layout>
); );