diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml new file mode 100644 index 0000000..37da284 --- /dev/null +++ b/.github/workflows/pr-checker.yml @@ -0,0 +1,34 @@ +name: PR Issue Checker +# Created by @siri-chandana-macha +on: + pull_request: + types: [opened, edited] + +jobs: + check_pr_description: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Check PR Description + id: check_pr_description + run: | + PR_DESCRIPTION="${{ github.event.pull_request.body }}" + if [[ -z "$PR_DESCRIPTION" ]]; then + echo "PR description is missing." + exit 1 + fi + + # Allow any text before # + if [[ ! "$PR_DESCRIPTION" =~ .*\ #[0-9]+ ]]; then + echo "The PR description should include the issue number assigned to you.⚠️" + echo "##[error]An issue reference like 'Fixed #' must be included in the description." + exit 1 + fi + + echo "PR description is valid." + + - name: Output result + run: echo "All checks passed." \ No newline at end of file diff --git a/Ticket booking.png b/Ticket booking.png new file mode 100644 index 0000000..31721e9 Binary files /dev/null and b/Ticket booking.png differ diff --git a/Ticket-Booking-main1/index.css b/Ticket-Booking-main1/index.css index d4f03ec..eb5b699 100644 --- a/Ticket-Booking-main1/index.css +++ b/Ticket-Booking-main1/index.css @@ -346,7 +346,7 @@ p { .nav-buttons { position: absolute; - top: 50%; + top: 35%; width: 100%; display: flex; justify-content: space-between; diff --git a/about.html b/about.html index 039edf3..cd540a3 100644 --- a/about.html +++ b/about.html @@ -31,12 +31,12 @@ diff --git a/buy.html b/buy.html index df48cb4..577754b 100644 --- a/buy.html +++ b/buy.html @@ -439,8 +439,13 @@ @@ -449,53 +454,236 @@ -
-
- -
-
-

Book Your ticket

-
-
- - -
-
- - -
+ + -
- - -
- -
- - -
+ + + + Buy Tickets + + + + + + + + + + +
+
+ Moving Bus +
+
+

Book Your Ticket

+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+ + + + + + diff --git a/contributor/contributor.css b/contributor.css similarity index 62% rename from contributor/contributor.css rename to contributor.css index c1a98fa..9469728 100644 --- a/contributor/contributor.css +++ b/contributor.css @@ -10,7 +10,81 @@ body { color: #333; background-color: #f5f5f5; } +.navbar { + background-color: #1f2937; + color: white; + padding: 15px 20px; + display: flex; + justify-content: space-between; + align-items: center; + position: sticky; + top: 0; + z-index: 1000; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); +} + +.nav-container { + display: flex; + align-items: center; /* Vertically center items */ + justify-content: space-between; /* Space between logo and nav items */ +} + +.navbar .logo { + font-size: 24px; + font-weight: bold; + color: #12e9cc; +} +.nav-links { + list-style: none; + display: flex; + gap: 30px; +} + +.nav-links a { + color: #fff; + text-decoration: none; + font-weight: bold; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: #00bfa6; +} + +#darkModeToggle { + background-color: transparent; + border: none; + color: #fff; + font-size: 1.2rem; + cursor: pointer; +} + +.caption { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + color: white; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); + font-size: 2rem; + font-weight: bold; + text-align: center; +} +@media (max-width: 500px) { + .navbar .logo { + font-size: 20px; + } + + .btn { + padding: 8px 20px; + font-size: 0.9rem; + } + + .caption { + font-size: 1.2rem; + } +} .contributor-container { margin: 0 auto; } @@ -160,11 +234,15 @@ body { border-radius: 10px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 2px 2px 10px rgb(172, 140, 140); } .contributor-contributor-card:hover { transform: translateY(-5px); - box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); + + background-color: aqua; + box-shadow: 1px 1px 12px 4px blue; + border-radius: 10px ; } .contributor-contributor-card img { @@ -270,6 +348,14 @@ body { width: 300px; } +.contributor-contributor-card:hover { + transform: translateY(-5px); + + background-color: aqua; + box-shadow: 1px 1px 12px 4px blue; + border-radius: 10px ; +} + .contributor-notification { background-color: #4CAF50; color: white; @@ -305,45 +391,112 @@ body { -.contributor-footer-link{ - display: grid; - grid-template-columns: repeat(4 ,1fr); - place-items: center; - margin-top: 4rem; - -} -.footer-row { - text-align: start; - min-width: 135px; -} -.footer-row h3{ - color: #07a893; -} -.footer-row ul li{ - list-style-type: none; +/* General Footer Styling */ +.footer-container { + background-color: #1f2937; + color: #ffffff; + padding: 40px 0; + font-family: Arial, sans-serif; } -.footer-row ul li a{ +/* 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; +} - color: white; +/* 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-row ul li a:hover{ +/* 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; - } - +} - .icon:hover{ - transform: scale(1.2); - color: #12e9cc; - } +/* 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; +} - @media (max-width:600px) { - .contributor-footer-link{ - grid-template-columns: repeat(2 ,1fr); +/* Responsive Adjustments */ +@media (max-width: 768px) { + .footer-links { + flex-direction: column; + align-items: center; } - } \ No newline at end of file + .footer-column { + flex-basis: 100%; + text-align: center; + } +} diff --git a/contributor.html b/contributor.html new file mode 100644 index 0000000..9552f04 --- /dev/null +++ b/contributor.html @@ -0,0 +1,639 @@ + + + + + + BuddyTrail Contributors + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
Ready to Explore the World...
+
+ + +
+ + +
+ + + + + + + +
+
Ticket Bot
+
+ + +
+ + + + +
+
+ + + + + + +
+ +
+
+

Welcome to Ticket Booking platform

+

Empowering writers, one commit at a time

+
+
+ + +
+

Project Statistics

+
+ +
+
+ + +
+

Meet Our Contributors

+
+ +
+
+
+
+
+ + + + +
+ +
+
+ + + + + + +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/contributor/contributor.js b/contributor.js similarity index 100% rename from contributor/contributor.js rename to contributor.js diff --git a/contributor/4.jpeg b/contributor/4.jpeg new file mode 100644 index 0000000..2eaaee9 Binary files /dev/null and b/contributor/4.jpeg differ diff --git a/contributor/contributor.html b/contributor/contributor.html deleted file mode 100644 index 9406f0a..0000000 --- a/contributor/contributor.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - BuddyTrail Contributors - - - - - - - - - - - Home - -
- -
-
-

Welcome to Ticket Booking platform

-

Empowering writers, one commit at a time

- -
-
- - -
-

Project Statistics

-
- -
-
- - -
-

Meet Our Contributors

-
- -
-
-
-
-
- - -
-

Ready to Make an Impact?

-

Join our community and help shape the future with us at Ticket Booking platform.

-
- - -
-
- - - - - -
-
- - - - \ No newline at end of file diff --git a/faq.css b/faq.css index af992b9..7c1dc5b 100644 --- a/faq.css +++ b/faq.css @@ -1,116 +1,18 @@ -.faq-section { - max-width: 760px; - margin: 0 auto; - color: #1fb899; - } - - header { - margin-bottom: 70px; - color: #1fb899; - } - - .down-arrow{ - color: black; - } - .down-arrow:hover{ - color: #1fb899; - } - - header > h3 { - font-size: 22px; - color: black; - } - header > h3:hover{ - color: #1fb899; - } - - h2 { - font-size: 52px; - margin-top: 40px; - color: black; - margin-bottom: 20px; - font-weight: bold; - } - h2:hover{ - color: #1fb899 - } - - details { - cursor: pointer; - - color: black; - width: 100%; - } - - summary:focus-visible { - outline: 2px solid orange; - outline-offset: 8px; - border-radius: 4px; - color: #1fb899; - } - - h4 { - /* width: 100%; */ - color: black; - flex-grow: 1; - margin: 0; - } - h4:hover{ - color: #1fb899 - } - - summary { - font-size: 20px; - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 25px; - color: #1fb899; - width: 100%; - } - - summary::marker { - display: none; - content: ""; - color: #1fb899; - } - - span { - /* margin-top: 4px; */ - margin-left: 10px; - flex-shrink: 0; - color: #1fb899; - } - - details > p { - max-width: 100%; - - font-size: 18px; - line-height: 155%; - letter-spacing: .1px; - margin-bottom: 40px; - padding-left: 10px; - color: #1fb899; - } - - hr { - border: 1px solid #404E5C; - margin-block-end: 30px; - color: #1fb899; - } - - /* Code to make the hidden text under the details-summary faq come out with a little animation */ - details[open] p { - display: block; - height: auto; - opacity: 1; - transition: height 0.5s ease, opacity 0.5s ease; / +.FAQ-content { + display: none; /* Ensure FAQ content is hidden by default */ +} +.expandToggle { + cursor: pointer; /* Change cursor to pointer for toggle */ } -details p { - display: block; - height: 0; - overflow: hidden; - opacity: 0; - transition: height 0.5s ease, opacity 0.5s ease; +.accordion{ + background-color: aliceblue; } +.expandToggle{ + background-color: #1fb899; + color: white; + padding: 10px 20px; + border-radius: 5px; + margin-top: 10px; + display: inline-block; +} \ No newline at end of file diff --git a/faq.js b/faq.js new file mode 100644 index 0000000..fb83140 --- /dev/null +++ b/faq.js @@ -0,0 +1,12 @@ +function toggleFAQ(element) { + const content = element.nextElementSibling; // Get the FAQ content + const toggleSymbol = element.querySelector('.expandToggle'); + + if (content.style.display === "block") { + content.style.display = "none"; // Hide content + toggleSymbol.textContent = "+"; // Change toggle symbol to "+" + } else { + content.style.display = "block"; // Show content + toggleSymbol.textContent = "-"; // Change toggle symbol to "-" + } +} diff --git a/index.css b/index.css index ce10bee..ea53f9d 100644 --- a/index.css +++ b/index.css @@ -11,6 +11,7 @@ body { background-color: #f0f4f8; font-size: 16px; transition: background-color 0.3s, color 0.3s; + overflow-x: hidden; } h1, @@ -226,6 +227,8 @@ h2 { text-align: center; } + + .containers { padding: 20px; background: aliceblue; @@ -441,7 +444,7 @@ p { .nav-buttons { position: absolute; - top: 50%; + top: 35%; width: 100%; display: flex; justify-content: space-between; @@ -524,57 +527,13 @@ button:hover { background-color: #000; } -/* faq section */ -.faq-section { - max-width: 900px; - margin: 50px auto; - padding: 20px; - background-color: #fff; - border-radius: 8px; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); -} +/* FAQ Section */ -.faq-container { - width: 100%; -} -.faq-item { - margin-bottom: 15px; - border-bottom: 1px solid #ddd; - padding-bottom: 10px; -} -.faq-question { - width: 100%; - padding: 15px; - text-align: left; - background-color: #f7f7f7; - border: none; - font-size: 18px; - font-weight: bold; - color: #333; - cursor: pointer; - outline: none; - border-radius: 0%; - transition: background-color 0.3s ease; - line-height: 15px; -} -.faq-question:hover { - background-color: #e6e6e6; -} -.faq-answer { - display: none; - padding: 10px 15px; - font-size: 16px; - color: #555; -} -.faq-answer p { - color: #4b4b4b; - line-height: 1.6; -} /* Responsive Design */ @media (max-width: 600px) { @@ -590,3 +549,4 @@ button:hover { font-size: 20px; } } + diff --git a/index.html b/index.html index 284dcec..e6eef15 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,110 @@ - + + +
+
+ +
+
+
Ready to Explore the World...
+
+ +
@@ -90,12 +193,12 @@ @@ -624,20 +789,7 @@

FIND US

// script for faq section - document.querySelectorAll('.faq-question').forEach(button => { - button.addEventListener('click', () => { - const answer = button.nextElementSibling; - const isExpanded = button.getAttribute('aria-expanded') === 'true'; - - document.querySelectorAll('.faq-answer').forEach(a => a.style.display = 'none'); - document.querySelectorAll('.faq-question').forEach(q => q.setAttribute('aria-expanded', 'false')); - - if (!isExpanded) { - answer.style.display = 'block'; - button.setAttribute('aria-expanded', 'true'); - } - }) - }); + window.onscroll = function() { scrollFunction() @@ -720,6 +872,7 @@

FIND US

+ diff --git a/main.css b/main.css index 6ee776a..0f66d19 100644 --- a/main.css +++ b/main.css @@ -234,17 +234,18 @@ z-index: 10; /* Make sure buttons are above other elements */ } .prev, .next { -background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */ -border: none; +background-color: black; +border: 2px solid #07b797; border-radius: 50%; cursor: pointer; outline: none; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); transition: background-color 0.3s; +padding:0px 0px; } .prev:hover, .next:hover { -background-color: rgba(255, 255, 255, 1); /* Solid background on hover */ +background-color: #07b797; /* Solid background on hover */ } /* Optional: Responsive design */ @@ -997,7 +998,8 @@ padding: 15px 30px; /* Form Container */ .container { - background: #fff; + font-weight: bold; + background-color:#00bfa6; padding: 40px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); @@ -1058,6 +1060,8 @@ padding: 15px 30px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease; + display: block; + margin: 0 auto; /* Center horizontally */ } button[type="submit"]:hover { @@ -1277,8 +1281,8 @@ padding: 15px 30px; display: inline-block; width: 12px; height: 12px; - border-right: 2px solid #fff; - border-bottom: 2px solid #fff; + border-right: 2px solid #040404; + border-bottom: 2px solid #040404; transform: rotate(45deg); transition: transform 0.3s ease; } diff --git a/sell.html b/sell.html index 62a8af8..b6f8903 100644 --- a/sell.html +++ b/sell.html @@ -9,204 +9,189 @@ - - - - + + + + + + + + + + + + -
- - - - -
+ + + + +
Ticket Bot
@@ -272,21 +256,26 @@
+

Sell Your Ticket

@@ -316,122 +305,105 @@

Sell Your Ticket

-
-
- - -
-