From 5a759fa13a4263b488df369530f1f663db3b0f80 Mon Sep 17 00:00:00 2001 From: DavidK004 Date: Sat, 7 Jun 2025 19:44:43 +0200 Subject: [PATCH] fixed index, added faq and contact; added css for user(account page, user forms) --- apps/Index/Controllers/ContactController.php | 9 + apps/Index/Controllers/FaqController.php | 9 + apps/Index/Templates/contact.php | 35 + apps/Index/Templates/faq.php | 37 + apps/Index/Templates/index.php | 804 +++++++++--------- apps/Index/Templates/terms.php | 31 +- apps/Index/urls.php | 2 + apps/Users/Templates/forgot_password.php | 8 +- apps/Users/Templates/login.php | 12 +- apps/Users/Templates/profile.php | 18 +- apps/Users/Templates/register.php | 19 +- apps/Users/Templates/reset_password.php | 4 +- .../Templates/sect_information/edit_email.php | 4 +- .../sect_information/edit_information.php | 6 +- .../sect_information/edit_password.php | 4 +- assets/css/style.css | 272 +++++- assets/images/favicon.ico | Bin 0 -> 15406 bytes assets/js/index.js | 4 +- assets/js/main.js | 1 + components/templates/layout/footer.php | 7 +- components/templates/layout/header.php | 4 +- 21 files changed, 796 insertions(+), 494 deletions(-) create mode 100644 apps/Index/Controllers/ContactController.php create mode 100644 apps/Index/Controllers/FaqController.php create mode 100644 apps/Index/Templates/contact.php create mode 100644 apps/Index/Templates/faq.php create mode 100644 assets/images/favicon.ico diff --git a/apps/Index/Controllers/ContactController.php b/apps/Index/Controllers/ContactController.php new file mode 100644 index 0000000..a75b6de --- /dev/null +++ b/apps/Index/Controllers/ContactController.php @@ -0,0 +1,9 @@ + + +
+
+

Contact FridgeBites

+ +

+

Email:

+ support@fridgebites.com +

+ +

+

Phone:

+ +1 (234) 567-890 +

+ +

+

Address:

+

Fridgebites HQ

+

123 Kitchen Street

+

Flavor Town, FT 45678

+

USA

+

+
+
+ \ No newline at end of file diff --git a/apps/Index/Templates/faq.php b/apps/Index/Templates/faq.php new file mode 100644 index 0000000..4bc9a6c --- /dev/null +++ b/apps/Index/Templates/faq.php @@ -0,0 +1,37 @@ + +
+
+

Frequently Asked Questions

+ +

1. What is Fridgebites?

+

Fridgebites is a recipe website that helps you create delicious meals using the ingredients you already have in your fridge and pantry.

+ +

2. How do I find recipes with my ingredients?

+

You can enter the ingredients you have on hand into our search tool, and Fridgebites will suggest recipes that match those ingredients.

+ +

3. Is Fridgebites free to use?

+

Yes, Fridgebites is completely free to use. You can browse and use all our recipes without any charges.

+ +

4. Can I submit my own recipes?

+

Currently, we accept user-submitted recipes.

+ +

5. How often are new recipes added?

+

We regularly update our recipe collection to provide you with fresh and exciting meal ideas.

+ +

6. How can I contact Fridgebites support?

+

If you have any questions or need assistance, please contact us at support@fridgebites.com.

+ +
+
+ \ No newline at end of file diff --git a/apps/Index/Templates/index.php b/apps/Index/Templates/index.php index 5118ccb..cc43938 100644 --- a/apps/Index/Templates/index.php +++ b/apps/Index/Templates/index.php @@ -1,445 +1,405 @@
-
-

Your Fridge. Your Rules. - Our Recipes. -

-
-
-

Latest Recipes Added

- -
- -
- -
-
-
- Recipe 1 +
+

Your Fridge. Your Rules. + Our Recipes. +

+
+ -
-

Categories

+ +
+
-
-
-
-
-
- Category 1 -
-

Mexican

-
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
-
-
- Category 1 -
-

Mexican

- -
-
-
- -
-
-
- -
- -
-

Recent User Reviews

-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
- reviewed recipe -
-

Just Like Mom's

-
-
-

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...

-
-
-

GreenDavid004

-

2023-10-01

-
-
-
-
-
-

Your Menu for Monday

-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
-
- meal-img -
-
-
-

Goulash

- 120mins to make -
-
- - - - - - - - - - - - - -
Ground beefTomato sauce
OnionElbow macaroni
GarlicCheese
-
-
-
-
+ + +
+

Recent User Reviews

+
+ +
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+ +
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+
+
+ reviewed recipe +
+

Just Like Mom's

+
+
+

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...

+
+
+

GreenDavid004

+

2023-10-01

+
+
+
+
+ + +
-
Terms Of Use
+
+
+

Terms of Use

+

Welcome to our website! By accessing or using our services, you agree to comply with and be bound by the following terms and conditions:

+ +

1. Acceptance of Terms

+

By using our website, you confirm that you accept these terms and conditions in full. If you disagree with any part of these terms, you must not use our website.

+ +

2. Changes to Terms

+

We reserve the right to modify these terms at any time. Any changes will be effective immediately upon posting on this page. Your continued use of the website after changes are posted constitutes your acceptance of the new terms.

+ +

3. User Responsibilities

+

You agree to use our website only for lawful purposes and in a manner that does not infringe the rights of, restrict or inhibit anyone else's use and enjoyment of the website.

+ +

4. Intellectual Property

+

All content on this website, including text, graphics, logos, and images, is the property of our company or our licensors. You may not reproduce, distribute, or create derivative works from any content without our express written permission.

+ +

5. Limitation of Liability

+

We will not be liable for any loss or damage arising from your use of this website or any content provided on it.

+ +

6. Governing Law

+

These terms are governed by and construed in accordance with the laws of [Your Country]. Any disputes relating to these terms will be subject to the exclusive jurisdiction of the courts of [Your Country].

+ +

7. Contact Us

+

If you have any questions about these terms, please contact us at [Your Contact Information].

+ +
+
\ No newline at end of file diff --git a/apps/Index/urls.php b/apps/Index/urls.php index 319af77..17c46f6 100644 --- a/apps/Index/urls.php +++ b/apps/Index/urls.php @@ -6,4 +6,6 @@ use Lycoreco\Includes\Routing\Path; $index_urls = [ new Path('', new Controllers\HomepageController(), 'home'), new Path('/terms-of-use', new Controllers\TermsController(), 'terms'), + new Path('/contact', new Controllers\ContactController(), 'contact'), + new Path('/faq', new Controllers\FaqController(), 'faq'), ]; diff --git a/apps/Users/Templates/forgot_password.php b/apps/Users/Templates/forgot_password.php index 749a098..c24f121 100644 --- a/apps/Users/Templates/forgot_password.php +++ b/apps/Users/Templates/forgot_password.php @@ -8,8 +8,8 @@
diff --git a/apps/Users/Templates/login.php b/apps/Users/Templates/login.php index 5d66b66..4891770 100644 --- a/apps/Users/Templates/login.php +++ b/apps/Users/Templates/login.php @@ -8,7 +8,7 @@