Format: update prettier configuration to use tailwind plugin

This commit is contained in:
Aaron William Po
2023-12-01 18:18:43 -05:00
parent 3de742f5e9
commit 30f2147566
50 changed files with 92 additions and 94 deletions

View File

@@ -117,14 +117,14 @@ const EditBreweryPostPage: NextPage<EditPageProps> = ({ breweryPost }) => {
<div className="w-full space-y-3">
<button
disabled={isSubmitting}
className="btn-primary btn w-full"
className="btn btn-primary w-full"
type="submit"
>
{isSubmitting ? 'Saving...' : 'Save'}
</button>
<button
className="btn-primary btn w-full"
className="btn btn-primary w-full"
type="button"
onClick={handleDelete}
>

View File

@@ -85,7 +85,7 @@ const BreweryByIdPage: NextPage<BreweryPageProps> = ({ breweryPost, mapboxToken
token={mapboxToken}
/>
<Tab.Group>
<Tab.List className="tabs tabs-boxed items-center justify-center rounded-2xl">
<Tab.List className="tabs-boxed tabs items-center justify-center rounded-2xl">
<Tab className="tab tab-md w-1/2 uppercase ui-selected:tab-active">
Comments
</Tab>

View File

@@ -58,13 +58,13 @@ const BreweryPage: NextPage<BreweryPageProps> = () => {
className="tooltip tooltip-left"
data-tip="Create a new brewery post"
>
<Link href="/breweries/create" className="btn-ghost btn-sm btn">
<Link href="/breweries/create" className="btn btn-ghost btn-sm">
<FaPlus className="text-lg" />
</Link>
</div>
)}
<div className="tooltip tooltip-left" data-tip="View map">
<Link className="btn-ghost btn-sm btn" href="/breweries/map">
<Link className="btn btn-ghost btn-sm" href="/breweries/map">
<FaMap className="text-lg" />
</Link>
</div>
@@ -111,7 +111,7 @@ const BreweryPage: NextPage<BreweryPageProps> = () => {
>
<button
type="button"
className="btn-ghost btn-sm btn"
className="btn btn-ghost btn-sm"
aria-label="Scroll back to top of page."
onClick={() => {
pageRef.current?.scrollIntoView({