Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

run prettier

Isaiah Hamiltona4ce5e7e291b
diff --git a/apps/temp-docs/components/AuthProviders.tsx b/apps/temp-docs/components/AuthProviders.tsx
index a2f7ad7b719..65f20a09feb 100644
--- a/apps/temp-docs/components/AuthProviders.tsx
+++ b/apps/temp-docs/components/AuthProviders.tsx
@@ -11,11 +11,11 @@ export default function AuthProviders() {
<Card>
<div className="flex justify-between gap-10">
<p>{x.name}</p>
- <p className="text-xs flex items-center font-normal uppercase text-white">
+ <p className="flex items-center text-xs font-normal uppercase text-white">
{x.official ? (
- <span className="rounded bg-brand-800 py-1 px-2">Official</span>
+ <span className="bg-brand-800 rounded py-1 px-2">Official</span>
) : (
- <span className="rounded bg-scale-500 p-1">Unofficial</span>
+ <span className="bg-scale-500 rounded p-1">Unofficial</span>
)}
</p>
</div>
diff --git a/apps/temp-docs/components/Footer.tsx b/apps/temp-docs/components/Footer.tsx
index 6d698bbb139..01b64edd282 100644
--- a/apps/temp-docs/components/Footer.tsx
+++ b/apps/temp-docs/components/Footer.tsx
@@ -8,7 +8,7 @@ const Footer = () => {
return (
<footer
- className="border-t border-scale-400 bg-white p-10 dark:bg-scale-200"
+ className="border-scale-400 dark:bg-scale-200 border-t bg-white p-10"
aria-labelledby="footerHeading"
>
<h2 id="footerHeading" className="sr-only">
@@ -44,7 +44,10 @@ const Footer = () => {
</svg>
</a>
- <a href="https://discord.supabase.com/" className="text-scale-900 hover:text-scale-1100">
+ <a
+ href="https://discord.supabase.com/"
+ className="text-scale-900 hover:text-scale-1100"
+ >
<span className="sr-only">Discord</span>
<svg className="h-6 w-6" fill="currentColor" viewBox="0 0 71 55" aria-hidden="true">
<path
@@ -55,7 +58,10 @@ const Footer = () => {
</svg>
</a>
- <a href="https://youtube.com/c/supabase" className="text-scale-900 hover:text-scale-1100">
+ <a
+ href="https://youtube.com/c/supabase"
+ className="text-scale-900 hover:text-scale-1100"
+ >
<span className="sr-only">Youtube</span>
<svg className="h-6 w-6" fill="currentColor" viewBox="0 0 576 512" aria-hidden="true">
<path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" />
@@ -68,7 +74,7 @@ const Footer = () => {
{footer.map((segment: any) => {
return (
<div key={`footer_${segment.title}`}>
- <h3 className="text-sm text-scale-900 dark:text-scale-800">{segment.title}</h3>
+ <h3 className="text-scale-900 dark:text-scale-800 text-sm">{segment.title}</h3>
<ul className="mt-4 space-y-2">
{segment.links.map((link: any, idx: number) => (
<li key={`${segment.title}_link_${idx}`}>
@@ -97,7 +103,7 @@ const Footer = () => {
</div>
</div>
<div className="dark:border-scale-400 mt-32 flex justify-between border-t pt-8">
- <p className="dark:text-dark-400 mb-0 self-center text-sm text-scale-800">
+ <p className="dark:text-dark-400 text-scale-800 mb-0 self-center text-sm">
&copy; {new Date().getFullYear()} Supabase.
</p>
</div>
diff --git a/apps/temp-docs/components/LinkCard.tsx b/apps/temp-docs/components/LinkCard.tsx
index 42a3abdd8f1..664876d0673 100644
--- a/apps/temp-docs/components/LinkCard.tsx
+++ b/apps/temp-docs/components/LinkCard.tsx
@@ -10,7 +10,7 @@ export default function LinkCard({
icon: ReactElement
}) {
return (
- <div className="m-4 w-full cursor-pointer rounded-md border border-scale-200 hover:border-brand-900 px-4 shadow-sm hover:shadow-2xl dark:bg-scale-400 lg:w-2/5">
+ <div className="border-scale-200 hover:border-brand-900 dark:bg-scale-400 m-4 w-full cursor-pointer rounded-md border px-4 shadow-sm hover:shadow-2xl lg:w-2/5">
{description ? (
<>
<h4 className="my-0 p-0">{title}</h4>
diff --git a/apps/temp-docs/components/nav/NavBar.tsx b/apps/temp-docs/components/nav/NavBar.tsx
index 30788a65b49..1d5300321af 100644
--- a/apps/temp-docs/components/nav/NavBar.tsx
+++ b/apps/temp-docs/components/nav/NavBar.tsx
@@ -33,7 +33,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
return (
<nav
- className={`dark:border-scale-400 sticky top-0 z-10 flex h-[72px] justify-between border-b bg-white p-4 backdrop-blur backdrop-filter dark:bg-scale-200`}
+ className={`dark:border-scale-400 dark:bg-scale-200 sticky top-0 z-10 flex h-[72px] justify-between border-b bg-white p-4 backdrop-blur backdrop-filter`}
>
<div className="flex items-center">
<button className="mr-2 block lg:hidden">
@@ -57,9 +57,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
{pageLinks.map((p) => (
<li key={`${p.text}-${p.link}`}>
<Link href={p.link}>
- <a
- className={`text-sm ${p.active ? 'text-brand-900' : 'text-scale-1100'}`}
- >
+ <a className={`text-sm ${p.active ? 'text-brand-900' : 'text-scale-1100'}`}>
{p.text}
</a>
</Link>
@@ -67,7 +65,7 @@ const NavBar = ({ currentPage }: { currentPage: string }) => {
))}
<li>
<Link href="https://app.supabase.io">
- <a className={`text-sm text-scale-1100`}>Login</a>
+ <a className={`text-scale-1100 text-sm`}>Login</a>
</Link>
</li>
</ul>
diff --git a/apps/temp-docs/components/nav/SideBar.tsx b/apps/temp-docs/components/nav/SideBar.tsx
index 34dc80fe2e9..227bec9256a 100644
--- a/apps/temp-docs/components/nav/SideBar.tsx
+++ b/apps/temp-docs/components/nav/SideBar.tsx
@@ -7,7 +7,9 @@ import ThemeToggle from '../ThemeToggle'
const SideBar = ({ menuItems }: { menuItems: any }) => {
const { asPath } = useRouter()
return (
- <div className={`${styles.sidebar} dark:bg-scale-200 dark:border-scale-400 relative h-full border-r py-4`}>
+ <div
+ className={`${styles.sidebar} dark:bg-scale-200 dark:border-scale-400 relative h-full border-r py-4`}
+ >
<Menu>
<div>
{Object.keys(menuItems).map((key) => {
diff --git a/apps/temp-docs/styles/tailwind.css b/apps/temp-docs/styles/tailwind.css
index 63b2c2e100a..10ab1376922 100644
--- a/apps/temp-docs/styles/tailwind.css
+++ b/apps/temp-docs/styles/tailwind.css
@@ -9,4 +9,4 @@ body {
::selection {
background-color: #6ee7b7;
color: #333 !important;
-}
\ No newline at end of file
+}