Updated the page style
This commit is contained in:
parent
26ed07ba42
commit
762458c88d
9 changed files with 738 additions and 200 deletions
30
scripts/web.js
Normal file
30
scripts/web.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
!(function () {
|
||||
const e = document,
|
||||
t = e.documentElement,
|
||||
n = e.body,
|
||||
i = e.getElementById("lights-toggle"),
|
||||
s = (window.sr = ScrollReveal());
|
||||
function a() {
|
||||
let e = i.parentNode.querySelector(".label-text");
|
||||
i.checked
|
||||
//? (n.classList.remove("lights-off"), e && (e.innerHTML = "dark"))
|
||||
? (n.classList.add("lights-off"), e && (e.innerHTML = "light"))
|
||||
: (n.classList.add("lights-off"), e && (e.innerHTML = "light"));
|
||||
}
|
||||
t.classList.remove("no-js"),
|
||||
t.classList.add("js"),
|
||||
window.addEventListener("load", function () {
|
||||
n.classList.add("is-loaded");
|
||||
}),
|
||||
n.classList.contains("has-animations") &&
|
||||
window.addEventListener("load", function () {
|
||||
s.reveal(".feature", {
|
||||
duration: 600,
|
||||
distance: "20px",
|
||||
easing: "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
||||
origin: "right",
|
||||
viewFactor: 0.2,
|
||||
});
|
||||
}),
|
||||
i && (window.addEventListener("load", a), i.addEventListener("change", a));
|
||||
})();
|
||||
528
styles/style.css
528
styles/style.css
|
|
@ -1,4 +1,530 @@
|
|||
html {
|
||||
line-height: 1.15;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #4a313c;
|
||||
margin: 0;
|
||||
color: #8595ae;
|
||||
}
|
||||
|
||||
footer,
|
||||
header,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
figcaption,
|
||||
figure,
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
-webkit-text-decoration-skip: objects;
|
||||
}
|
||||
|
||||
img {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 120px;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.site-header img{
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6 {
|
||||
clear: both;
|
||||
color: #2e1e26;
|
||||
font-weight: 600;
|
||||
}
|
||||
h1,
|
||||
.h1 {
|
||||
font-size: 38px;
|
||||
line-height: 48px;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 32px;
|
||||
line-height: 42px;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
h3,
|
||||
.h3,
|
||||
blockquote {
|
||||
font-size: 24px;
|
||||
line-height: 34px;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
.text-sm {
|
||||
font-size: 18px;
|
||||
line-height: 27px;
|
||||
letter-spacing: -0.1px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
.h1,
|
||||
.h2 {
|
||||
margin-top: 48px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
h3,
|
||||
.h3 {
|
||||
margin-top: 36px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.container,
|
||||
.container-sm {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1128px;
|
||||
}
|
||||
.container-sm {
|
||||
max-width: 848px;
|
||||
}
|
||||
.container .container-sm {
|
||||
max-width: 800px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.has-top-divider {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.has-bottom-divider {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: relative;
|
||||
padding: 24px 0;
|
||||
z-index: 2;
|
||||
}
|
||||
.site-header-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero {
|
||||
flex: auto;
|
||||
text-align: center;
|
||||
padding-top: 48px;
|
||||
padding-bottom: 88px;
|
||||
background-image: url("./../../images/HeroBanner.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
footer img {
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
position: relative;
|
||||
}
|
||||
.hero-paragraph {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.hero-cta {
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
.lights-toggle {
|
||||
color: rgba(107, 122, 144, 0.64);
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.hero {
|
||||
text-align: left;
|
||||
padding-top: 88px;
|
||||
padding-bottom: 120px;
|
||||
}
|
||||
.hero-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.hero-copy {
|
||||
padding-top: 40px;
|
||||
padding-right: 48px;
|
||||
min-width: 448px;
|
||||
max-width: 512px;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero-title {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.hero-paragraph {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.hero-cta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
}
|
||||
.hero-cta .button {
|
||||
min-width: 170px;
|
||||
}
|
||||
.hero-cta .button:first-child {
|
||||
margin-right: 32px;
|
||||
}
|
||||
.header-illustration {
|
||||
display: block;
|
||||
}
|
||||
.hero-media {
|
||||
z-index: 0;
|
||||
}
|
||||
.hero-media img,
|
||||
.hero-media svg {
|
||||
max-width: none;
|
||||
}
|
||||
.header-illustration-image {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: -168px;
|
||||
left: -722px;
|
||||
width: 1440px;
|
||||
height: 324px;
|
||||
}
|
||||
}
|
||||
.features-wrap {
|
||||
max-width: 540px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.feature {
|
||||
text-align: center;
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
.feature:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.feature-icon {
|
||||
display: inline-flex;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.feature-icon img,
|
||||
.feature-icon svg {
|
||||
max-width: none;
|
||||
}
|
||||
.feature-title {
|
||||
position: relative;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
.feature-title::after {
|
||||
content: '';
|
||||
width: 32px;
|
||||
height: 2px;
|
||||
position: absolute;
|
||||
bottom: -14px;
|
||||
left: calc(50% - 16px);
|
||||
background: #e9edf3;
|
||||
}
|
||||
.feature-title::after {
|
||||
background: #3f2a34;
|
||||
}
|
||||
@media (min-width: 641px) {
|
||||
.features {
|
||||
position: relative;
|
||||
}
|
||||
.features .section-inner {
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
.features .section-paragraph {
|
||||
padding-left: 72px;
|
||||
padding-right: 72px;
|
||||
}
|
||||
.features::before {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 168px;
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
#3f2a34,
|
||||
#3f2a34
|
||||
);
|
||||
}
|
||||
.features::before {
|
||||
display: none;
|
||||
}
|
||||
.feature {
|
||||
text-align: left;
|
||||
}
|
||||
.feature-inner {
|
||||
display: flex;
|
||||
}
|
||||
.feature-icon {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
margin-right: 32px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.feature-title::after {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
.cta {
|
||||
position: relative;
|
||||
}
|
||||
.cta .section-inner {
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
.cta .section-paragraph {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.cta::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -32px;
|
||||
left: calc(50% - 720px);
|
||||
height: 263px;
|
||||
width: 1440px;
|
||||
}
|
||||
.cta-cta {
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
@media (max-width: 639px) {
|
||||
.cta-cta .button {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
@media (min-width: 641px) {
|
||||
.cta .section-inner {
|
||||
padding-bottom: 128px;
|
||||
}
|
||||
.cta .section-paragraph {
|
||||
margin-bottom: 40px;
|
||||
padding-left: 72px;
|
||||
padding-right: 72px;
|
||||
}
|
||||
.cta::before {
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
.is-boxed {
|
||||
background: #e9edf3;
|
||||
}
|
||||
.body-wrap {
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
.boxed-container {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 16px 48px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
main {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
.section-inner {
|
||||
position: relative;
|
||||
padding-top: 48px;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
letter-spacing: 0px;
|
||||
background: #2e1e26;
|
||||
color: #6b7a90;
|
||||
}
|
||||
|
||||
.site-footer-inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-top: 48px;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.nes-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.register {
|
||||
height: 1000px;
|
||||
}
|
||||
|
||||
.login {
|
||||
height: 1000px;
|
||||
}
|
||||
.container .login {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.asset-dark {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
.is-loaded .asset-dark {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.asset-dark {
|
||||
display: none;
|
||||
}
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
.asset-dark {
|
||||
display: block;
|
||||
}
|
||||
a {
|
||||
color: #8595ae;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6 {
|
||||
color: #fff !important;
|
||||
}
|
||||
.is-boxed {
|
||||
background: #3f2a34;
|
||||
}
|
||||
.body-wrap {
|
||||
background: #2e1e26;
|
||||
}
|
||||
.boxed-container {
|
||||
box-shadow: 0 16px 48px #3f2a34;
|
||||
}
|
||||
|
||||
.has-top-divider {
|
||||
position: relative;
|
||||
}
|
||||
.has-top-divider::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: block;
|
||||
height: 1px;
|
||||
background: #3f2a34;
|
||||
}
|
||||
.has-bottom-divider {
|
||||
position: relative;
|
||||
}
|
||||
.has-bottom-divider::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: block;
|
||||
height: 1px;
|
||||
background: #3f2a34;
|
||||
}
|
||||
body,
|
||||
a,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
.h1,
|
||||
.h2,
|
||||
.h3,
|
||||
.h4,
|
||||
.h5,
|
||||
.h6 {
|
||||
transition: color 0.25s ease;
|
||||
}
|
||||
|
||||
.boxed-container {
|
||||
transition: box-shadow 0.15s ease;
|
||||
}
|
||||
|
|
@ -1,123 +1,94 @@
|
|||
<?php require ('partials/head.php') ?>
|
||||
<?php require ('partials/nav.php') ?>
|
||||
<div class="isolate bg-white my-10">
|
||||
<main style="background-color: #3f3035;">
|
||||
<div class="relative px-6 lg:px-8 min-h-500" style="background-image: url(../images/HeroBanner.png); background-repeat: no-repeat; background-position: center;">
|
||||
<div class="mx-auto max-w-3xl pt-20 pb-32 sm:pt-48 sm:pb-40">
|
||||
<div>
|
||||
<div class="hidden sm:mb-8 sm:flex sm:justify-center">
|
||||
<?php require('partials/head.php') ?>
|
||||
<?php require('partials/nav.php') ?>
|
||||
|
||||
<main>
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<div class="hero-inner">
|
||||
<div class="hero-copy">
|
||||
<h1 class="hero-title mt-0">Automatisiere spielerisch das 1x1</h1>
|
||||
<p class="hero-paragraph">Zeige was du kannst und kämpfe dich durch den Dungeon.</p>
|
||||
<div class="hero-cta">
|
||||
<a class="<?= urlIs("/login") ?> nes-btn is-primary" href="/login">Starte Jetzt!</a>
|
||||
</div>
|
||||
<div>
|
||||
<h1 class="text-4xl font-bold tracking-tight sm:text-center sm:text-6xl" style="color: #e6e6e7;">Automatisiere spielerisch das 1x1</h1>
|
||||
<p class="mt-6 text-lg leading-8 text-gray-600 sm:text-center" style="color: whitesmoke;">Zeige was du kannst und kämpfe dich durch denn Dungeon.</p>
|
||||
<div class="mt-8 flex gap-x-4 sm:justify-center">
|
||||
<a href="/login" class="<?= urlIs("/login") ?> nes-btn is-primary">
|
||||
Los geht's
|
||||
<span class="text-indigo-200" aria-hidden="true">→</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="features section">
|
||||
<div class="container">
|
||||
<div class="features-inner section-inner has-bottom-divider">
|
||||
<div class="features-header text-center">
|
||||
<div class="container-sm">
|
||||
<h2 class="section-title mt-0">The Math Wizard</h2>
|
||||
<p class="section-paragraph">Ohne es zu bemerken lernst du das 1x1.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="features-wrap">
|
||||
<div class="feature is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<img class="asset-dark" src="./images/weapon_sword_ruby.png" alt="Feature 01">
|
||||
</div>
|
||||
<div class="feature-content">
|
||||
<h3 class="feature-title mt-0">Immer neue Level</h3>
|
||||
<p class="text-sm mb-0">Spannende, zufallsgeneriete Level im Dungeon-Crawler-Stil.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]">
|
||||
<svg class="relative left-[calc(50%+3rem)] h-[21.1875rem] max-w-none -translate-x-1/2 sm:left-[calc(50%+36rem)] sm:h-[42.375rem]" viewBox="0 0 1155 678" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill="url(#ecb5b0c9-546c-4772-8c71-4d3f06d544bc)" fill-opacity=".3" d="M317.219 518.975L203.852 678 0 438.341l317.219 80.634 204.172-286.402c1.307 132.337 45.083 346.658 209.733 145.248C936.936 126.058 882.053-94.234 1031.02 41.331c119.18 108.451 130.68 295.337 121.53 375.223L855 299l21.173 362.054-558.954-142.079z" />
|
||||
<defs>
|
||||
<linearGradient id="ecb5b0c9-546c-4772-8c71-4d3f06d544bc" x1="1155.49" x2="-78.208" y1=".177" y2="474.645" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#9089FC"></stop>
|
||||
<stop offset="1" stop-color="#FF80B5"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<div class="feature is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<img class="asset-dark" src="./images/monster_imp.png" alt="Feature 02">
|
||||
</div>
|
||||
<div class="feature-content">
|
||||
<h3 class="feature-title mt-0">Angepasste Schwierigkeit</h3>
|
||||
<p class="text-sm mb-0">Die Aufgaben passen sich deinen aktuellen Fähigkeiten an.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<img class="asset-dark" src="./images/npc_knight_green.png" alt="Feature 03">
|
||||
</div>
|
||||
<div class="feature-content">
|
||||
<h3 class="feature-title mt-0">Fokus auf das was zählt</h3>
|
||||
<p class="text-sm mb-0">Fokus auf das Automatisieren der Multiplikation im Zahlenraum von 1 bis 10.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<img class="asset-dark" src="./images/monster_necromancer.png" alt="Feature 04">
|
||||
</div>
|
||||
<div class="feature-content">
|
||||
<h3 class="feature-title mt-0">Lernfortschritt immer im Blick</h3>
|
||||
<p class="text-sm mb-0">Lernziel und Fortschrittskontrolle, um deinen Fortschritt zu verfolgen.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-24" style="background-color: #3f3035;">
|
||||
|
||||
</div>
|
||||
<div class="py-24 sm:py-32 lg:py-40" style="background-color: #3f3035;">
|
||||
<div class="nes-container with-title mx-auto max-w-7xl px-6 lg:px-8 bg-gray-50">
|
||||
<p class="title">Features</p>
|
||||
<div class="sm:text-center">
|
||||
<p class="mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">Der bessere Weg das 1x1 zu automatisieren.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="mt-20 max-w-lg sm:mx-auto md:max-w-none">
|
||||
<div class="grid grid-cols-1 gap-y-16 md:grid-cols-2 md:gap-x-12 md:gap-y-16">
|
||||
<div class="relative flex flex-col gap-6 sm:flex-row md:flex-col lg:flex-row">
|
||||
<div class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-500 text-white sm:shrink-0">
|
||||
<!-- Heroicon name: outline/globe-alt -->
|
||||
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 21a9.004 9.004 0 008.716-6.747M12 21a9.004 9.004 0 01-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 017.843 4.582M12 3a8.997 8.997 0 00-7.843 4.582m15.686 0A11.953 11.953 0 0112 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0121 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0112 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 013 12c0-1.605.42-3.113 1.157-4.418" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="sm:min-w-0 sm:flex-1">
|
||||
<p class="text-lg font-semibold leading-8 text-gray-900">Immer neue Level</p>
|
||||
<p class="mt-2 text-base leading-7 text-gray-600">Spannende, zufallsgenerierte Level im Dungeon-Crawler-Stil.</p>
|
||||
<section class="cta section">
|
||||
<div class="container-sm">
|
||||
<div class="cta-inner section-inner">
|
||||
<div class="cta-header text-center">
|
||||
<h2 class="section-title mt-0">Bereit los zu legen?</h2>
|
||||
<p class="section-paragraph">Fange noch heute an zu lernen.</p>
|
||||
<div class="cta-cta">
|
||||
<a class="<?= urlIs("/login") ?> nes-btn is-primary" href="/login">Los geht's</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative flex flex-col gap-6 sm:flex-row md:flex-col lg:flex-row">
|
||||
<div class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-500 text-white sm:shrink-0">
|
||||
<!-- Heroicon name: outline/scale -->
|
||||
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0012 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 01-2.031.352 5.988 5.988 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 01-2.031.352 5.989 5.989 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971z" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="sm:min-w-0 sm:flex-1">
|
||||
<p class="text-lg font-semibold leading-8 text-gray-900">Angepasste Schwierigkeit</p>
|
||||
<p class="mt-2 text-base leading-7 text-gray-600">Die Aufgabe passen sich deinen aktuellen Fähigkeiten an.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative flex flex-col gap-6 sm:flex-row md:flex-col lg:flex-row">
|
||||
<div class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-500 text-white sm:shrink-0">
|
||||
<!-- Heroicon name: outline/scale -->
|
||||
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0012 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 01-2.031.352 5.988 5.988 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 01-2.031.352 5.989 5.989 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971z" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="sm:min-w-0 sm:flex-1">
|
||||
<p class="text-lg font-semibold leading-8 text-gray-900">Fokus auf das was zählt</p>
|
||||
<p class="mt-2 text-base leading-7 text-gray-600">Fokus auf das Automatisieren der Multiplikation im Zahlenraum von 1 bis 10.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative flex flex-col gap-6 sm:flex-row md:flex-col lg:flex-row">
|
||||
<div class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-500 text-white sm:shrink-0">
|
||||
<!-- Heroicon name: outline/scale -->
|
||||
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3v17.25m0 0c-1.472 0-2.882.265-4.185.75M12 20.25c1.472 0 2.882.265 4.185.75M18.75 4.97A48.416 48.416 0 0012 4.5c-2.291 0-4.545.16-6.75.47m13.5 0c1.01.143 2.01.317 3 .52m-3-.52l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.988 5.988 0 01-2.031.352 5.988 5.988 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L18.75 4.971zm-16.5.52c.99-.203 1.99-.377 3-.52m0 0l2.62 10.726c.122.499-.106 1.028-.589 1.202a5.989 5.989 0 01-2.031.352 5.989 5.989 0 01-2.031-.352c-.483-.174-.711-.703-.59-1.202L5.25 4.971z" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="sm:min-w-0 sm:flex-1">
|
||||
<p class="text-lg font-semibold leading-8 text-gray-900">Lernfortschritt immer im Blick.</p>
|
||||
<p class="mt-2 text-base leading-7 text-gray-600">Lernziele und Fortschrittskontrollen, um den Fortschritt der Schüler zu verfolgen.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-48" style="background-color: #3f3035;">
|
||||
</div>
|
||||
<div class="bg-gray-50">
|
||||
<div class="mx-auto max-w-7xl py-12 px-6 lg:flex lg:items-center lg:justify-between lg:py-16 lg:px-8">
|
||||
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
|
||||
<span class="block">Bereit los zu legen?</span>
|
||||
<span class="block text-indigo-600">Fange noch heute an zu lernen.</span>
|
||||
</h2>
|
||||
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
|
||||
<div class="inline-flex rounded-md shadow">
|
||||
<a href="/login" class="<?= urlIs("/login") ?> nes-btn is-primary">Los geht's</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<?php require ('partials/footer.php') ?>
|
||||
<?php require('partials/footer.php') ?>
|
||||
|
|
@ -1,41 +1,39 @@
|
|||
<?php require('partials/head.php') ?>
|
||||
<?php require('partials/nav.php') ?>
|
||||
|
||||
<div class="flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
||||
<div class="w-full max-w-md space-y-8 nes-container">
|
||||
<form action="/login" method="POST">
|
||||
<div>
|
||||
<h2 class="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900">Melde dich mit deinem Konto an.</h2>
|
||||
<p class="mt-2 text-center text-sm text-gray-600">
|
||||
Oder
|
||||
<a href="/register" class="<?= urlIs("/register") ?> font-medium text-indigo-600 hover:text-indigo-500">registriere dich noch Heute</a>
|
||||
</p>
|
||||
<div class="container login">
|
||||
<div class="nes-container">
|
||||
<form action="/login" method="POST">
|
||||
<div>
|
||||
<h2>Melde dich mit deinem Konto an.</h2>
|
||||
<p>
|
||||
Oder
|
||||
<a href="/register" class="<?= urlIs("/register") ?>">registriere dich noch Heute</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="nes-field">
|
||||
<input name="username" type="text" class="nes-input" placeholder="Username">
|
||||
</div>
|
||||
<div class="nes-field">
|
||||
<input name="password" type="password" class="nes-input" placeholder="Passwort">
|
||||
</div>
|
||||
<div class="container">
|
||||
<label>
|
||||
<input type="checkbox" class="nes-checkbox is-dark" />
|
||||
<span>Angemeldet bleiben</span>
|
||||
</label>
|
||||
<div>
|
||||
<a href="#">Passwort vergessen?</a>
|
||||
</div>
|
||||
</div>
|
||||
<div >
|
||||
<button type="submit" name="submit" class="nes-btn is-primary">
|
||||
<span>
|
||||
</span>
|
||||
Anmelden
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="nes-field">
|
||||
<!--<label for="name_field">Username</label>-->
|
||||
<input name="username" type="text" class="nes-input" placeholder="Username">
|
||||
</div>
|
||||
<div class="nes-field">
|
||||
<!--<label for="name_field">Passwort</label>-->
|
||||
<input name="password" type="password" class="nes-input" placeholder="Passwort">
|
||||
</div>
|
||||
<div class="flex items-center justify-between">
|
||||
<label class="flex items-center justify-between">
|
||||
<input type="checkbox" class="nes-checkbox" />
|
||||
<span>Angemeldet bleiben</span>
|
||||
</label>
|
||||
<div class="text-sm">
|
||||
<a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Passwort vergessen?</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" name="submit" class="nes-btn is-primary">
|
||||
<span class="absolute inset-y-0 left-0 flex items-center pl-3">
|
||||
</span>
|
||||
Anmelden
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php require('partials/footer.php') ?>
|
||||
|
|
@ -1,4 +1,17 @@
|
|||
</div>
|
||||
<footer class="site-footer has-top-divider">
|
||||
<div class="container">
|
||||
<div class="site-footer-inner">
|
||||
<div class="brand footer-brand">
|
||||
<a href="#">
|
||||
<img class="asset-dark" src="./images/icon.png" alt="Logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="footer-copyright">© 2018 Patryk Hegenberg, all rights reserved</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="./../scripts/web.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de" class="h-full bg-gray-100">
|
||||
<html lang="de" class="no-js">
|
||||
<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">
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/nes.css@2.3.0/css/nes.min.css" rel="stylesheet">
|
||||
<title>The Math Wizard</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P');
|
||||
</style>
|
||||
<link href="https://cdn.jsdelivr.net/npm/nes.css@2.3.0/css/nes.min.css" rel="stylesheet">
|
||||
<script src="https://unpkg.com/scrollreveal@4.0.0/dist/scrollreveal.min.js"></script>
|
||||
<link rel="stylesheet" href="./../styles/style.css">
|
||||
<title>The Math Wizard</title>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P');
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<body class="h-full">
|
||||
<div class="min-h-full" style="background-color: #3f3035;">
|
||||
<div class="px-6 pt-6 lg:px-8 mb-5" >
|
||||
<div>
|
||||
<nav class="flex h-9 items-center justify-between" aria-label="Global" style="background-color: #3f3035;">
|
||||
<div class="flex lg:min-w-0 lg:flex-1" aria-label="Global">
|
||||
<a href="/" class="<?= urlIs("/") ?> -m-1.5 p-1.5">
|
||||
<span class="sr-only">Your Company</span>
|
||||
<img class="h-8" src="./../../images/icon.png" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="lg:flex lg:min-w-0 lg:flex-1 lg:justify-center lg:gap-x-12">
|
||||
<?php if(isset($_SESSION['username'])) : ?>
|
||||
<a href="/profile" class="<?= urlIs('/profile') ?> text-sm font-semibold text-gray-900 hover:text-gray-900">Dashboard</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="lg:flex lg:min-w-0 lg:flex-1 lg:justify-end">
|
||||
<?php if(isset($_SESSION['username'])) : ?>
|
||||
<a href="/logout" class="<?= urlIs("/logout") ?> nes-btn text-sm">Abmelden</a>
|
||||
<?php else : ?>
|
||||
<a href="/login" class="<?= urlIs('/login') ?> nes-btn text-sm">Anmelden</a>
|
||||
<!-- <a href="/register" class="<?= urlIs('/register') ?> nes-btn text-sm">Registrieren</a>-->
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<body class="is-boxed">
|
||||
<div class="body-wrap boxed-container">
|
||||
<header class="site-header">
|
||||
<div class="container">
|
||||
<nav>
|
||||
<div class="site-header-inner">
|
||||
|
||||
<a href="/" class="<?= urlIs("/") ?> ">
|
||||
<img src="./../../images/icon.png" alt="">
|
||||
</a>
|
||||
<div>
|
||||
<?php if (isset($_SESSION['username'])) : ?>
|
||||
<a href="/profile" class="<?= urlIs('/profile') ?> ">Profil</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div>
|
||||
<?php if (isset($_SESSION['username'])) : ?>
|
||||
<a href="/logout" class="<?= urlIs("/logout") ?> nes-btn ">Abmelden</a>
|
||||
<?php else : ?>
|
||||
<a href="/login" class="<?= urlIs('/login') ?> nes-btn">Anmelden</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -1,28 +1,28 @@
|
|||
<?php require('partials/head.php') ?>
|
||||
<?php require('partials/nav.php') ?>
|
||||
|
||||
<div class="flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex-col">
|
||||
<div class="w-1000 space-y-8 nes-container">
|
||||
<section class="message-list flex-auto">
|
||||
<section class="message -left flex space-x-10">
|
||||
<i class="nes-bcrikko mr-10"></i>
|
||||
<div class="nes-balloon from-left mx-10">
|
||||
<div class="container profile">
|
||||
<div>
|
||||
<div class="nes-container">
|
||||
<section class="message-list">
|
||||
<section class="message -left">
|
||||
<i class="nes-bcrikko"></i>
|
||||
<div class="nes-balloon from-left">
|
||||
<p>Hallo <?= $stats['username'] ?> schön das du da bist.</p>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="nes-container flex-col justife-center items-center space-y-4">
|
||||
<div class="nes-container">
|
||||
<div class="text-center">
|
||||
<h1>Was möchtest du tun?</h1>
|
||||
<h3>Was möchtest du tun?</h3>
|
||||
</div>
|
||||
<div class="flex justify-evenly items-center">
|
||||
<a href="/learn" class="<?= urlIs("/learn") ?> nes-btn">Lernen</a>
|
||||
<div>
|
||||
<!--<a href="/learn" class="<?= urlIs("/learn") ?> nes-btn">Lernen</a>-->
|
||||
<a href="/game" class="<?= urlIs("/game") ?> nes-btn">Üben</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nes-container with-title mt-10 space-y-4">
|
||||
<div class="nes-container with-title">
|
||||
<span class="title">Dein Fortschritt</span>
|
||||
<span>Du bist aktuell Level: <?php echo $stats['level'] ?> </span>
|
||||
<br>
|
||||
|
|
@ -39,9 +39,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="nes-container mt-10">
|
||||
<div class="nes-container">
|
||||
<div>
|
||||
<a href="/delete" class="nes-btn is-error">Account löschen</a>
|
||||
<a href="/delete" class="nes-btn is-error">Account löschen</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php require('partials/head.php') ?>
|
||||
<?php require('partials/nav.php') ?>
|
||||
<div class="flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
||||
<div class="w-full max-w-md space-y-8 nes-container">
|
||||
<div class="container register">
|
||||
<div class="nes-container">
|
||||
<form action="/register" method="POST">
|
||||
|
||||
<div class="nes-field">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue