Skip to content

Commit

Permalink
fixed prettier identation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseCSG committed Apr 1, 2024
1 parent 226caa5 commit 91a94a9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
6 changes: 3 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import "./globals.css";
// const inter = Inter({ subsets: ["latin"] });

const poppins = Poppins({
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
subsets: ['latin'],
display: 'swap',
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
subsets: ["latin"],
display: "swap",
});

export const metadata: Metadata = {
Expand Down
18 changes: 9 additions & 9 deletions app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ import Image from "next/image";

const Login = () => {
return (
<main className="w-full h-dvh bg-gradient-to-r from-primary to-[#8671d3] flex items-center justify-center">
<section className="bg-white w-[459px] h-[80%] rounded-[20px] shadow-md">
<p className=" text-center text-black text-4xl leading-tight font-medium mt-10 mx-8">
<main className="from-primary flex h-dvh w-full items-center justify-center bg-gradient-to-r to-[#8671d3]">
<section className="h-[80%] w-[459px] rounded-[20px] bg-white shadow-md">
<p className=" mx-8 mt-10 text-center text-4xl font-medium leading-tight text-black">
Welcome to Feedback Flow
</p>
<Image
className="my-6 mx-auto px-3 border border-black rounded-lg hover:bg-gray-300"
className="mx-auto my-6 rounded-lg border border-black px-3 hover:bg-gray-300"
src="/slack.svg"
alt="slack-logo"
width={65}
height={20}
/>
<div className="flex items-center justify-center mx-12">
<div className="mx-12 flex items-center justify-center">
<div className="flex-grow border-t border-black"></div>
<span className="mx-4 text-black text-sm">OR</span>
<span className="mx-4 text-sm text-black">OR</span>
<div className="flex-grow border-t border-black"></div>
</div>
<form className="flex flex-col items-center justify-center mt-6">
<label className="text-black text-sm">Email</label>
<form className="mt-6 flex flex-col items-center justify-center">
<label className="text-sm text-black">Email</label>
<input
className="w-[80%] h-10 border bg-white text-black border-black rounded-lg px-2 my-2"
className="my-2 h-10 w-[80%] rounded-lg border border-black bg-white px-2 text-black"
type="email"
/>
</form>
Expand Down
16 changes: 7 additions & 9 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import Image from "next/image";
export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<div className="z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex">
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
<div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:dark:bg-zinc-800/30">
Get started by editing&nbsp;
<code className="font-mono font-bold">app/page.tsx</code>
</p>
<div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none">
<div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white lg:static lg:h-auto lg:w-auto lg:bg-none dark:from-black dark:via-black">
<a
className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
Expand All @@ -25,13 +25,11 @@ export default function Home() {
priority
/>
</a>
<a href="/login">
Login
</a>
<a href="/login">Login</a>
</div>
</div>

<div className="relative flex place-items-center before:absolute before:h-[300px] before:w-full sm:before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-full sm:after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]">
<div className="relative z-[-1] flex place-items-center before:absolute before:h-[300px] before:w-full before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-full after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] sm:before:w-[480px] sm:after:w-[240px] before:lg:h-[360px] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40">
<Image
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
src="/next.svg"
Expand All @@ -42,7 +40,7 @@ export default function Home() {
/>
</div>

<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
<div className="mb-32 grid text-center lg:mb-0 lg:w-full lg:max-w-5xl lg:grid-cols-4 lg:text-left">
<a
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
Expand Down Expand Up @@ -106,7 +104,7 @@ export default function Home() {
-&gt;
</span>
</h2>
<p className={`m-0 max-w-[30ch] text-sm opacity-50 text-balance`}>
<p className={`m-0 max-w-[30ch] text-balance text-sm opacity-50`}>
Instantly deploy your Next.js site to a shareable URL with Vercel.
</p>
</a>
Expand Down
6 changes: 3 additions & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const config: Config = {
theme: {
extend: {
colors: {
"primary": "#6640D5",
"secondary": "#4598FB",
"white": "#F8F5F5"
primary: "#6640D5",
secondary: "#4598FB",
white: "#F8F5F5",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
Expand Down

0 comments on commit 91a94a9

Please sign in to comment.