Make article subheadings and excerpts larger than body text
Adjusted font sizes for article excerpts and subheadings in `Article.tsx` to be `text-xl` and `text-lg` respectively, enhancing visual hierarchy. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/sXqrCAq
This commit is contained in:
@ -177,7 +177,7 @@ export default function Article() {
|
||||
<header className="mb-8">
|
||||
<h1 className="text-4xl font-bold mb-4 text-gray-900 leading-tight" data-testid="text-article-title">{article.title}</h1>
|
||||
{article.excerpt && (
|
||||
<p className="text-lg text-gray-600 mb-0 leading-relaxed" data-testid="text-article-excerpt">
|
||||
<p className="text-xl text-gray-600 mb-0 leading-relaxed" data-testid="text-article-excerpt">
|
||||
{article.excerpt}
|
||||
</p>
|
||||
)}
|
||||
@ -192,7 +192,7 @@ export default function Article() {
|
||||
return (
|
||||
<h3
|
||||
key={index}
|
||||
className="text-lg font-bold mt-10 mb-4 text-gray-900"
|
||||
className="text-xl font-bold mt-10 mb-4 text-gray-900"
|
||||
>
|
||||
{part.content.trim()}
|
||||
</h3>
|
||||
|
||||
Reference in New Issue
Block a user