add oauth and create suggestion

This commit is contained in:
2023-12-09 23:03:04 +01:00
parent 4a3ff6c7ac
commit ff2d5ae7a8
9 changed files with 143 additions and 35 deletions

View File

@@ -1,31 +1,9 @@
<script lang="ts" setup>
import { providers } from '~~/types'
useHead({
title: 'Sign my guestbook • Arthur Danjou',
})
const providers = [
{
slug: 'github',
label: 'Use Github',
icon: 'i-ph-github-logo-bold',
link: '/api/auth/github',
color: 'black',
},
{
slug: 'twitter',
label: 'Use Twitter',
icon: 'i-ph-twitter-logo-bold',
link: '/api/auth/twitter',
color: 'cyan',
},
{
slug: 'google',
label: 'Use Google',
icon: 'i-ph-google-logo-bold',
link: '/api/auth/google',
color: 'red',
},
]
</script>
<template>