mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
docs: ssr types
This commit is contained in:
@@ -8,7 +8,7 @@ step: 5
|
||||
We can now implement our sign in page. Create a `+page.svelte` file in the `src/routes/signin` directory:
|
||||
|
||||
```svelte
|
||||
<!-- src/routes/sigin/+page.svelte -->
|
||||
<!-- src/routes/signin/+page.svelte -->
|
||||
<form method="post">
|
||||
<input id="email" placeholder="Email" type="email" />
|
||||
<input id="password" placeholder="Password" type="password" />
|
||||
|
||||
@@ -10,7 +10,7 @@ To support the OAuth2 flow, we first redirect the user to the OAuth2 provider, a
|
||||
To redirect, add a button to our sign in page that redirects the user to the OAuth2 provider.
|
||||
|
||||
```svelte
|
||||
<!-- src/routes/sigin/+page.svelte -->
|
||||
<!-- src/routes/signin/+page.svelte -->
|
||||
|
||||
<!-- ... existing sign in form -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user