Skip to content

Commit

Permalink
remove styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Zuniga Cuellar committed Oct 5, 2023
1 parent 48fc859 commit 40d7ec6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import Base from "../layout/Base.astro";

<Base title="Home">
<p>Welcome to this demo!</p>
</Base>
</Base>
8 changes: 1 addition & 7 deletions src/pages/register.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ import Base from "../layout/Base.astro";
<Base title="Register">
<form
action="/api/auth/register"
method="post"
style={{
display: "flex",
flexDirection: "column",
maxWidth: "300px",
gap: "0.5rem",
}}>
method="post">
<label for="email">Email</label>
<input id="email" type="email" name="email" />
<label for="password">Password</label>
Expand Down
11 changes: 2 additions & 9 deletions src/pages/signin.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@ import Base from "../layout/Base.astro";
<form
action="/api/auth/signin"
method="post"
style={{
display: "flex",
flexDirection: "column",
maxWidth: "300px",
gap: "0.5rem",
}}

>
<label for="email">Email</label>
<input id="email" type="email" name="email" />
<label for="password">Password</label>
<input id="password" type="password" name="password" />
<button type="submit">Sign In</button>
</form>
<form action="/api/auth/signin" method="post" style={{
marginTop: "1rem",
}}>
<form action="/api/auth/signin" method="post">
<button value="github" name="provider" type="submit">Sign in with GitHub</button>
</form>
</Base>

0 comments on commit 40d7ec6

Please sign in to comment.