source: src/main/resources/templates/aboutUs.html

main
Last change on this file was f4b4afa, checked in by Nikola Todoroski <nikola.todoroski@…>, 6 months ago

Pushed whole project, original project location on github:https://github.com/hehxd/Tech-Harbor

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[f4b4afa]1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Orders</title>
7 <!-- Tailwind CSS from CDN for development purposes -->
8 <script src="https://cdn.tailwindcss.com"></script>
9 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
10 <link href="./output.css" rel="stylesheet">
11</head>
12
13<body class="font-sans antialiased bg-gray-100 flex flex-col min-h-screen">
14
15<!-- Navbar -->
16<nav class="bg-gray-800 text-white p-4 text-lg sm:text-xl"> <!-- Responsive font size -->
17 <div class="container mx-auto flex justify-between items-center">
18 <div class="flex items-center">
19 <img src="/images/logoWhite.png" alt="Logo" class="object-cover h-32 w-32 rounded-lg">
20 <h1 class="text-2xl font-semibold ml-4 sm:text-3xl">Tech Harbor</h1> <!-- Responsive font size -->
21 </div>
22 <ul class="flex space-x-8">
23 <li><a href="/" class="hover:text-emerald-500">Home</a></li>
24 <li><a th:href="@{'/aboutUs'}" class="text-emerald-500 hover:text-emerald-500">About Us</a></li>
25 <li th:if="${user != null}">
26 <a th:href="@{'/orders/{id}' (id=${user.userId})}" class="hover:text-emerald-500">My Orders</a>
27 </li>
28 <li th:if="${user != null}">
29 <a th:href="@{'/reviews/{id}' (id=${user.userId})}" class="hover:text-emerald-500">My Reviews</a>
30 </li>
31 <li th:if="${deliveryMan != null}">
32 <a th:href="@{'/myDeliveries/{id}' (id=${deliveryMan.userId})}" class="hover:text-emerald-500">My
33 Deliveries</a>
34 </li>
35 </ul>
36 <ul class="flex space-x-4">
37 <li th:if="${user != null}">
38 <span>Welcome <span th:text="${user.nameUser}"></span></span>
39 </li>
40 <li th:if="${deliveryMan != null}">
41 <span>Welcome Delivery Man <span th:text="${deliveryMan.nameUser}"></span></span>
42 </li>
43 <li th:if="${user != null}">
44 <a th:href="@{'/shoppingCart'}"><i class="fa-solid fa-cart-shopping"></i></a>
45 </li>
46 <li th:if="${user != null || deliveryMan != null}">
47 <a class="hover:text-emerald-500" th:href="@{/logout}">Log out</a>
48 </li>
49 <li th:if="${user == null && deliveryMan == null}">
50 <a th:href="@{/login}" class="hover:text-emerald-500">Sign In</a>
51 </li>
52 <li th:if="${user == null && deliveryMan == null}">
53 <a th:href="@{/register}" class="hover:text-emerald-500">Register</a>
54 </li>
55 </ul>
56
57 </div>
58</nav>
59
60<main class="container mx-auto mt-8 flex-grow">
61
62 <div class="max-w-5xl mx-auto py-8">
63 <div class="center"> <!-- Added mx-auto to center the content -->
64 <div class="bg-white p-8 rounded-md shadow-md flex items-center justify-between">
65 <div>
66 <h2 class="text-3xl font-semibold mb-4">About Us</h2>
67 <p class="text-lg leading-relaxed">
68 This is a group project by the name TechHarbor where we were striving to develop a more modern
69 web
70 application that allows users to buy products online that will be delivered to their address.
71 The
72 online application will provide a detailed overview of the products, which will be categorized
73 to
74 simplify the search process.
75 </p>
76 <p class="text-lg leading-relaxed mt-4">
77 When entering the application, users with an existing user account will be able to easily log in
78 and
79 access all functionalities, for new users, the application enables quick and simple
80 registration,
81 which will enable the purchase of products and their delivery.
82 </p>
83 <p class="text-lg leading-relaxed mt-4">
84 It is important to emphasize that with our web application, users are not required to log in to
85 the
86 site to view the products that are available. It's easy to use the app as a guest, but in this
87 way,
88 users don't have the option to buy the products. This functionality gives users the freedom to
89 test
90 the application before deciding to create their own account that allows the use of all the
91 advanced
92 functionalities that the application offers.
93 </p>
94 </div>
95 <img src="/images/logo.png" alt="Logo" class="object-cover h-52 w-52 rounded-lg">
96 </div>
97 </div>
98 </div>
99
100</main>
101
102
103<!-- Footer -->
104<footer class="bg-white rounded-lg shadow m-4 dark:bg-gray-800">
105 <div class="w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-between">
106 <span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2024 Tech Harbor. All rights reserved.™
107 </span>
108 <ul class="flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0">
109 <li>
110 <a th:href="@{'/aboutUs'}" class="hover:underline me-4 md:me-6">About</a>
111 </li>
112 <li>
113 <a href="#" class="hover:underline me-4 md:me-6">Privacy Policy</a>
114 </li>
115 <li>
116 <a href="#" class="hover:underline">Contact</a>
117 </li>
118 </ul>
119 </div>
120</footer>
121
122</body>
123
124</html>
Note: See TracBrowser for help on using the repository browser.