Skip to content

Commit f563281

Browse files
Docs: add footer to README.md
- Minor changes on login page - Minor style changes on MenuCard
1 parent d5e5cc0 commit f563281

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@ bun dev
4646

4747
Open [http://localhost:3000](http://localhost:3000) with your browser to navigate on FitLog web app.
4848

49-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
49+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
50+
51+
52+
---
53+
Developed with ☕ by [Matheus Misumoto](https://matheusmisumoto.dev) in Santos, Brazil

src/app/login/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default async function Login() {
1212

1313
const wakeUpApi = await api.get('hello');
1414
const response: String = wakeUpApi.data;
15+
console.log(response);
1516

1617
return (
1718
<main className="flex flex-col items-center justify-center min-h-full relative bg-brand gap-y-12 px-6 py-12 overflow-hidden login">
@@ -21,7 +22,6 @@ export default async function Login() {
2122
</div>
2223
<div className="w-full flex flex-col items-center">
2324
<Suspense fallback={<Loading />} >
24-
<div className="hidden">{response}</div>
2525
<a href={`https://github.com/login/oauth/authorize?client_id=${process.env.NEXT_PUBLIC_GITHUB_CLIENT_ID}`}
2626
className="w-full text-[white] bg-black font-bold rounded-lg text-sm px-6 py-3 text-center me-2 mb-2 max-w-screen-lg z-10">
2727
<svg className="w-4 h-4 me-2 inline-block align-text-top" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">

src/components/MenuCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ type MainProps = {
66
}
77

88
export default function MenuCard({children}: MainProps){
9-
return(<nav className="mt-2 mb-8 bg-card/75 divide-y divide-white/25 rounded-2xl flex flex-col max-w-screen-md mx-auto">{children}</nav>)
9+
return(<nav className="mt-2 mb-6 bg-card/75 divide-y divide-white/25 rounded-2xl flex flex-col max-w-screen-md mx-auto">{children}</nav>)
1010
}

0 commit comments

Comments
 (0)