File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default function ArticlesList({ articles }: ArticlesListProps) {
2828 return (
2929 < div className = "mt-8 space-y-8" >
3030 { articles . data . map ( ( article ) => (
31- < article key = { article . id } className = "relative bg-white p-8 rounded-lg shadow-sm" >
31+ < article key = { article . id } className = "bg-white p-8 rounded-lg shadow-sm" >
3232 < div className = "flex items-center gap-x-4 text-xs" >
3333 < time dateTime = { article . publishedAt } className = "text-gray-500" >
3434 { new Date ( article . publishedAt ) . toLocaleDateString ( 'fr-FR' , {
@@ -38,7 +38,7 @@ export default function ArticlesList({ articles }: ArticlesListProps) {
3838 } ) }
3939 </ time >
4040 </ div >
41- < div className = "group relative " >
41+ < div className = "group" >
4242 < h3 className = "mt-3 text-lg font-semibold leading-6 text-gray-900 group-hover:text-gray-600" >
4343 < Link href = { `/articles/${ article . slug } ` } >
4444 { /* <span className="absolute inset-0" /> */ }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default function DashboardLayout({ children }: PropsWithChildren) {
66 return (
77 < div className = "min-h-screen bg-gray-100" >
88 < Navbar />
9- < main className = "container mx-auto" >
9+ < main className = "max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 " >
1010 < div className = "py-6" >
1111 < div className = "px-4 sm:px-6 md:px-0" > { children } </ div >
1212 </ div >
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ export default function Home({ stats, articles }: HomeProps) {
3232 < Navbar />
3333
3434 { /* Hero Section */ }
35- < div className = "relative overflow-hidden bg-white" >
35+ < div className = "overflow-hidden bg-white" >
3636 < div className = "mx-auto max-w-7xl" >
37- < div className = "relative z-10 pb-8 sm:pb-16 md:pb-20 lg:w-full lg:pb-28 xl:pb-32" >
37+ < div className = "pb-8 sm:pb-16 md:pb-20 lg:w-full lg:pb-28 xl:pb-32" >
3838 < main className = "mx-auto mt-10 max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28 flex flex-col items-center justify-center lg:flex-row" >
3939 < div className = "sm:text-center lg:text-left" >
4040 < h1 className = "text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl md:text-6xl" >
You can’t perform that action at this time.
0 commit comments