diff --git a/.gitignore b/.gitignore index dff55db..e6269fa 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,18 @@ yarn-error.log* # Coverage reports /coverage + +# SSH Keys - Prevent SSH keys from being pushed +*.pem +*.pub +id_rsa +id_rsa.pub + +# Private keys +*.key + +# Security-related or sensitive files +*.crt +*.cert +*.p12 +*.pub diff --git a/GroupCookieNotice.html b/GroupCookieNotice.html index 47e4db1..a643214 100644 --- a/GroupCookieNotice.html +++ b/GroupCookieNotice.html @@ -208,7 +208,7 @@

HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -228,7 +228,7 @@

    KEEPING SAFE

    @@ -236,7 +236,7 @@

    KEEPING SAFE

    @@ -228,7 +228,7 @@

    KEEPING SAFE

    @@ -237,7 +237,7 @@

    KEEPING SAFE

    FIND US

    diff --git a/about.html b/about.html index 5cf5b68..8d125e7 100644 --- a/about.html +++ b/about.html @@ -502,10 +502,10 @@

    About Us 🚀

    @@ -514,7 +514,7 @@

    ABOUT US

    @@ -524,8 +524,8 @@

    ABOUT US

    KEEPING SAFE

    @@ -533,10 +533,10 @@

    KEEPING SAFE

    diff --git a/buy.html b/buy.html index dc642e2..7abd3a7 100644 --- a/buy.html +++ b/buy.html @@ -380,10 +380,16 @@

    Book Your Ticket

    -
    - - -
    +
    + + +
    +
    @@ -392,9 +398,11 @@

    Book Your Ticket

    - - - + + + + + + + + +
    + +
    + +
    +

    Available Tickets

    + +
    +
    +

    Bus Ticket

    +

    Departure: City A

    +

    Destination: City B

    +

    Departure Time: 10:00 AM

    +

    Available Tickets: 20

    +

    Price: $30

    +

    Seating Arrangement: Window and Aisle

    +

    Time Slot: Morning

    +

    Seating Criteria: Family Seating Available

    +
    +
    +

    Train Ticket

    +

    Departure: City C

    +

    Destination: City D

    +

    Departure Time: 2:00 PM

    +

    Available Tickets: 15

    +

    Price: $45

    +

    Seating Arrangement: Upper and Lower Berths

    +

    Time Slot: Afternoon

    +

    Seating Criteria: Quiet Zone Available

    +
    +
    +

    Bus Ticket

    +

    Departure: City E

    +

    Destination: City F

    +

    Departure Time: 5:00 PM

    +

    Available Tickets: 25

    +

    Price: $25

    +

    Seating Arrangement: Standard Seating

    +

    Time Slot: Evening

    +

    Seating Criteria: No Smoking Zone

    +
    +
    + +
    + +
    +
    + + + + + + + + + + + + + +
    + + + + + + + + + diff --git a/client/login.html b/client/login.html index af83ad6..92ec16a 100644 --- a/client/login.html +++ b/client/login.html @@ -1,15 +1,23 @@ - Login Page + +
    +
    + + + + +
    +
    @@ -26,6 +34,7 @@

    Register

    +

    @@ -52,15 +61,7 @@

    required />

    @@ -82,60 +83,7 @@

    - - - - - diff --git a/client/register.html b/client/register.html index 41efb4b..6764bad 100644 --- a/client/register.html +++ b/client/register.html @@ -7,12 +7,23 @@ Register Page + +
    -
    + +
    + +
    + + + + +
    +
    - - - - - - \ No newline at end of file + diff --git a/contact.html b/contact.html index a359478..69a6b31 100644 --- a/contact.html +++ b/contact.html @@ -333,7 +333,7 @@

    HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -360,10 +360,10 @@

    KEEPING SAFE

    diff --git a/contactus.html b/contactus.html index 793f440..41527ff 100644 --- a/contactus.html +++ b/contactus.html @@ -191,41 +191,113 @@ } /* Footer */ - footer { - background-color: #2e3b4e; - color: #fff; - text-align: center; - padding: 20px; - margin-top: 40px; - position: relative; - z-index: 1; - } + /* General Footer Styling */ +.footer-container { + background-color: #1f2937; + color: #ffffff; + padding: 40px 0; + font-family: Arial, sans-serif; +} - footer p { - font-size: 14px; - } +/* Logo and Tagline */ +.footer-logo-section { + text-align: center; + margin-bottom: 30px; +} +.footer-logo { + max-width: 150px; + margin-bottom: 10px; + border-radius: 50px; +} +.footer-logo-section p { + margin: 5px 0; + font-size: 0.95rem; +} +.follow-us { + margin-top: 10px; + font-weight: bold; +} - footer ul { - list-style: none; - display: flex; - justify-content: center; - margin-top: 10px; - } +/* Social Media Icons */ +.social-icons a { + display: inline-block; + margin: 0 10px; + color: #12e9cc; + font-size: 1.5rem; + text-decoration: none; +} +.social-icons a:hover { + color: #76b2ab; +} - footer ul li { - margin: 0 10px; - } +/* Footer Link Sections */ +.footer-links { + display: flex; + justify-content: space-around; + flex-wrap: wrap; + margin: 20px 100px; +} +.footer-column { + flex-basis: 20%; + margin-bottom: 10px; +} +.footer-column h4 { + font-size: 1rem; + margin-bottom: 10px; + color: #12e9cc; +} +.footer-column ul { + list-style: none; + padding: 0; +} +.footer-column ul li { + margin-bottom: 8px; +} +.footer-column ul li a { + color: #ffffff; + text-decoration: none; + font-size: 0.95rem; +} +.footer-column ul li a:hover { + text-decoration: underline; +} - footer ul li a { - color: #ff8c00; - text-decoration: none; - font-size: 18px; - transition: color 0.3s; - } +/* Footer Bottom Links */ +.footer-bottom { + text-align: center; + border-top: 1px solid #ddd; + padding-top: 20px; +} +.footer-bottom ul { + list-style: none; + padding: 0; + margin: 0; +} +.footer-bottom ul li { + display: inline-block; + margin: 0 15px; +} +.footer-bottom ul li a { + color: #12e9cc; + text-decoration: none; + font-size: 0.95rem; +} +.footer-bottom ul li a:hover { + text-decoration: underline; +} + +/* Responsive Adjustments */ +@media (max-width: 768px) { + .footer-links { + flex-direction: column; + align-items: center; + } + .footer-column { + flex-basis: 100%; + text-align: center; + } +} - footer ul li a:hover { - color: #fff; - } /* Animation */ @keyframes fadeIn { @@ -292,77 +364,160 @@

    Contact Us

    + + + + + + + + +
    +
    +
    +
    @@ -305,26 +409,30 @@
    - +
    - +
    - - - - + + + +
    -
    Ticket Bot
    +
    not Bot
    + + - - - - - -
    +
    Slide 1
    @@ -386,7 +489,7 @@
    -
    + - - -
    -

    - Sneha Desai
    ★★★★★

    "I used this platform to book train tickets for my family vacation. The entire process was smooth, and I got confirmation within minutes. Absolutely hassle-free!"

    -

    - Rohan Kapoor

    +

    - Avnish Kumar

    @@ -535,29 +634,124 @@

    - Neha Rajput

    - - + +
    -
    -
    -
    -

    Contact Us

    -

    We value your feedback! We'd love to hear from you! For - inquiries, feedback, or support, please reach out. Your insights help us improve your experience. -

    +
    +
    + +
    +

    Contact Us

    +

    We value your feedback! + Reach out for inquiries, feedback, or support. Your insights help us improve your experience.

    + +
    + + + + +

    ABC Colony, Bangalore, Pin: 76896

    +
    + +
    + + + + +

    +91 9685478526

    +
    -

    Localisation

    -

    ABC colony, Bangalore Pin: 76896

    -

    Phone No

    -

    +91 9685478526

    +
    + + +
    + +
    + + +
    + + + +
    - + + + + @@ -568,13 +762,6 @@

    Phone No

    - - - - - -
    -
    @@ -717,7 +904,6 @@

    We Value Your Feedback!

    - + .form-group input, + .form-group select, + .form-group textarea { + width: 100%; + padding: 12px; + font-size: 1em; + border: 2px solid #a8d8a8; /* Light green border */ + border-radius: 5px; + background-color: #757675; /* Light background */ + transition: border 0.3s ease; + color: #2b472b; /* Dark green for input text */ + } -
    -
    -

    Frequently Asked Questions

    - -
    - -
    -
    - - -
    -
    - -
    -
    - - -
    -
    + .form-group input::placeholder, + .form-group textarea::placeholder { + color: #fafbfa; /* Medium green for placeholder text */ + font-size: medium; + font-weight: bolder; + } -
    -
    - - -
    -
    + .form-group input:focus, + .form-group select:focus, + .form-group textarea:focus { + border-color: #4d994d; /* Dark green on focus */ + outline: none; + } - - -
    -
    -
    - - - + /* Circular toggle symbol styling */ + .toggle-symbol { + width: 25px; + height: 25px; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.2em; + color: white; + background-color: #4CAF50; + border-radius: 50%; + transition: transform 0.4s ease; + } + + /* Rotate symbol when active */ + .faq-item.active .toggle-symbol { + transform: rotate(45deg); + } + + + +
    + +
    Frequently Asked Questions
    + + +
    + +
    +
    + What is your cancellation policy? + + +
    +
    + We offer a flexible cancellation policy that allows you to cancel your booking + up to 48 hours before your scheduled departure for a full refund. +
    +
    - + +
    +
    + How do I make changes to my booking? + + +
    +
    + You can make changes to your booking by logging into your account + and accessing your booking details +
    +
    + +
    +
    + Can I change the date of my travel after booking? + + +
    +
    + Yes, you can change your travel date, but it depends + on the availability and our policy for date changes. +
    +
    +
    +
    + +
    @@ -226,7 +226,7 @@

    KEEPING SAFE

    @@ -234,10 +234,10 @@

    KEEPING SAFE

    diff --git a/quota.html b/quota.html index f53e287..3d6dd96 100644 --- a/quota.html +++ b/quota.html @@ -313,7 +313,7 @@

    HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -336,7 +336,7 @@

    KEEPING SAFE

    @@ -344,10 +344,10 @@

    KEEPING SAFE

    diff --git a/seatAvail.html b/seatAvail.html index 8980e8b..3b7a33c 100644 --- a/seatAvail.html +++ b/seatAvail.html @@ -281,7 +281,7 @@

    HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -304,7 +304,7 @@

    KEEPING SAFE

    @@ -312,10 +312,10 @@

    KEEPING SAFE

    diff --git a/sell.html b/sell.html index f41503c..1165e98 100644 --- a/sell.html +++ b/sell.html @@ -1,387 +1,294 @@ + - - - Sell Ticket - - - - - - - - - - - - - - - - - - - - - - + form .btn:hover { + background-color: transparent; + color: #ff4d4d; + } - +/* cursor*/
    @@ -410,7 +317,7 @@ + + let mybutton = document.getElementById("myBtn"); + window.onscroll = function () { scrollFunction() }; - - - - - + function scrollFunction() { + if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { + mybutton.style.display = "block"; + } else { + mybutton.style.display = "none"; + } + } - + function topFunction() { + document.body.scrollTop = 0; + document.documentElement.scrollTop = 0; + } + + + // toggle chatbot function + function toggleChatbot() { + const chatbotContainer = document.getElementById("chatbot-container"); + chatbotContainer.classList.toggle("chatbot-show"); + } - + + +
    + + + - \ No newline at end of file diff --git a/sitemap.html b/sitemap.html index 48c1f17..b4e79d2 100644 --- a/sitemap.html +++ b/sitemap.html @@ -1,112 +1,361 @@ - - Ticket Booking Sitemap - - - + Ticket Marketplace + body { + font-family: 'Arial', sans-serif; + background-color: #f3f4f6; + color: #333; + line-height: 1.6; + min-height: 100vh; + padding-top: 60px; /* Space for fixed navbar */ + } + + /* Navigation Styles */ + .navbar { + background-color: #1a1a1a; + padding: 0.8rem 2rem; + display: flex; + align-items: center; + justify-content: space-between; + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 1000; + } + + .navbar-brand { + display: flex; + align-items: center; + gap: 1rem; + } + + .navbar-brand img { + width: 35px; + height: 35px; + border-radius: 50%; + } + + .brand-name { + color: #00ffcc; + font-size: 1.5rem; + text-decoration: none; + font-weight: 500; + } + + .nav-links { + display: flex; + align-items: center; + gap: 2rem; + } + + .nav-links a { + color: white; + text-decoration: none; + font-size: 1rem; + display: flex; + align-items: center; + gap: 0.5rem; + transition: color 0.3s ease; + } + + .nav-links a:hover { + color: #00ffcc; + } + + #darkModeToggle { + background: none; + border: none; + color: white; + font-size: 1.5rem; + cursor: pointer; + width: 40px; + height: 40px; + display: flex; + align-items: center; + justify-content: center; + transition: transform 0.3s ease; + } + + #darkModeToggle:hover { + transform: scale(1.1); + } + + /* Container Styles */ + .container { + max-width: 1000px; + width: 100%; + margin: 30px auto; + padding: 20px; + background: #ffffff; + border-radius: 8px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + } + + /* Sitemap Styles */ + .sitemap { + padding: 20px; + } + + .sitemap h2 { + text-align: center; + font-size: 1.5em; + color: #555; + margin-bottom: 20px; + } + + .sitemap ul { + list-style-type: none; + padding: 0; + display: flex; + flex-wrap: wrap; + gap: 15px; + justify-content: space-around; + } + + .sitemap ul li { + width: 45%; + background: #f9fafb; + padding: 10px; + border-radius: 4px; + transition: transform 0.3s ease; + } + + .sitemap ul li:hover { + transform: translateY(-2px); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + } + + .sitemap ul li a { + color: #333; + text-decoration: none; + display: block; + padding: 8px; + transition: color 0.3s ease; + } + + .sitemap ul li a:hover { + color: #0073e6; + } + + /* Footer Styles */ + .footer-container { + background-color: #1a1a1a; + color: white; + padding: 40px 20px; + margin-top: 40px; + border-radius: 0 0 8px 8px; + } + + .footer-top { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + gap: 30px; + margin-bottom: 30px; + } + + .footer-logo-section { + flex: 1; + min-width: 250px; + } + + .footer-logo { + width: 120px; + height: auto; + margin-bottom: 15px; + } + + .footer-links { + display: flex; + flex-wrap: wrap; + gap: 30px; + flex: 2; + justify-content: space-around; + } + + .footer-column h4 { + color: #00ffcc; + margin-bottom: 15px; + } + + .footer-column ul { + list-style: none; + padding: 0; + } + + .footer-column ul li { + margin-bottom: 10px; + } + + .footer-column ul li a { + color: white; + text-decoration: none; + transition: color 0.3s ease; + } + + .footer-column ul li a:hover { + color: #00ffcc; + } + + .social-icons { + display: flex; + gap: 15px; + margin-top: 15px; + } + + .social-icons a { + color: white; + font-size: 20px; + transition: color 0.3s ease; + } + + .social-icons a:hover { + color: #00ffcc; + } + + .footer-bottom { + border-top: 1px solid #333; + padding-top: 20px; + } + .footer-bottom ul { + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 20px; + list-style: none; + } + + .footer-bottom ul li a { + color: white; + text-decoration: none; + transition: color 0.3s ease; + } + + .footer-bottom ul li a:hover { + color: #00ffcc; + } + + /* Dark Mode Styles */ + body.dark-mode { + background-color: #1a1a1a; + color: #ffffff; + } + + body.dark-mode .container { + background-color: #2d2d2d; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); + } + + body.dark-mode .sitemap ul li { + background-color: #333; + } + + body.dark-mode .sitemap ul li a { + color: #ffffff; + } + + body.dark-mode .sitemap h2 { + color: #ffffff; + } + + @media (max-width: 768px) { + .nav-links { + display: none; + } + + .footer-links { + flex-direction: column; + gap: 20px; + } + + .sitemap ul li { + width: 100%; + } + } + + + + +
    -
    -

    Ticket Booking Sitemap

    -

    Your guide to all pages on our site

    - -

    Explore Our Pages

    - - -======= - - - - Site Map - Ticket Booking - - - - - - - - - + +
    +
    @@ -433,7 +566,7 @@

    KEEPING SAFE

    @@ -441,7 +574,7 @@

    KEEPING SAFE

    @@ -325,7 +325,7 @@

    ABOUT US

  • Media Center
  • Investors
  • -
  • Modern Slavery Act
  • +
  • Modern Slavery Act
  • Modern Slavery Act
  • @@ -338,7 +338,7 @@

    KEEPING SAFE

    @@ -346,10 +346,10 @@

    KEEPING SAFE

    diff --git a/test.html b/test.html new file mode 100644 index 0000000..a29c098 --- /dev/null +++ b/test.html @@ -0,0 +1,192 @@ + + + + + + FAQ Section + + + + +
    + +
    FAQ
    + + +
    + +
    +
    + What is the purpose of this FAQ section? + + +
    +
    + This FAQ section provides answers to commonly asked questions in a visually appealing format. + It helps users find the information they need quickly and easily. +
    +
    + + +
    +
    + How do I toggle the answer? + + +
    +
    + Click on the question or the '+' symbol to expand or collapse the answer. You can view each answer individually and only one answer will be displayed at a time. +
    +
    + + +
    +
    + Can I add more questions? + + +
    +
    + Yes, you can add more questions by duplicating the .faq-item section in the HTML. Ensure that each question and answer fits well within the container for best results. +
    +
    +
    +
    + + + + + diff --git a/test2.htm b/test2.htm new file mode 100644 index 0000000..7a04251 --- /dev/null +++ b/test2.htm @@ -0,0 +1,105 @@ + + + + + + FAQ Section + + + + +
    +
    +

    Do you offer insurance for travel?

    + +
    +

    Yes, we offer comprehensive travel insurance packages for all our clients to ensure a safe and secure journey.

    +
    +
    + +
    +

    What is the cancellation policy?

    + +
    +

    Our cancellation policy allows for full refunds up to 48 hours before departure. After that, partial refunds are provided.

    +
    +
    + +
    +

    Are there group discounts available?

    + +
    +

    Yes, we offer discounts for group bookings of five or more people. Contact us for more details.

    +
    +
    +
    + + + + + diff --git a/test4.htm b/test4.htm new file mode 100644 index 0000000..0a21829 --- /dev/null +++ b/test4.htm @@ -0,0 +1,184 @@ + + + + + + FAQ Section + + + + +
    + +
    FAQ
    + + +
    + +
    +
    + What is the purpose of this FAQ section? + + +
    +
    + This FAQ section provides answers to commonly asked questions in a visually appealing format. +
    +
    + + +
    +
    + How do I toggle the answer? + + +
    +
    + Click on the question or the '+' symbol to expand or collapse the answer. +
    +
    + + +
    +
    + Can I add more questions? + + +
    +
    + Yes, you can add more questions by duplicating the .faq-item section in the HTML. +
    +
    +
    +
    + + + + + diff --git a/tophotels.html b/tophotels.html index 196ced4..37e127c 100644 --- a/tophotels.html +++ b/tophotels.html @@ -871,10 +871,10 @@

    Explore Our Exclusive Selections

    @@ -883,8 +883,8 @@

    ABOUT US

    @@ -892,8 +892,8 @@

    ABOUT US

    KEEPING SAFE

    @@ -901,10 +901,10 @@

    KEEPING SAFE

    diff --git a/train_buy.html b/train_buy.html index c273069..f3e868c 100644 --- a/train_buy.html +++ b/train_buy.html @@ -267,23 +267,6 @@ - - -

    Browse Our Available Train Tickets

    @@ -339,10 +322,10 @@

    Ticket Number: 98765

    @@ -351,8 +334,8 @@

    ABOUT US

    @@ -360,8 +343,8 @@

    ABOUT US

    KEEPING SAFE

    @@ -369,10 +352,10 @@

    KEEPING SAFE

    diff --git a/train_sell.html b/train_sell.html index 94c3830..3772c72 100644 --- a/train_sell.html +++ b/train_sell.html @@ -1,7 +1,45 @@ - + + + + Sell Train Ticket + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + +
    + + - - - + - + +

    Sell Train Ticket

    - - +
    + + +
    +
    + + +
    +
    + + +
    - - +
    + + +
    +
    + + +
    - - +
    + + +
    +
    + + +
    +
    + + +
    - - +
    + + +
    - - +
    + + +
    +
    + + +
    - - +
    + + +
    - - +
    + + +
    - - + +
    - - - - +

    +
    - - + + - - -

    - + + + + + + + + + + + - -
    - - - + + + + + + + + + \ No newline at end of file diff --git a/travelAware.html b/travelAware.html index 191bc01..99b1f81 100644 --- a/travelAware.html +++ b/travelAware.html @@ -434,7 +434,7 @@

    HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -457,7 +457,7 @@

    KEEPING SAFE

    @@ -465,10 +465,10 @@

    KEEPING SAFE

    diff --git a/travelawares.html b/travelawares.html index 637e8d2..799980a 100644 --- a/travelawares.html +++ b/travelawares.html @@ -408,7 +408,7 @@

    HELPFUL LINKS

  • Help Centre
  • Special Assistance
  • Download The App
  • -
  • Booking Conditions
  • +
  • Booking Conditions
  • @@ -431,7 +431,7 @@

    KEEPING SAFE

    @@ -439,10 +439,10 @@

    KEEPING SAFE