Adds auth test
This commit is contained in:
parent
4f729f8216
commit
d4d7b06833
2 changed files with 19 additions and 0 deletions
|
@ -24,6 +24,25 @@ export default function Home({
|
|||
<pre>{JSON.stringify(session, null, 2)}</pre>
|
||||
<p>Is owner? {isOwner.toString()}</p>
|
||||
<p>Is sponsor? {isSponsor.toString()}</p>
|
||||
|
||||
{isSponsor ? (
|
||||
<p>
|
||||
<b>Hey, thanks for sponsoring me!</b>
|
||||
</p>
|
||||
) : (
|
||||
<p>
|
||||
<b>
|
||||
This site is just for my github sponsors.{' '}
|
||||
<a
|
||||
href="https://github.com/sponsors/steveruizok"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Sponsor here!
|
||||
</a>
|
||||
</b>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue