Skip to content

Commit

Permalink
chore:applied prettier on files that were pulled
Browse files Browse the repository at this point in the history
  • Loading branch information
BuyankhuuTsCAl committed Oct 3, 2023
1 parent b3c7850 commit c945919
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 42 deletions.
2 changes: 1 addition & 1 deletion src/api/supabase/queries /createClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const supabase = createClient(
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
);

export default supabase;
export default supabase;
14 changes: 7 additions & 7 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';

const inter = Inter({ subsets: ['latin'] })
const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
title: 'Shanti Project',
description: 'Application Created by Blueprint',
}
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
);
}
4 changes: 1 addition & 3 deletions src/app/login.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export default function Home() {
return (
<h1> yo </h1>
)
return <h1> yo </h1>;
}
44 changes: 25 additions & 19 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
'use client'

import LoginForm from "./components/LoginForm";
import { GlobalStyle, Fullscreen, LoginBox, LoginContent, WelcomeSign, Button } from "./screens/loginScreen/styles"
'use client';

import LoginForm from './components/LoginForm';
import {
GlobalStyle,
Fullscreen,
LoginBox,
LoginContent,
WelcomeSign,
Button,
} from './screens/loginScreen/styles';

export default function App() {
return (
<main>
<GlobalStyle />
<Fullscreen>
<LoginBox>
<LoginContent>
<WelcomeSign>Welcome</WelcomeSign>
<LoginForm />
<Button>Log In</Button>
</LoginContent>
</LoginBox>
</Fullscreen>
</main >
)
}
return (
<main>
<GlobalStyle />
<Fullscreen>
<LoginBox>
<LoginContent>
<WelcomeSign>Welcome</WelcomeSign>
<LoginForm />
<Button>Log In</Button>
</LoginContent>
</LoginBox>
</Fullscreen>
</main>
);
}
12 changes: 6 additions & 6 deletions src/app/screens/profile /profileScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function Profile() {
return (
<main>
<div>Profile</div>
</main>
);
}
return (
<main>
<div>Profile</div>
</main>
);
}
12 changes: 6 additions & 6 deletions src/app/screens/storefront/storefrontScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function Storefront() {
return (
<main>
<div>storefront</div>
</main>
);
}
return (
<main>
<div>storefront</div>
</main>
);
}

0 comments on commit c945919

Please sign in to comment.