standardized formatting

This commit is contained in:
2025-03-20 11:35:59 -05:00
parent ef092a0be6
commit c474cba4a6
6 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import React from 'react';
import { format, parseISO } from 'date-fns';
import React from 'react';
interface DateFormatterProps {
dateString: string;
+1 -1
View File
@@ -1,5 +1,5 @@
import React from 'react';
import Link from 'next/link';
import React from 'react';
const Footer: React.FC = () => {
const currentYear = new Date().getFullYear();
+1 -1
View File
@@ -1,5 +1,5 @@
import React from 'react';
import Link from 'next/link';
import React from 'react';
const Header: React.FC = () => {
return (
+2 -2
View File
@@ -1,7 +1,7 @@
import React, { ReactNode } from 'react';
import Head from 'next/head';
import Header from './Header';
import React, { ReactNode } from 'react';
import Footer from './Footer';
import Header from './Header';
interface LayoutProps {
children: ReactNode;
+1 -1
View File
@@ -1,5 +1,5 @@
import React from 'react';
import Head from 'next/head';
import React from 'react';
interface MetaProps {
title?: string;
+5 -6
View File
@@ -1,14 +1,13 @@
import React from 'react';
import { GetStaticProps, GetStaticPaths } from 'next';
import Image from 'next/image';
import Link from 'next/link';
import { format } from 'date-fns';
import Layout from '@/components/Layout';
import Meta from '@/components/Meta';
import ShareButtons from '@/components/ShareButtons';
import CommentSection from '@/components/CommentSection';
import { getAllPostIds, getPostData, getSortedPostsData } from '@/lib/markdown';
import { PostData, PostMetadata } from '@/types';
import { format } from 'date-fns';
import { GetStaticPaths, GetStaticProps } from 'next';
import Image from 'next/image';
import Link from 'next/link';
import React from 'react';
interface PostProps {
post: PostData;