Skip to content

Commit

Permalink
Merge branch 'main' into harsh
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelHarsh2006 authored Nov 10, 2024
2 parents 3e6a82e + e44dede commit 7647ffa
Show file tree
Hide file tree
Showing 20 changed files with 1,654 additions and 330 deletions.
Binary file modified .DS_Store
Binary file not shown.
26 changes: 26 additions & 0 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'PR Title Check'

# All of these are valid PR titles using GitHub issues.
# Of course one can use different <type> as per conventional commits format
# https://www.conventionalcommits.org/en/v1.0.0
#
# feat(improvement)!: [#123] - My PR title
# feat!: [#123] - My PR title
# feat: [#123] - My PR title

on:
pull_request:
types:
- opened
- synchronize
- edited
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: Slashgear/[email protected]
with:
regexp: '^(?:release|feat|fix|build|chore|ci|docs|style|refactor|perf|test|revert)(?:\(\w+\))?\!?:\s\[#\d+\]\s\-\s.+'
helpMessage: "Example: 'feat: [#123] - my title'"
69 changes: 42 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,44 @@
# 🚖 **CabRental**

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Last Commit](https://img.shields.io/github/last-commit/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/commits/main)
[![GitHub Issues](https://img.shields.io/github/issues/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/pulls)
[![Platform](https://img.shields.io/badge/platform-Web%20%26%20Blockchain-green.svg)](#)
[![Technologies](https://img.shields.io/badge/Tech-HTML%20%7C%20CSS%20%7C%20JS%20%7C%20Node.js%20%7C%20Solidity-blue.svg)](#)
🚗 CabRental is a **decentralized vehicle rental platform** using **Web3** for enhanced privacy, security, and flexibility. With crypto-wallet authentication 🔐 and smart contract-based transactions 📜, it offers a seamless, transparent, and tamper-proof rental experience.


<table align="center">
<thead align="center">
<tr border: 2px;>
<td><b>🌟 Stars</b></td>
<td><b>🍴 Forks</b></td>
<td><b>🐛 Issues</b></td>
<td><b>🔔 Open PRs</b></td>
<td><b>🔕 Close PRs</b></td>
</tr>
</thead>
<tbody>
<tr>
<td><img alt="Stars" src="https://img.shields.io/github/stars/07sumit1002/CabRental?style=flat&logo=github"/></td>
<td><img alt="Forks" src="https://img.shields.io/github/forks/07sumit1002/CabRental?style=flat&logo=github"/></td>
<td><img alt="Issues" src="https://img.shields.io/github/issues/07sumit1002/CabRental?style=flat&logo=github"/></td>
<td><img alt="Open Pull Requests" src="https://img.shields.io/github/issues-pr/07sumit1002/CabRental?style=flat&logo=github"/></td>
<td><img alt="Close Pull Requests" src="https://img.shields.io/github/issues-pr-closed/07sumit1002/CabRental?style=flat&color=critical&logo=github"/></td>
</tr>
</tbody>
</table>

---
![CabRental Banner](https://files.oaiusercontent.com/file-E72nIXce4E1497vZoiZtGNTy?se=2024-10-05T14%3A47%3A35Z&sp=r&sv=2024-08-04&sr=b&rscc=max-age%3D604800%2C%20immutable%2C%20private&rscd=attachment%3B%20filename%3Dff26116f-77dd-4e15-aee3-e867ef6fb7ac.webp&sig=L/j24P/8ksOZiXp9XSW7mCs1EKYRokZa%2BQjwzPtzb5s%3D)
<img src = "images/Cab_rental.png.png" alt = "image">
<img src = "images/canRental2.png.png" alt = "image">

---
## 📝 **Table of Contents**

- [📝 Description](#-description)
- [🌟 Features](#-features)
- [💻 Technologies Used](#-technologies-used)
- [🔧 Installation](#-installation)
- [🛠 Web3 Integration Guide](#-web3-integration-guide)
- [📚 Usage](#-usage)
- [🤝 Contributing](#-contributing)
- [📄 License](#-license)
- [📫 Contact](#-contact)

---

## 📝 **Description**

**CabRental** is a cutting-edge decentralized vehicle rental platform designed to give users a seamless and secure way to rent vehicles. By integrating **Web3 technologies**, CabRental ensures enhanced privacy, security, and flexibility with **crypto-wallet authentication** and **smart contract-based transactions**. All the features, from login to booking management, are decentralized and blockchain-powered, making the user experience smooth, transparent, and tamper-proof.

![Web3 Rental](https://files.oaiusercontent.com/file-3vRtOVQ6VXFOIvjeHEuIF03Q?se=2024-10-05T14%3A32%3A33Z&sp=r&sv=2024-08-04&sr=b&rscc=max-age%3D604800%2C%20immutable%2C%20private&rscd=attachment%3B%20filename%3Dc15e91ce-61b7-482c-987c-66d9adaab9f6.webp&sig=xWHU67zr8OrTQulaEn1HgJP1NHx6jn6ibQTTGg4vEiQ%3D)
- 🌟 [Features](#-features)
- 💻 [Technologies Used](#-technologies-used)
- 🔧 [Installation](#-installation)
- 🛠 [Web3 Integration Guide](#-web3-integration-guide)
- 📚 [Usage](#-usage)
- 🤝 [Contributing](#-contributing)
- 📄 [License](#-license)
- 📫 [Contact](#-contact)

---

Expand Down Expand Up @@ -116,7 +125,6 @@ cd CabRental
- Wallet authentication via **MetaMask** allows decentralized login.
- **Web3.js** and **Ethers.js** are used to interact with the smart contracts for seamless blockchain operations.

![MetaMask Wallet Connection](https://files.oaiusercontent.com/file-QyUAqocqj49rEEefvhalq9cF?se=2024-10-05T14%3A41%3A11Z&sp=r&sv=2024-08-04&sr=b&rscc=max-age%3D604800%2C%20immutable%2C%20private&rscd=attachment%3B%20filename%3Dac428c5a-a433-4e8f-a5bd-54d007480062.webp&sig=yX9OkeQ1m8CXkHEoRXOD1K1%2BQh%2Big4EsWvhyt5t3T%2BU%3D)
---

## 📚 **Usage**
Expand Down Expand Up @@ -145,10 +153,8 @@ cd CabRental
### **Admin Dashboard:**

- Admins can manage all bookings, analyze platform usage, and verify blockchain transactions.

---
![](https://files.oaiusercontent.com/file-iMGfRqXcT2UQ2czdvFJESwZN?se=2024-10-05T14%3A42%3A46Z&sp=r&sv=2024-08-04&sr=b&rscc=max-age%3D604800%2C%20immutable%2C%20private&rscd=attachment%3B%20filename%3Dd9fbe6b9-67ec-4319-ae9f-e7f0ccef6f27.webp&sig=uYSddLInzeEpKTzu%2BMUDSZfsMueae9VhaUAT9O/AFQw%3D)

## 🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
Expand Down Expand Up @@ -185,6 +191,9 @@ Contributions are what make the open-source community such an amazing place to l
7. **Open a Pull Request**
Navigate to the original repository and open a pull request with a detailed description of your changes.

## Contributors 🤩
<img src="https://contrib.rocks/image?repo=07sumit1002/CabRental" />

## 📄 License

This project is licensed under the [MIT License](LICENSE).
Expand All @@ -197,3 +206,9 @@ For any inquiries or support, please contact:
- **GitHub:** [@07sumit1002](https://github.com/07sumit1002)

---

## ⭐ Star the Repo!

If you find this project useful and would like to support the project, please consider giving it a ⭐ star on GitHub! Your support helps us grow and improve. Thank you! 🙌

### Keep learning and exploring! 🚀
140 changes: 132 additions & 8 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,100 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="img/logo1.png" type="image/png">
<title>About Us - CabRental</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css"
/>


<nav class="navbar">
<div class="logo">
<img src="img/cabz.png.png" alt="Logo" class="navbar-logo" />
<a href="index.html" class="logo"><img src="img/logo.png" alt=""></a>
<a href="index.html"><img src="img/cabz.png.png" alt="Logo" class="navbar-logo" /></a>
</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#company-overview">Company Overview</a></li>
<li><a href="#mission-vision">Mission & Vision</a></li>
<li><a href="#values-principles">Values & Principles</a></li>
<li><a href="ride.html">Ride</a></li>
<li><a href="serv.html">Services</a></li>
<li><a href="#about.html">About</a></li>
<li><a href="review.html">Reviews</a></li>
<li><a href="contactus.html">Contact</a></li>
<li>
<div class="header-btn">
<a href="login.html" class="sign-up">Login</a>
</div>
</li>
<li>
<div class="theme-switch" id="theme-switch"></div>
</li>
</ul>
</nav>


<style>
.logo img {
height: 60px;
padding-right: 40px;
padding-left: 40px;
}
body {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
background-color: #eeeff1;
color: #333;
line-height: 1.6;
}
.circle {
height: 18px;
width: 18px;
border-radius: 24px;
background-color: #ff0000;
position: absolute;
top: 0;
left: 0;
z-index: 1000; /* Ensure the trail is above everything */
pointer-events: none; /* Prevent the circles from interfering with mouse events */
}


.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
background-color: #eeeff1;
padding: 20px;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
height: 50px;
}

.navbar ul li a:hover {
background-color: #8f6883;
transform: scale(1.1);
}

.header-btn .sign-up:hover {
background-color: red;
border-color: red;
}
.header-btn .sign-up {
padding: 10px 20px;
background-color: #007bff;
border-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
.navbar ul {
display: flex;
justify-content: space-around; /* Spacing between links */
list-style: none;
padding: 10px; /* Padding for the group of links */
background-color: #e6e4e4; /* Background color for the navbar */
background-color: #eeeff1; /* Background color for the navbar */
}

.navbar ul li {
Expand Down Expand Up @@ -223,6 +267,31 @@
</style>
</head>
<body>
<!-- 20 circle elements -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>


<!-- Hero Section -->
<section class="hero">
Expand Down Expand Up @@ -319,6 +388,7 @@ <h3 style="margin: 0;">CabRental</h3>
</div>
</div>
</footer>
harsh

<!-- Circles -->
<div class="circle"></div>
Expand Down Expand Up @@ -365,10 +435,30 @@ <h3 style="margin: 0;">CabRental</h3>

// animation function to move the circles:
function animateCircles() {

<script>
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");

// Assign initial positions to the circles
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});

window.addEventListener("mousemove", function (e) {
// Use pageX and pageY to account for scroll distance
coords.x = e.pageX;
coords.y = e.pageY;
});

function animateCircles() {
main
let x = coords.x;
let y = coords.y;

circles.forEach(function (circle, index) {
harsh


circle.style.left = x - 12 + "px";
Expand All @@ -390,4 +480,38 @@ <h3 style="margin: 0;">CabRental</h3>
</script>

</body>

circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;

circle.x = x;
circle.y = y;

const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});

requestAnimationFrame(animateCircles);
}

animateCircles();
</script>]
<script>
window.embeddedChatbotConfig = {
chatbotId: "2zn6LCEiOl1sZnaTGnPqp",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="2zn6LCEiOl1sZnaTGnPqp"
domain="www.chatbase.co"
defer>
</script>


</body>
main
</html>
Loading

0 comments on commit 7647ffa

Please sign in to comment.