13 lines
623 B
JavaScript
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>
|
|
)
|
|
} |