This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/website/src/components/DocPageAuthentication.js
slumbering a12e08bd76 docs: 🐛 try oauth keys without .env
Signed-off-by: slumbering <slumbering.pierrot@gmail.com>
2021-06-11 17:04:30 +02:00

13 lines
623 B
JavaScript

import React from "react";
import { GithubLoginButton } from 'react-social-login-buttons';
import style from './DocPageAuthentication.module.css'
export default function DocAuthentication() {
return (
<div className={style.container}>
<h1 className={style.h1}>Welcome on Dagger documentation</h1>
<p>Please Sign in to Github in order to get access to the doc</p>
<GithubLoginButton className={style.btn__github} onClick={() => window.location.href = `//github.com/login/oauth/authorize?client_id=cd8f9be2562bfc8d6cfc&scope=user&allow_signup=false`} />
</div>
)
}