Skip to content

Commit

Permalink
Merge branch 'main' into wn/feat/issue-73/add-specific-metatags
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonBN authored Jan 27, 2025
2 parents 90f08d7 + a0812a7 commit 05b0230
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function BlogPage() {
<article key={post.id} className="flex flex-col bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden hover:shadow-lg transition-shadow">
<div className="p-6">
<div className="flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400 mb-3">
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString()}</time>
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString('pt-BR')}</time>
</div>
<TopicTags
visibleTopics={visibleTopics}
Expand Down
2 changes: 1 addition & 1 deletion src/app/events/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function EventsPage() {
}`}>
<div className="p-6 flex-grow flex flex-col">
<div className="flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400 mb-3">
<time dateTime={event.date}>{new Date(event.date).toLocaleDateString()}</time>
<time dateTime={event.date}>{new Date(event.date).toLocaleDateString('pt-BR')}</time>
<span></span>
<span>{event.time}</span>
<span></span>
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function Home() {
<article key={post.id} className="flex flex-col bg-white dark:bg-gray-800 rounded-2xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden hover:shadow-lg transition-shadow">
<div className="p-6">
<div className="flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400 mb-3">
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString()}</time>
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString('pt-BR')}</time>
</div>
<TopicTags
visibleTopics={visibleTopics}
Expand Down
2 changes: 1 addition & 1 deletion src/app/posts/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async function Post({ params }: Props) {
<header className="mb-8">
<h1 className="text-4xl font-bold text-gray-900 dark:text-white mb-4">{post.title}</h1>
<div className="flex items-center text-gray-600 dark:text-gray-400 mb-4">
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString()}</time>
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString('pt-BR')}</time>
{authors.length > 0 && (
<>
<span className="mx-2"></span>
Expand Down
2 changes: 1 addition & 1 deletion src/app/topics/[topic]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default async function TopicPage({ params }: Props) {
<article key={post.id} className="flex flex-col bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden hover:shadow-lg transition-shadow">
<div className="p-6">
<div className="flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400 mb-3">
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString()}</time>
<time dateTime={post.date}>{new Date(post.date).toLocaleDateString('pt-BR')}</time>
</div>
<TopicTags
visibleTopics={visibleTopics}
Expand Down

0 comments on commit 05b0230

Please sign in to comment.