Skip to content

Commit

Permalink
improve templating and success page
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyboardInterrupt committed Jun 16, 2023
1 parent 602b4ad commit 74879a0
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 61 deletions.
2 changes: 1 addition & 1 deletion static/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -4646,7 +4646,7 @@ button.bg-light:focus {
background-image: url("../img/screenshot-2.jpg") !important;
}
.bg-image-3{
background-image: url("../img/screenshot-1.jpg") !important;
background-image: url("../img/screenshot-townsquare.jpg") !important;
}

a.bg-dark:hover, a.bg-dark:focus,
Expand Down
Binary file added static/img/vh_logo_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 4 additions & 31 deletions templates/index.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Veiled Haven - Vanilla Survival Minecraft</title>
<meta name="description" content=""/>

<!--Inter UI font-->

<!--vendors styles-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"> -->

<!-- Bootstrap CSS / Color Scheme -->
<link rel="stylesheet" href="css/default.css" id="theme-color">
</head>
<body>
{% include 'parts/head.html' %}

<!--navigation-->
<section class="smart-scroll">
<div class="container-fluid">
<nav class="navbar navbar-expand-md navbar-dark">
<a class="navbar-brand heading-black" href="#">
Veiled Haven
<img src="img/vh_logo_small.png">
</a>
<button class="navbar-toggler navbar-toggler-right border-0" type="button" data-toggle="collapse"
data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false"
Expand Down Expand Up @@ -59,7 +40,7 @@
<div class="container">
<div class="row vh-md-100">
<div class="col-md-8 col-sm-10 col-12 mx-auto my-auto text-center">
<h1 class="heading-black text-capitalize">Veiled haven</h1>
<h1 class="heading-black text-capitalize"><img src="img/vh_logo_small.png"></h1>
<p class="lead py-3">Welcome to Veiled Haven, a Minecraft Server Project with a focus on keeping a vanilla gameplay experience and maintaining a mature community!</p>
</div>
</div>
Expand Down Expand Up @@ -246,12 +227,4 @@ <h5>Links</h5>
<i class="fa fa-angle-up" aria-hidden="true"></i>
</div>

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.7.3/feather.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>
{% include 'parts/tail.html' %}
20 changes: 20 additions & 0 deletions templates/parts/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Veiled Haven - Vanilla Survival Minecraft</title>
<meta name="description" content=""/>

<!--Inter UI font-->

<!--vendors styles-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"> -->

<!-- Bootstrap CSS / Color Scheme -->
<link rel="stylesheet" href="css/default.css" id="theme-color">
</head>
<body>
10 changes: 10 additions & 0 deletions templates/parts/tail.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/feather-icons/4.7.3/feather.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>
43 changes: 14 additions & 29 deletions templates/success.html
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Form</title>
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
</head>
{% include 'parts/head.html' %}
<!--hero header-->
<section class="bg-image bg-image-3 py-7 py-md-0 bg-hero" id="home">
<div class="container">
<div class="row vh-md-100">
<div class="col-md-8 col-sm-10 col-12 mx-auto my-auto text-center">
<h1 class="heading-black text-capitalize">Success!</h1>
<p class="lead py-3">We'll contact you via Discord! Make sure that you are able to receive Friend Requests!</p>
<p class="lead py-3">You can now close this tab, or go <a href="/">back to the Homepage</p>
</div>
</div>
</div>
</section>
{% include 'parts/tail.html' %}

<body><center>
<h1>Success, we'll contact you via Discord! Make sure that you are able to recieve Friend Requests!</h1>
<p>You can now close this tab, or go <a href="/">back to the Homepage</a></p>
</center></body>

<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
head, body {
margin: 0;
padding: 0;
color: white;
background-color: #111622;
font-family: 'Roboto', sans-serif;
}
center {
top: 40%;
position: absolute;
height: 50%;
width: 100%;
}
</style>

0 comments on commit 74879a0

Please sign in to comment.