diff options
author | Minteck <contact@minteck.org> | 2022-04-16 17:35:33 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-16 17:35:33 +0200 |
commit | 7a7e357dcdd34e4a33a81eadc55548d579938f49 (patch) | |
tree | 20e18d0e107e11e1182a9a080904add0ad9ed74f | |
parent | bd711df310aaa3c625b6f58f98798e8e7d9a758f (diff) | |
download | ember-7a7e357dcdd34e4a33a81eadc55548d579938f49.tar.gz ember-7a7e357dcdd34e4a33a81eadc55548d579938f49.tar.bz2 ember-7a7e357dcdd34e4a33a81eadc55548d579938f49.zip |
Update
-rw-r--r-- | .DS_Store | bin | 6148 -> 6148 bytes | |||
-rw-r--r-- | about/index.php | 10 | ||||
-rw-r--r-- | assets/css/main.css | 24 | ||||
-rw-r--r-- | faq/index.php | 29 | ||||
-rw-r--r-- | includes/header.php | 10 | ||||
-rw-r--r-- | includes/navigation.php | 3 | ||||
-rw-r--r-- | projects/index.php | 10 | ||||
-rw-r--r-- | services/index.php | 10 | ||||
-rw-r--r-- | social/index.php | 10 |
9 files changed, 104 insertions, 2 deletions
Binary files differ diff --git a/about/index.php b/about/index.php new file mode 100644 index 0000000..ab47009 --- /dev/null +++ b/about/index.php @@ -0,0 +1,10 @@ +<?php $title = "About"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> + +<br> +<div class="container"> + <h1>About</h1> + Coming soon +</div> + +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>
\ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css index 4360305..2fb8f55 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -19,4 +19,28 @@ body * { nav.navbar { background-color: transparent !important; border-bottom: 1px solid rgba(255,255,255,.25); +} + +.faq-container { + margin: 15px 0; + background: rgba(0, 0, 0, .25); + box-shadow: transparent 0 0 20px 0; + padding: 10px 20px; + border: 1px solid black; + border-radius: 10px; + transition: background-color 200ms, box-shadow 200ms; +} + +.faq-container:hover:not([open]) { + background: rgba(0, 0, 0, .5); +} + +.faq-container[open] { + background: rgba(0, 0, 0, .75); + box-shadow: rgba(0, 0, 0, .75) 0 0 20px 0; +} + +.faq-separator { + background-color: gray; + margin: 1rem -20px; }
\ No newline at end of file diff --git a/faq/index.php b/faq/index.php new file mode 100644 index 0000000..c1338e7 --- /dev/null +++ b/faq/index.php @@ -0,0 +1,29 @@ +<?php $title = "Frequently Asked Questions"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> + +<br> +<div class="container"> + <h1>Frequently Asked Questions</h1> + <div class="row"> + <div class="col-lg"> + <details class="faq-container"> + <summary>Do you provide free hosting?</summary> + <hr class="faq-separator"> + <p> + Yes. When I create a website for you, free hosting and maintenance is included for as long as your website is being developed and as long as possible. However, if your website receives a lot of traffic, it is recommended that you move to proper hosting. + </p> + </details> + </div> + <div class="col-lg"> + <details class="faq-container"> + <summary>Can you create for someone else?</summary> + <hr class="faq-separator"> + <p> + Yes, although this only applies to people I know and trust; and may be limited depending on my motivation and free time. If we are friends, feel free to ask if you want a website. + </p> + </details> + </div> + </div> +</div> + +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>
\ No newline at end of file diff --git a/includes/header.php b/includes/header.php index 7297572..099267a 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,9 +1,15 @@ -<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php"; global $title; ?> <!DOCTYPE html> <html lang="en"> <head data-webx-version="<?= version() ?>" data-webx-build="#<?= build() ?>"> <meta charset="UTF-8"> - <title>Minteck</title> + <title><?php + + if (isset($title)) { + echo "$title | "; + } + + ?>Minteck</title> <meta name="description" content="Minteck's Website"> <meta name="version" content="<?= version() ?> (#<?= build() ?>)"> <link rel="stylesheet" href="/assets/css/bootstrap.min.css"> diff --git a/includes/navigation.php b/includes/navigation.php index 2d0fabf..b670067 100644 --- a/includes/navigation.php +++ b/includes/navigation.php @@ -21,6 +21,9 @@ <li class="nav-item"> <a class="nav-link" href="/social">Social</a> </li> + <li class="nav-item"> + <a class="nav-link" href="/faq">FAQ</a> + </li> </ul> </div> </div> diff --git a/projects/index.php b/projects/index.php new file mode 100644 index 0000000..9c5010f --- /dev/null +++ b/projects/index.php @@ -0,0 +1,10 @@ +<?php $title = "Projects"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> + +<br> +<div class="container"> + <h1>Projects</h1> + Coming soon +</div> + +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>
\ No newline at end of file diff --git a/services/index.php b/services/index.php new file mode 100644 index 0000000..92da22b --- /dev/null +++ b/services/index.php @@ -0,0 +1,10 @@ +<?php $title = "Services"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> + +<br> +<div class="container"> + <h1>Services</h1> + Coming soon +</div> + +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>
\ No newline at end of file diff --git a/social/index.php b/social/index.php new file mode 100644 index 0000000..7cdc88e --- /dev/null +++ b/social/index.php @@ -0,0 +1,10 @@ +<?php $title = "Social"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php"; ?> + +<br> +<div class="container"> + <h1>Social</h1> + Coming soon +</div> + +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/footer.php"; ?>
\ No newline at end of file |