feature/fully implemented ejs inclusion to main files
This commit is contained in:
1 parent
decdb299b7
commit
54566f05b7
12 files changed
+57
-87
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
|
||||||
<%- include("./partials/headerStart") %>
|
<%- include("./partials/headerStart") %>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<section class="bg-white dark:bg-gray-900 py-12 md:py-20">
|
<section class="bg-white dark:bg-gray-900 py-12 md:py-20">
|
||||||
<div class="max-w-screen-lg mx-auto px-4 text-center">
|
<div class="max-w-screen-lg mx-auto px-4 text-center">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
|
<div class="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
|
||||||
<a href="/login" class="inline-flex justify-center items-center mt-4 py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900">
|
<a href="/signup" class="inline-flex justify-center items-center mt-4 py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900">
|
||||||
Get started
|
Get started
|
||||||
<svg class="w-3.5 h-3.5 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
<svg class="w-3.5 h-3.5 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||||
@@ -35,4 +35,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<%- include("./partials/footer") %>
|
<%- include("./partials/footer") %>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
<%- include("./partials/header") %>
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|||||||
+8
-16
@@ -1,18 +1,10 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
<body>
|
<main>
|
||||||
<main>
|
Welcome: <%= user.email %>
|
||||||
<%- include("./partials/header") %>
|
The Dashboard Page
|
||||||
Welcome: <%= user.email %>
|
</main>
|
||||||
The Dashboard Page
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
<div class="fixed bottom-0 left-0 z-50 sm:hidden lg:block w-full h-16 bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 p-6 text-center text-gray-500 dark:text-gray-400 text-sm">
|
|
||||||
<div class="container mx-auto">
|
|
||||||
<p>© 2025 RCalculator. All rights reserved.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/navBar") %>
|
||||||
|
<%- include("./partials/footer") %>
|
||||||
+6
-12
@@ -1,15 +1,9 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
<body>
|
<main>
|
||||||
The Index Page
|
The Index Page
|
||||||
<footer>
|
</main>
|
||||||
<div class="fixed bottom-0 left-0 z-50 sm:hidden lg:block w-full h-16 bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 p-6 text-center text-gray-500 dark:text-gray-400 text-sm">
|
|
||||||
<div class="container mx-auto">
|
|
||||||
<p>© 2025 RCalculator. All rights reserved.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<%- include("./partials/navBar") %>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/navBar") %>
|
||||||
|
<%- include("./partials/footer") %>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<h1 class="mb-4 text-4xl font-extrabold tracking-tight leading-none text-white md:text-5xl lg:text-6xl">Plan now, live better.</h1>
|
<h1 class="mb-4 text-4xl font-extrabold tracking-tight leading-none text-white md:text-5xl lg:text-6xl">Plan now, live better.</h1>
|
||||||
<p class="mb-8 text-lg font-normal text-gray-300 lg:text-xl sm:px-16 lg:px-48">Planning your retirement is a crucial step towards financial security and a happy future.</p>
|
<p class="mb-8 text-lg font-normal text-gray-300 lg:text-xl sm:px-16 lg:px-48">Planning your retirement is a crucial step towards financial security and a happy future.</p>
|
||||||
<div class="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
|
<div class="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
|
||||||
<a href="/login" class="inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900">
|
<a href="/signup" class="inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900">
|
||||||
Get started
|
Get started
|
||||||
<svg class="w-3.5 h-3.5 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
<svg class="w-3.5 h-3.5 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||||
|
|||||||
+5
-6
@@ -1,7 +1,7 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
|
||||||
<body>
|
<main>
|
||||||
<div class="flex justify-center items-center h-screen bg-gray-700">
|
<div class="flex justify-center items-center h-screen">
|
||||||
<form action="/login" method="POST">
|
<form action="/login" method="POST">
|
||||||
<div class="w-96 p-6 shadow-1g bg-white rounded-md">
|
<div class="w-96 p-6 shadow-1g bg-white rounded-md">
|
||||||
<h1 class="text-3xl block text-center font-semibold"> Login </h1>
|
<h1 class="text-3xl block text-center font-semibold"> Login </h1>
|
||||||
@@ -39,7 +39,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
</main>
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/footer") %>
|
||||||
+8
-16
@@ -1,18 +1,10 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
<body>
|
<main>
|
||||||
<%- include("./partials/header") %>
|
The More Page
|
||||||
<main>
|
</main>
|
||||||
The More Page
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
<div class="fixed bottom-0 left-0 z-50 sm:hidden lg:block w-full h-16 bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 p-6 text-center text-gray-500 dark:text-gray-400 text-sm">
|
|
||||||
<div class="container mx-auto">
|
|
||||||
<p>© 2025 RCalculator. All rights reserved.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<%- include("./partials/navBar") %>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/navBar") %>
|
||||||
|
<%- include("./partials/footer") %>
|
||||||
|
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||||
<title><%= title %></title>
|
<title>RCalculator</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-white dark:bg-gray-900">
|
<body class="bg-white dark:bg-gray-900">
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<a href="/" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">Home</a>
|
<a href="/" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/aboutUs" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">About Us</a>
|
<a href="/login" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">Login</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="mailto:rcalculator@gmail.com" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">Contact us</a>
|
<a href="mailto:rcalculator@gmail.com" class="block py-2 px-3 lg:p-0 text-gray-900 rounded hover:bg-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 dark:text-white lg:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent">Contact us</a>
|
||||||
|
|||||||
+7
-16
@@ -1,18 +1,9 @@
|
|||||||
<%- include("./partials/fileHeader", {title: "RCalculator"}) %>
|
<%- include("./partials/fileHeader") %>
|
||||||
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
<body>
|
<main>
|
||||||
<%- include("./partials/header") %>
|
The Plans Page
|
||||||
<main>
|
</main>
|
||||||
The Plans Page
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
<div class="fixed bottom-0 left-0 z-50 sm:hidden lg:block w-full h-16 bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 p-6 text-center text-gray-500 dark:text-gray-400 text-sm">
|
|
||||||
<div class="container mx-auto">
|
|
||||||
<p>© 2025 RCalculator. All rights reserved.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<%- include("./partials/navBar") %>
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/navBar") %>
|
||||||
|
<%- include("./partials/footer") %>
|
||||||
+6
-14
@@ -1,15 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<%- include("./partials/fileHeader") %>
|
||||||
<html lang="en">
|
<%- include("./partials/headerStart") %>
|
||||||
|
|
||||||
<head>
|
<main>
|
||||||
<meta charset="UTF-8">
|
<div class="flex justify-center items-center h-screen">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Signup</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="flex justify-center items-center h-screen bg-gray-700">
|
|
||||||
<form action="/signup" method="POST">
|
<form action="/signup" method="POST">
|
||||||
<div class="w-96 p-6 shadow-1g bg-white rounded-md">
|
<div class="w-96 p-6 shadow-1g bg-white rounded-md">
|
||||||
<h1 class="text-3xl block text-center font-semibold"> Signup </h1>
|
<h1 class="text-3xl block text-center font-semibold"> Signup </h1>
|
||||||
@@ -42,7 +35,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
</main>
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<%- include("./partials/footer") %>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<%- include("./partials/fileHeader") %>
|
||||||
|
<%- include("./partials/header") %>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<!-- Your content here -->
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<%- include("./partials/navBar") %>
|
||||||
|
<%- include("./partials/footer") %>
|
||||||
Reference in new issue
Block a user