Skip to content

Instantly share code, notes, and snippets.

@Ghostscypher
Created February 2, 2022 12:13
Show Gist options
  • Save Ghostscypher/baf2cbfe786d2e2bd411f06948b704b9 to your computer and use it in GitHub Desktop.
Save Ghostscypher/baf2cbfe786d2e2bd411f06948b704b9 to your computer and use it in GitHub Desktop.
Layout blade shared between Oauth2-Server app and the Client app
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<style>
body {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.container {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
margin: auto;
}
.container > form {
margin: auto;
}
.form-input {
padding: .2em;
}
.error {
font-size: 1em;
color: red;
}
.success {
font-size: 1em;
color: green;
}
</style>
<div class="container">
@yield('content')
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment