Skip to content

Commit

Permalink
Minor formatting hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ujaandas committed Sep 14, 2024
1 parent 6152566 commit c7440c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default async function Home() {
return (
// <div className="bg-cat-mocha-mantle">
<div className="bg-gradient-to-r dark:from-cat-mocha-crust from-cat-latte-base from-10% dark:to-cat-mocha-base to-cat-latte-mantle to-90%">
<main className="flex flex-col p-10 snap-mandatory overflow-hidden items-center w-full max-w-2xl md:max-w-3xl justify-center m-auto ">
<main className="flex flex-col p-10 items-center w-full max-w-2xl md:max-w-3xl justify-center m-auto ">
<section className="flex flex-col md:flex-row items-center">
<DynamicSidebar />
<AboutMeContent />
Expand Down
8 changes: 5 additions & 3 deletions src/components/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ interface TitleProps {

export default function Title({ title }: TitleProps) {
return (
<h1 className="text-3xl font-bold dark:text-cat-mocha-text text-cat-latte-text">
{title}
</h1>
<div className="">
<h1 className="text-3xl font-bold dark:text-cat-mocha-text text-cat-latte-text">
{title}
</h1>
</div>
);
}
2 changes: 1 addition & 1 deletion src/components/chunks/ResearchContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Title from "../Title";
async function ResearchContent() {
const researchContent = await fetchMdxByCategory("research");
return (
<div className="mt-10">
<div className="">
<Title title="Research" />
{researchContent.map((content, index) => (
<Post
Expand Down

0 comments on commit c7440c3

Please sign in to comment.