Style updates

This commit is contained in:
Aaron William Po
2023-04-21 23:32:18 -04:00
parent 2dfb080d0c
commit 6a00532f75
22 changed files with 360 additions and 314 deletions

View File

@@ -16,7 +16,7 @@ interface EditPageProps {
}
const EditPage: NextPage<EditPageProps> = ({ beerPost }) => {
const pageTitle = `Edit "${beerPost.name}"`;
const pageTitle = `Edit \u201c${beerPost.name}\u201d`;
return (
<Layout>

View File

@@ -55,12 +55,12 @@ const BeerByIdPage: NextPage<BeerPageProps> = ({ beerPost, beerRecommendations }
src={image.path}
height={1080}
width={1920}
className="h-[42rem] w-full object-cover"
className="h-96 w-full object-cover lg:h-[42rem]"
/>
</div>
))
: Array.from({ length: 1 }).map((_, i) => (
<div className="h-[42rem] bg-base-300" key={i} />
<div className="h-96 lg:h-[42rem]" key={i} />
))}
</Carousel>
@@ -79,7 +79,7 @@ const BeerByIdPage: NextPage<BeerPageProps> = ({ beerPost, beerRecommendations }
</div>
) : (
<Tab.Group>
<Tab.List className="tabs tabs-boxed items-center justify-center rounded-2xl bg-base-300">
<Tab.List className="tabs tabs-boxed items-center justify-center rounded-2xl">
<Tab className="tab tab-md w-1/2 uppercase ui-selected:tab-active">
Comments
</Tab>

View File

@@ -38,9 +38,9 @@ const BeerPage: NextPage = () => {
<meta name="description" content="Beer posts" />
</Head>
<div className="flex items-center justify-center bg-base-100" ref={pageRef}>
<div className="my-10 flex w-11/12 flex-col space-y-4 lg:w-8/12 2xl:w-7/12">
<div className="my-10 flex w-10/12 flex-col space-y-4 lg:w-8/12 2xl:w-7/12">
<header className="my-10 flex justify-between lg:flex-row">
<h1 className="text-6xl font-bold">The Biergarten Index</h1>
<h1 className="text-4xl font-bold lg:text-6xl">The Biergarten Index</h1>
{!!user && (
<div
className="tooltip tooltip-left h-full"