|
@@ -1,20 +1,37 @@
|
|
|
-<svelte:head>
|
|
|
- <title>Sapper project template</title>
|
|
|
-</svelte:head>
|
|
|
+<style lang="scss">
|
|
|
+ #login-box {
|
|
|
+ height: 100vh;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
|
|
|
-<h1>Great success!11!</h1>
|
|
|
+ #login-form {
|
|
|
+ border-radius: 3px;
|
|
|
+ box-shadow: 3px 3px 10px -1px rgba(0, 0, 0, 0.75);
|
|
|
+ }
|
|
|
|
|
|
- <section class="section">
|
|
|
- <div class="container">
|
|
|
- <h1 class="title">
|
|
|
- Hello World
|
|
|
- </h1>
|
|
|
- <p class="subtitle">
|
|
|
- My first website with <strong>Bulma</strong>!
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </section>
|
|
|
+ .discord-bg {
|
|
|
+ background-color: #7289da;
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+</style>
|
|
|
|
|
|
-<a class="button is-primary">
|
|
|
- Button
|
|
|
-</a>
|
|
|
+<svelte:head>
|
|
|
+ <title>Sapper project template</title>
|
|
|
+</svelte:head>
|
|
|
+<div class="content">
|
|
|
+ <div id="login-box" class="columns">
|
|
|
+ <div id="login-form" class="column is-offset-4 is-4 has-background-black">
|
|
|
+ <h1 class="has-text-centered">NoctBot panel</h1>
|
|
|
+ <div class="columns is-mobile is-centered">
|
|
|
+ <div class="column is-narrow">
|
|
|
+ <a class="button discord-bg" href="/login/discord/do">
|
|
|
+ <span class="icon">
|
|
|
+ <i class="fab fa-discord" />
|
|
|
+ </span>
|
|
|
+ <span>Login with Discord</span>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|