Archived
fixed the archive and added the 2lbcf
This commit is contained in:
@@ -41,22 +41,22 @@ 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">
|
|
||||||
<Link href={`/posts/${post.id}`} className="button text-sm">
|
|
||||||
Read post
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="flex flex-wrap gap-2 mt-4 items-center">
|
||||||
<div className="flex flex-wrap gap-2 mt-4">
|
|
||||||
{post.tags.map(tag => (
|
{post.tags.map(tag => (
|
||||||
<Link
|
<Link
|
||||||
key={tag}
|
key={tag}
|
||||||
href={`/tags/${tag}`}
|
href={`/tags/${tag}`}
|
||||||
className="text-xs bg-primary-100 text-primary-600 px-2 py-1 rounded-md hover:bg-primary-200"
|
className="text-sm bg-primary-100 text-primary-600 px-3 py-1 rounded-md hover:bg-primary-200"
|
||||||
>
|
>
|
||||||
{tag}
|
{tag}
|
||||||
</Link>
|
</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>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
|||||||
+24
-24
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user