header, footer and index frontend

This commit is contained in:
DavidK004 2025-06-05 19:38:44 +02:00
parent c6c9928ce5
commit 0145028bc1
17 changed files with 955 additions and 96 deletions

View File

@ -0,0 +1,9 @@
<?php
namespace Lycoreco\Apps\Index\Controllers;
use Lycoreco\Includes\BaseController;
class TermsController extends BaseController
{
protected $template_name = APPS_PATH . '/Index/Templates/terms.php';
}

View File

@ -9,8 +9,437 @@
?>
<div class="container">
Index page
</div>
<div class="quote">
<h2><span class="black-qoute-word">Your</span> Fridge. <span class="black-qoute-word">Your</span> Rules.
<span class="black-qoute-word">Our</span> Recipes.
</h2>
</div>
<div class="latest-recipes">
<h2 class="title">Latest Recipes Added</h2>
<!-- Slider main container -->
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<div class="recent-recipe">
<div class="recipe-img">
<img src="media/recipe1.png" alt="Recipe 1" class="recipe-img__img">
</div>
<div class="recipe-info">
<p class="recipe-info__title">Spaghetti Bolognese</p>
<p class="recipe-info__meta"><i class="fa-solid fa-user"></i> GreenDavid004</p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="recent-recipe">
<div class="recipe-img">
<img src="media/recipe1.jpeg" alt="Recipe 1" class="recipe-img__img">
</div>
<div class="recipe-info">
<p class="recipe-info__title">Spaghetti Bolognese</p>
<p class="recipe-info__meta"><i class="fa-solid fa-user"></i> GreenDavid004</p>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="recent-recipe">
<div class="recipe-img">
<img src="media/recipe1.jpeg" alt="Recipe 1" class="recipe-img__img">
</div>
<div class="recipe-info">
<p class="recipe-info__title">Spaghetti Bolognese</p>
<p class="recipe-info__meta"><i class="fa-solid fa-user"></i> GreenDavid004</p>
</div>
</div>
</div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
<!-- If we need navigation buttons -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div>
<div class="categories">
<h2 class="title">Categories</h2>
<div class="swiper categories-swiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
<div class="swiper-slide">
<div class="category">
<div class="category-img">
<img src="media/category1.png" alt="Category 1" class="category-img__img">
</div>
<p class="category-title">Mexican</p>
</div>
</div>
</div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div>
<div class="recent-reviews">
<h2 class="title">Recent User Reviews</h2>
<div class="reviews-grid">
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
<div class="recent-review">
<div class="review-title">
<div class="review-img">
<img src="media/recipe1.jpeg" alt="reviewed recipe">
</div>
<h3 class="review-title-text">Just Like Mom's</h3>
</div>
<div class="review-text">
<p>I made this spaghetti last night and it was absolutely delicious! The sauce was rich and
flavorful—just the right balance of garlic, herbs, and tomato. I added a pinch of chili
flakes for a little kick, and it turned out perfect...</p>
</div>
<div class="review-meta">
<p class="review-author"><i class="fa-solid fa-user"></i> GreenDavid004</p>
<p class="review-date"><i class="fa-solid fa-calendar-days"></i> 2023-10-01</p>
</div>
</div>
</div>
</div>
<div class="daily-meals">
<h2 class="title">Your Menu for Monday</h2>
<div class="daily-meals-grid">
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
<div class="daily-meal">
<div class="meal-img">
<img src="media/recipe1.jpeg" alt="meal-img">
</div>
<div class="daily-meal-info">
<div class="daily-meal-title">
<h3>Goulash</h3>
<span class="meta"><i class="fa-regular fa-clock"></i>120mins to make</span>
</div>
<div class="daily-meal-ingredients">
<table class="ingredients-table">
<tr>
<td>Ground beef</td>
<td>Tomato sauce</td>
</tr>
<tr>
<td>Onion</td>
<td>Elbow macaroni</td>
</tr>
<tr>
<td>Garlic</td>
<td>Cheese</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php the_footer(array(
ASSETS_PATH . '/swiper/swiper-bundle.min.js',

View File

@ -0,0 +1,13 @@
<?php
the_header(
'Terms Of Use',
'By using our website, you agree to the following terms and conditions. Please read them carefully before using our services.',
'terms',
[
['keywords', 'terms, use, conditions']
]);
?>
<div class="container">Terms Of Use</div>
<?php the_footer(); ?>

View File

@ -5,4 +5,5 @@ use Lycoreco\Includes\Routing\Path;
$index_urls = [
new Path('', new Controllers\HomepageController(), 'home'),
new Path('/terms-of-use', new Controllers\TermsController(), 'terms'),
];

View File

@ -0,0 +1,409 @@
:root {
--panel-text: #008b70;
--input-background: #f7f7f7;
--input-border: #b3b3b3;
--input-placeholder: #b3b3b3;
--panel-background: #eaf8eb;
--input-text-color: #000;
--title-color: #015847;
--meta-color: #727272;
--common-text: #000;
--panel-title-color: #000;
--title-font: 'Roboto Slab', sans-serif;
--common-font: 'Roboto Condensed', serif;
}
* {
box-sizing: border-box;
}
.container {
width: 100%;
max-width: 1170px;
margin: 0 auto;
padding: 0 5px;
}
body {
position: relative;
font-family: var(--common-font);
font-size: 14px;
color: var(--common-text);
background-color: #fff;
padding-top: 80px;
/* Adjust padding to account for fixed header */
}
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: var(--panel-background);
color: var(--panel-text);
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
z-index: 1000;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 80px;
}
.nav ul {
display: flex;
}
.nav-item a {
text-decoration: none;
color: var(--panel-text);
font-weight: 700;
margin-right: 45px;
}
.nav-item:last-child a {
margin-right: 0;
}
.nav-item a:hover {
opacity: 0.7;
}
.logo-img {
width: 100%;
height: auto;
}
.logo {
max-width: 70px;
}
/*placeholder for search and login section*/
.search-and-login {
width: 277px;
height: 49px;
border: #000 solid 1px;
}
.quote {
font-family: var(--common-font);
font-size: 20px;
color: var(--panel-text);
margin: 0 auto;
margin-top: 46px;
margin-bottom: 30px;
text-align: center;
}
.black-qoute-word {
color: var(--common-text);
}
.latest-recipes .swiper {
height: 350px;
}
.latest-recipes .swiper-slide {
height: 320px;
width: 273px;
}
.recipe-img {
height: 300px;
width: 250px;
overflow: hidden;
border: 3px solid #689E94;
border-radius: 10px;
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}
.recipe-img__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block
}
.recent-recipe {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.recipe-info {
position: absolute;
bottom: -10px;
right: 10px;
border: 3px solid #689E94;
border-radius: 10px;
padding: 10px;
background-color: var(--panel-background);
text-align: center;
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}
.recipe-info__title {
font-family: var(--title-font);
font-size: 20px;
color: var(--title-color);
margin-bottom: 5px;
}
.recipe-info__meta {
font-family: var(--title-font);
font-size: 12px;
color: var(--meta-color);
}
.title {
text-align: center;
font-family: var(--title-font);
font-size: 24px;
color: var(--title-color);
font-weight: 500;
margin-bottom: 20px;
}
.categories .swiper-slide {
height: 120px;
width: 120px;
}
.categories-swiper {
height: 120px;
padding: 0 15px;
}
.category {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 10px 0;
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}
.category-title {
font-family: var(--title-font);
font-size: 14px;
color: var(--title-color);
text-align: center;
}
.categories {
margin-bottom: 40px;
}
.reviews-grid {
display: grid;
grid-template-columns: repeat(3, 310px);
grid-template-rows: repeat(2, 175px);
row-gap: 20px;
column-gap: 50px;
}
.recent-review {
height: 100%;
width: 310px;
padding: 15px;
border-radius: 10px;
background-color: var(--panel-background);
}
.review-img {
border-radius: 10px;
overflow: hidden;
margin-right: 10px;
}
.review-img img {
width: 35px;
height: 35px;
object-fit: cover;
}
.review-title {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.review-title-text {
font-family: var(--title-font);
font-size: 16px;
color: #000;
}
.recent-reviews {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin-bottom: 20px;
}
.review-text {
font-family: var(--common-font);
font-size: 14px;
color: var(--common-text);
margin-bottom: 15px;
}
.review-meta {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 0 15px;
font-family: var(--common-font);
color: var(--meta-color);
font-size: 12px;
}
.daily-meals-grid {
display: grid;
grid-template-columns: repeat(2, 325px);
grid-template-rows: repeat(3, 125px);
row-gap: 20px;
column-gap: 20px;
margin: 0 auto;
}
.daily-meal {
background-color: var(--panel-background);
border-radius: 10px;
display: flex;
align-items: center;
padding: 10px;
}
.daily-meals {
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 100px;
}
.meal-img {
width: 85px;
height: 85px;
border-radius: 10px;
overflow: hidden;
}
.meal-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.daily-meal-title h3 {
font-family: var(--title-font);
font-size: 14px;
color: var(--title-color);
}
.daily-meal-info {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
padding: 10px;
}
.ingredients-table {
border-collapse: collapse;
}
.ingredients-table td {
padding-right: 5px;
vertical-align: middle;
word-wrap: break-word;
word-break: break-word;
max-width: 100px;
}
.footer{
background-color: var(--panel-background);
color: var(--panel-text);
width: 100%;
height: 150px;
text-align: center;
z-index: 1000;
}
.footer-inner {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
padding: 0 20px;
}
.footer-nav{
margin-top: 35px;
}
.footer-links{
display: flex;
justify-content: center;
}
.footer-links li{
list-style: none;
margin-right: 60px;
text-decoration: none;
}
.footer-links a {
text-decoration: none;
color: var(--panel-text);
font-size: 16px;
}
.footer-links a:hover {
opacity: 0.7;
}
hr {
width: 100%;
border: 0;
border-top: 1px solid var(--panel-text);
margin: 20px 0;
}
.copyright {
font-family: var(--common-font);
font-size: 14px;
color: var(--panel-text);
margin-top: 20px;
}
@media (max-width: 900px) {
.reviews-grid {
grid-template-columns: 1fr;
column-gap: 0;
}
.recent-review {
width: 100%;
max-width: 100%;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

View File

@ -1,13 +0,0 @@
let filters = document.querySelector('.filters');
let filterOpenBtn = document.getElementById('catalog-filter-btn');
filters.addEventListener('click', (e) => {
if(e.target == filters) {
filters.classList.remove('active');
blockScroll(false);
}
});
filterOpenBtn.addEventListener('click', (e) => {
filters.classList.add('active');
blockScroll(true);
});

View File

@ -1,18 +1,57 @@
new Swiper(".recent-keys", {
slidesPerView: 1,
spaceBetween: 20,
new Swiper('.swiper', {
// Optional parameters
direction: 'horizontal',
loop: true,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
// If we need pagination
slidesPerView: 1,
spaceBetween: 0,
breakpoints: {
630: {
slidesPerView: 2,
},
930: {
768: {
slidesPerView: 3,
spaceBetween: 20,
allowTouchMove: false,
}
},
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
new Swiper('.categories-swiper', {
direction: 'horizontal',
loop: true,
navigation: {
nextEl: '.categories .swiper-button-next',
prevEl: '.categories .swiper-button-prev',
},
slidesPerView: 2,
spaceBetween: 0,
breakpoints: {
480: {
slidesPerView: 3,
spaceBetween: 0,
},
640: {
slidesPerView: 4,
spaceBetween: 0,
},
768: {
slidesPerView: 6,
spaceBetween: 0,
},
1024: {
slidesPerView: 8,
spaceBetween: 0,
}
}
});

View File

@ -1,20 +0,0 @@
let orders = document.querySelectorAll('.my-order');
orders?.forEach(order => {
let btnToOpen = order.querySelector('.btn-primary');
let copyInputBtn = order.querySelector('.btn-copy');
let input = order.querySelector('input');
btnToOpen.addEventListener('click', (e) => {
order.classList.add('show-key');
});
copyInputBtn.addEventListener('click', async (e) => {
if (navigator.clipboard && navigator.clipboard.writeText) {
await navigator.clipboard.writeText(input.value);
} else {
input.select();
document.execCommand("copy");
}
showToastify("Code is copied", 'info');
});
});

View File

@ -1,12 +0,0 @@
let orderMethods = document.querySelectorAll('.order-method');
orderMethods.forEach(method => {
let titleBtn = method.querySelector('.order-method__title');
titleBtn.addEventListener('click', (e) =>{
orderMethods.forEach(m => {
if(m == method)
return;
m.classList.remove('active');
});
method.classList.add('active');
});
});

View File

@ -1,21 +0,0 @@
new Swiper('.products-other .swiper-container', {
slidesPerView: 1,
spaceBetween: 20,
loop: true,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
breakpoints: {
450: {
slidesPerView: 2,
},
770: {
slidesPerView: 4,
},
930: {
slidesPerView: 5,
}
}
});

View File

@ -1,14 +1,19 @@
</div>
<footer>
<hr>
<footer class="footer">
<div class="container">
Footer
</div>
<div class="footer-inner">
<nav class="footer-nav">
<ul class="footer-links">
<li><a href="<?php the_permalink("index:terms")?>">Terms of Service</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Dashboard</a></li>
</ul>
</nav>
<hr>
<div class="copyright">
© LycoReco
<p>&copy;LycoReco</p>
</div>
</div>
</div>
</footer>

View File

@ -18,7 +18,7 @@
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&display=swap" rel="stylesheet">
<!-- Google fonts/ -->
<!-- Font Awesome -->
@ -37,7 +37,27 @@
<link rel="stylesheet" href="<?php echo ASSETS_PATH . '/css/style.css' ?>">
</head>
<body class="<?php echo $body_class ?>">
<header>
Header
<header class="header">
<div class="container">
<div class="header-inner">
<div class="logo">
<a href="<?php the_permalink("index:home")?>">
<img src="<?php echo ASSETS_PATH . '/images/fridgeLogo.png'?>" alt="fridgeBitesLogo" class="logo-img">
</a>
</div>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item"><a href="<?php the_permalink("index:home")?>" class="nav-link">HOME</a></li>
<li class="nav-item"><a href="#" class="nav-link">RECIPES</a></li>
<li class="nav-item"><a href="#" class="nav-link">FAVORITES</a></li>
<li class="nav-item"><a href="#" class="nav-link">MEAL A DAY</a></li>
<li class="nav-item"><a href="#" class="nav-link">SUBMIT RECIPE</a></li>
</ul>
</nav>
<div class="search-and-login">
placeholder
</div>
</div>
</div>
</header>
<hr>

View File

@ -161,7 +161,7 @@ function the_pagination(int $count, int $elem_per_page, int $current_page)
*/
function get_title_website(string $page_title)
{
return $page_title . ' - Template';
return $page_title . ' - FridgeBites';
}
/**
* Get current user id and username. If user is not authorized - false

BIN
media/category1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
media/recipe1.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
media/recipe1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB