Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:About section #13

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions app/views/home.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,35 @@

<nav class="navbar">
<div class="logo">
<img src="<?=ROOT_DIR?>/assets/images/logo.png" alt="logo">
<img src="<?= ROOT_DIR ?>/assets/images/logo.png" alt="logo">
</div>
<ul class="nav-menu">
<li class="nav-menu-item"><a href="#">Home</a></li>
<li class="nav-menu-item"><a href="#">About</a></li>
<li class="nav-menu-item"><a href="#">Services</a></li>
<li class="nav-menu-item"><a href="#">Portfolio</a></li>
<li class="nav-menu-item"><a href="#">Contact</a></li>
<li class="nav-menu-item"><a href="#">Guides</a></li>
<li class="nav-menu-item"><a href="#">Rental Services</a></li>
<li class="nav-menu-item"><a href="#">Blogs</a></li>
<li class="nav-menu-item"><a href="#">Tips & Knowhows</a></li>
<li class="nav-menu-item"><a href="#">Complaints</a></li>
</ul>
<div class="login-button"><a href="#">Login</a></div>
</nav>

<?php require_once('../app/views/sections/hero.php');
?>
?>

<?php require_once('../app/views/sections/About.php');
?>

<h1> Home page view </h1>
<!-- <h1> Home page view </h1>


<h4> Hi <?= $email ?> </h4>
<h4> Hi <?= $email ?> </h4> -->



<a href="<?=ROOT_DIR?>/login" title="Login">Login</a>
<!-- <a href="<?= ROOT_DIR ?>/login" title="Login">Login</a>
<br>
<a href="<?=ROOT_DIR?>/signup" title="Signup">Signup</a>
<a href="<?= ROOT_DIR ?>/signup" title="Signup">Signup</a>
<br>
<a href="<?=ROOT_DIR?>/logout" title="Logout">Logout</a>

<a href="<?= ROOT_DIR ?>/logout" title="Logout">Logout</a> -->
11 changes: 11 additions & 0 deletions app/views/sections/About.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="home-container">
<div class="row">
<div class="col col-2">
<h1 class="about-title">About us!</h1>
<p class="about-description">We're your one-stop solution for hassle-free camping adventures. Say goodbye to equipment woes, wasted effort, and unreliable guides. We connect outdoor enthusiasts with quality gear and trustworthy guides.</p>
</div>
<div class="col col-2">
<img src="<?= ROOT_DIR ?>/assets/images/Mask group.png" alt="Mask group Image">
</div>
</div>
</div>
12 changes: 6 additions & 6 deletions app/views/sections/hero.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div class="hero">
<div class="home-container row">
<div class="col col-2">
<div class="home-container row">
<div class="col col-2">
<h1 class="hero-title">Campers,</h1>
<p class="hero-description">Your Gateway to Outdoor Adventures: <br>
Gear Up & Go with Expert Guides!</p>
<p class="hero-description"><b>Your Gateway to Outdoor Adventures:</b> <br>
Gear Up & Go with Expert Guides!</p>
</div>
<div class="col col-2">
<img src="<?=ROOT_DIR ?>/assets/images/hero.png" alt="Hero Image">
<img src="<?= ROOT_DIR ?>/assets/images/hero.png" alt="Hero Image">
</div>
</div>
</div>
</div>
11 changes: 5 additions & 6 deletions public/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,14 @@ body {


.home-container {
/* background: #F3F3F3; */
}

.hero {
margin: 20px 10px;
margin: 20px 10px;
border-radius: 20px;
/* opacity: 0.47; */
background: #F3F3F3;
backdrop-filter: blur(67.62544250488281px);
backdrop-filter: blur(67.62544250488281px);}

.hero {

}

.hero-title {
Expand Down
Binary file added public/assets/images/Mask group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.