Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c3c1870
86b2j5p74-landing-page:Created Header, Footer and Venue page
Devousl Oct 22, 2024
8855bdb
i added venue card to landing page and update header welcome page and…
s92068606 Oct 23, 2024
57dafa0
i added venue card to landing page and update header welcome page and…
s92068606 Oct 23, 2024
b5b965c
i added venue card to landing page and update header welcome page and…
s92068606 Oct 23, 2024
f2cf396
86b2j5p74-landing-page: Resolve conflict regarding font/page.tsx
Devousl Oct 23, 2024
e1154d7
resolve previous errors and made as responsive
s92068606 Oct 23, 2024
208a3f5
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
s92068606 Oct 23, 2024
88d97c7
Resolved merge conflicts
Vihari7 Oct 24, 2024
a690d64
86b2j5p74-landing-page: create footer responsively
Devousl Oct 24, 2024
8c20cce
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
Devousl Oct 24, 2024
ff88ec2
Resolved merge conflict in page.tsx
Vihari7 Oct 24, 2024
84b2e14
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
Vihari7 Oct 24, 2024
5e34558
chore(components): integrate existing header and footer as separate c…
Vihari7 Oct 24, 2024
32eb4b4
feat: create logo component
Vihari7 Oct 24, 2024
f50ad39
chore: update common layout
Vihari7 Oct 24, 2024
83b1a06
added detailed image part which is shows the details
s92068606 Oct 24, 2024
e3a0295
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
s92068606 Oct 24, 2024
06bb4b9
86b2j5p74-landing-page: Add footer layout for landing page
Devousl Oct 24, 2024
5b6edc0
86b2j5p74-landing-page: resolve merge conflict
Devousl Oct 24, 2024
7061e29
86b2j5p74-landing-page: Creating header component responsively
Devousl Oct 24, 2024
eeea26b
i created the types of venue section and make it as a scrollable
s92068606 Oct 24, 2024
92eb668
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
s92068606 Oct 24, 2024
72d3361
update additional section image view
s92068606 Oct 24, 2024
9ce8302
Additional detail image part added as a responsive
s92068606 Oct 24, 2024
8e3570a
86b2j5p74-landing-page: Complete Landing Page
Devousl Oct 25, 2024
d7ce0f5
Types of venue color and alignment changes
s92068606 Oct 25, 2024
e581f48
Merge branch '86b2j5p74-landing-page' of https://github.com/tracet2t/…
s92068606 Oct 25, 2024
92fe48e
added merged venue card component, and made some changes on colors
s92068606 Oct 25, 2024
16aead0
create landing venue card file
s92068606 Oct 25, 2024
c5420b2
make it landing venue card responsive
s92068606 Oct 25, 2024
4717a9f
add a carousel to additional image section.
s92068606 Oct 25, 2024
6d7bfac
Add a text on additional section image, and add a button
s92068606 Oct 25, 2024
b270f8d
types of venue section card size chanings
s92068606 Oct 25, 2024
1885ec3
make types of venue title to centre
s92068606 Oct 25, 2024
d2a15a9
resolve errors when buld the landing page (remove the unused property)
s92068606 Nov 4, 2024
ca96808
resolve errors when buld the landing page (title string)
s92068606 Nov 4, 2024
5e1d7cd
change footer setup for single page
s92068606 Nov 7, 2024
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
15 changes: 15 additions & 0 deletions venue-reservation/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
14 changes: 12 additions & 2 deletions venue-reservation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions venue-reservation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"next": "14.2.15"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.15",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"eslint": "^8",
"eslint-config-next": "14.2.15"
"typescript": "^5"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions venue-reservation/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const geistMono = localFont({
});

export const metadata: Metadata = {
title: "Create Next App",
title: "Venue Reservation",
description: "Generated by create next app",
};

Expand All @@ -28,7 +28,11 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}

{/* Main content */}
<main>{children}</main>
{/* Global Footer */}

</body>
</html>
);
Expand Down
60 changes: 60 additions & 0 deletions venue-reservation/src/app/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import React from 'react';

const Footer = () => {
return (
<footer className="bg-[#f7fafc] mt-16">
<div className="max-w-8xl mx-auto p-8 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-8">
{/* First Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Venue Reservation</h3>
<p className="text-sm text-gray-600 mb-2">A Venue Reservation System is a streamlined platform that allows users to easily browse, book, and manage reservations for event spaces like auditoriums and conference rooms.</p>
<p className="text-sm text-gray-600">+9476-3451121</p>
<p className="text-sm text-gray-600">[email protected]</p>
<p className="text-sm text-gray-600">533, Maradana Road, Colombo</p>
</div>

{/* Second Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Quick Links</h3>
<ul className="text-sm text-gray-600">
<li> Dashboard</li>
<li> Blog</li>
</ul>
</div>

{/* Third Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Support</h3>
<ul className="text-sm text-gray-600">
<li> WhatsApp</li>
<li> Telegram</li>
</ul>
</div>

{/* Fourth Column */}
<div className="flex flex-col">
<h3 className="text-[#584822] text-xl sm:text-2xl mb-2">Get Updates</h3>
<div className="flex flex-col sm:flex-row items-start sm:items-center">
<input
type="email"
placeholder="Enter your email"
className="border border-gray-300 p-2 rounded-md mb-2 sm:mb-0 sm:mr-2 w-full"
/>
<button
className="bg-[#584822] text-white px-4 py-2 rounded-md transition-colors duration-200 ease-in-out hover:bg-[#7B6C48] cursor-pointer"
>
Subscribe
</button>
</div>
</div>
</div>

<div className="text-center py-4 bg-[#e2e8f0]">
<p className="text-sm text-gray-600">Created By TeamReserv | &copy; All Rights Reserved</p>
<p className="text-sm text-gray-600">Privacy Policy | Terms of Services</p>
</div>
</footer>
);
};

export default Footer;
94 changes: 94 additions & 0 deletions venue-reservation/src/app/layout/Header.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
"use client";
import React, { useState } from "react";
import Logo from "./Logo";
const Header = () => {
const [isOpen, setIsOpen] = useState(false);

return (
<header className="bg-white shadow-lg">
<div className="container mx-auto px-4 py-4 flex items-center justify-between">
<div>
{/* Add the Logo here */}
<Logo />
</div>

{/* Hamburger menu for mobile */}
<div className="lg:hidden">
<button
onClick={() => setIsOpen(!isOpen)}
className="text-gray-700 focus:outline-none"
>
<svg
className="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d={isOpen ? "M6 18L18 6M6 6l12 12" : "M4 6h16M4 12h16M4 18h16"}
/>
</svg>
</button>
</div>

{/* Nav menu for larger screens */}
<nav className="hidden lg:flex items-center space-x-4">
<button className="bg-gray-200 text-gray-700 px-4 py-2 rounded hover:bg-gray-300 transition duration-200 ease-in-out">
Login
</button>
<button
style={{ backgroundColor: "#584822" }}
className="text-white px-4 py-2 rounded hover:bg-[#6A5B3A] transition duration-200 ease-in-out"
>
Signup
</button>
</nav>
</div>

{/* Sidebar menu for mobile */}
<div
className={`lg:hidden fixed top-0 left-0 h-full w-64 bg-white shadow-lg transform ${
isOpen ? "translate-x-0" : "-translate-x-full"
} transition-transform duration-300 ease-in-out`}
>
<div className="flex justify-between items-center p-4">
<Logo />
<button onClick={() => setIsOpen(false)} className="text-gray-700">
<svg
className="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</button>
</div>

<nav className="flex flex-col items-start space-y-4 p-4">
<button className="bg-gray-200 text-gray-700 w-full text-left px-4 py-2 rounded hover:bg-gray-300 transition duration-200 ease-in-out text-sm">
Login
</button>
<button
style={{ backgroundColor: "#584822" }}
className="text-white w-full text-left px-4 py-2 rounded hover:bg-[#6A5B3A] transition duration-200 ease-in-out text-sm"
>
Signup
</button>
</nav>
</div>
</header>
);
};

export default Header;
12 changes: 12 additions & 0 deletions venue-reservation/src/app/layout/Logo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"use client";
import React from 'react';

const Logo = () => {
return (
<div className="text-2xl font-bold text-gray-800" style={{ marginRight: 'auto' }}>
MyLogo
</div>
);
};

export default Logo;
60 changes: 60 additions & 0 deletions venue-reservation/src/app/layouts/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import React from 'react';

const Footer = () => {
return (
<footer className="bg-[#f7fafc] mt-16">
<div className="max-w-8xl mx-auto p-8 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-8">
{/* First Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Venue Reservation</h3>
<p className="text-sm text-gray-600 mb-2">A Venue Reservation System is a streamlined platform that allows users to easily browse, book, and manage reservations for event spaces like auditoriums and conference rooms.</p>
<p className="text-sm text-gray-600">+9476-3451121</p>
<p className="text-sm text-gray-600">[email protected]</p>
<p className="text-sm text-gray-600">533, Maradana Road, Colombo</p>
</div>

{/* Second Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Quick Links</h3>
<ul className="text-sm text-gray-600">
<li> Dashboard</li>
<li> Blog</li>
</ul>
</div>

{/* Third Column */}
<div className="flex flex-col">
<h3 className="text-[#6A5B3A] text-xl sm:text-2xl mb-2">Support</h3>
<ul className="text-sm text-gray-600">
<li> WhatsApp</li>
<li> Telegram</li>
</ul>
</div>

{/* Fourth Column */}
<div className="flex flex-col">
<h3 className="text-[#584822] text-xl sm:text-2xl mb-2">Get Updates</h3>
<div className="flex flex-col sm:flex-row items-start sm:items-center">
<input
type="email"
placeholder="Enter your email"
className="border border-gray-300 p-2 rounded-md mb-2 sm:mb-0 sm:mr-2 w-full"
/>
<button
className="bg-[#584822] text-white px-4 py-2 rounded-md transition-colors duration-200 ease-in-out hover:bg-[#7B6C48] cursor-pointer"
>
Subscribe
</button>
</div>
</div>
</div>

<div className="text-center py-4 bg-[#e2e8f0]">
<p className="text-sm text-gray-600">Created By TeamReserv | &copy; All Rights Reserved</p>
<p className="text-sm text-gray-600">Privacy Policy | Terms of Services</p>
</div>
</footer>
);
};

export default Footer;
Loading