-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE-36] Prettier/eslint errors (#37)
* fix: prettier/eslint errors * rename file to tsx
- Loading branch information
Showing
42 changed files
with
1,523 additions
and
993 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import type { Metadata } from "next"; | ||
import { Inter } from "next/font/google"; | ||
import "../styles/globals.css"; | ||
import type { Metadata } from 'next' | ||
import { Inter } from 'next/font/google' | ||
import '../styles/globals.css' | ||
|
||
const inter = Inter({ subsets: ["latin"] }); | ||
const inter = Inter({ subsets: ['latin'] }) | ||
|
||
export const metadata: Metadata = { | ||
title: "Create Next App", | ||
description: "Generated by create next app", | ||
}; | ||
title: 'Create Next App', | ||
description: 'Generated by create next app', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
children: React.ReactNode | ||
}>) { | ||
return ( | ||
<html lang="en"> | ||
<body className={inter.className}>{children}</body> | ||
</html> | ||
); | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import "../../styles/globals.css"; | ||
import type { Metadata } from "next"; | ||
import { Poppins } from "next/font/google"; | ||
import React from "react"; | ||
import '../../styles/globals.css' | ||
import type { Metadata } from 'next' | ||
import { Poppins } from 'next/font/google' | ||
import React from 'react' | ||
|
||
const poppins = Poppins({ | ||
subsets: ["latin"], | ||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], | ||
}); | ||
subsets: ['latin'], | ||
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'], | ||
}) | ||
|
||
export const metadata: Metadata = { | ||
title: "Octopost", | ||
title: 'Octopost', | ||
description: | ||
"A octo te leva para um mergulho em todas suas redes em um click", | ||
}; | ||
'A octo te leva para um mergulho em todas suas redes em um click', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body className={`${poppins.className} max-h-screen bg-primary-gray`}> | ||
<body className={`${poppins.className} bg-primary-gray max-h-screen`}> | ||
{children} | ||
</body> | ||
</html> | ||
); | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export default function Home() { | ||
return ( | ||
<main className="bg-blue-400 text-white flex min-h-screen bg-pattern h-screen bg-cover flex-col items-center justify-between p-24"> | ||
<div className="text-8xl font-extrabold animate-spin">Devhat</div> | ||
<div className="text-4xl animate-ping duration-1000">Coming soon...</div> | ||
<main className="bg-pattern flex h-screen min-h-screen flex-col items-center justify-between bg-blue-400 bg-cover p-24 text-white"> | ||
<div className="animate-spin text-8xl font-extrabold">Devhat</div> | ||
<div className="animate-ping text-4xl duration-1000">Coming soon...</div> | ||
</main> | ||
); | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
import "../../styles/globals.css"; | ||
import type { Metadata } from "next"; | ||
import { Roboto } from "next/font/google"; | ||
import React from "react"; | ||
import '../../styles/globals.css' | ||
import type { Metadata } from 'next' | ||
import { Roboto } from 'next/font/google' | ||
import React from 'react' | ||
|
||
const roboto = Roboto({ | ||
subsets: ["latin"], | ||
weight: ["100", "300", "400", "500", "700", "900"], | ||
}); | ||
subsets: ['latin'], | ||
weight: ['100', '300', '400', '500', '700', '900'], | ||
}) | ||
|
||
export const metadata: Metadata = { | ||
title: "Petdex", | ||
title: 'Petdex', | ||
description: | ||
"Bem vindo ao petdex. Clique aqui para saber mais sobre os pets.", | ||
}; | ||
'Bem vindo ao petdex. Clique aqui para saber mais sobre os pets.', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang="en"> | ||
<body className={`${roboto.className} max-h-screen bg-primary-gray`}> | ||
<body className={`${roboto.className} bg-primary-gray max-h-screen`}> | ||
{children} | ||
</body> | ||
</html> | ||
); | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
function Page() { | ||
return <h1>Petdex</h1>; | ||
return <h1>Petdex</h1> | ||
} | ||
|
||
export default Page; | ||
export default Page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.