aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-14 19:07:24 +0200
committerMinteck <contact@minteck.org>2022-04-14 19:07:24 +0200
commitbd711df310aaa3c625b6f58f98798e8e7d9a758f (patch)
tree518c252ddbe2ac0b5048cc0f1096b0067fe481cf
parent3071764c42c63f47cd76d80b5b90fe280ac9f0ab (diff)
downloadember-bd711df310aaa3c625b6f58f98798e8e7d9a758f.tar.gz
ember-bd711df310aaa3c625b6f58f98798e8e7d9a758f.tar.bz2
ember-bd711df310aaa3c625b6f58f98798e8e7d9a758f.zip
Design experiment
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--assets/css/main.css22
-rw-r--r--includes/header.php3
-rw-r--r--includes/navigation.php2
-rw-r--r--index.php10
5 files changed, 34 insertions, 3 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..b20ffd5
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/assets/css/main.css b/assets/css/main.css
new file mode 100644
index 0000000..4360305
--- /dev/null
+++ b/assets/css/main.css
@@ -0,0 +1,22 @@
+#hero {
+ text-align: center;
+ margin-top: 25px;
+}
+
+#hero-img {
+ width: 256px;
+ max-width: 100vw;
+}
+
+html, body.bg-dark {
+ margin: 0;
+ background-color: #402317 !important;
+}
+body * {
+ color: #fff;
+}
+
+nav.navbar {
+ background-color: transparent !important;
+ border-bottom: 1px solid rgba(255,255,255,.25);
+} \ No newline at end of file
diff --git a/includes/header.php b/includes/header.php
index a2574b4..7297572 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -7,7 +7,8 @@
<meta name="description" content="Minteck's Website">
<meta name="version" content="<?= version() ?> (#<?= build() ?>)">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/assets/css/main.css">
<script src="/assets/js/bootstrap.bundle.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
-<body> \ No newline at end of file
+<body class="bg-dark"> \ No newline at end of file
diff --git a/includes/navigation.php b/includes/navigation.php
index df2f854..2d0fabf 100644
--- a/includes/navigation.php
+++ b/includes/navigation.php
@@ -1,4 +1,4 @@
-<nav class="navbar navbar-expand-sm bg-light">
+<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">Minteck</a>
diff --git a/index.php b/index.php
index 3540afa..44bb82e 100644
--- a/index.php
+++ b/index.php
@@ -1,2 +1,10 @@
<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?>
-<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> \ No newline at end of file
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?>
+
+<div id="hero">
+<!-- <img src="/assets/img/icon.png" id="hero-img" alt="">-->
+ <h1>Minteck</h1>
+ <h4>Your typical keyboard-addicted pony</h4>
+</div>
+
+<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?> \ No newline at end of file