Skip to content

Commit

Permalink
Merge pull request #1202 from aditya-bhaumik/test2
Browse files Browse the repository at this point in the history
added  code of conduct page
  • Loading branch information
sanjay-kv committed Aug 28, 2024
2 parents c066a28 + 9d8cdc7 commit 1ea731c
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 0 deletions.
Binary file added Website/assets/Images/user1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Website/assets/Images/user2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Website/assets/Images/user3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions Website/conduct.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Code of Conduct</title>
</head>
<body>
<div class="code-of-conduct">
<h1>Code of Conduct</h1>
<div class="rule">
<span class="rule-number">1</span>
<p>Ensure that any data used in machine learning projects is obtained, shared, and used in accordance with ethical guidelines, respecting privacy and avoiding biases that could harm individuals or groups.</p>
</div>
<div class="rule">
<span class="rule-number">2</span>
<p>We encourage respectful dialogue and an inclusive environment for all contributors and users, regardless of their experience level, background, or identity. Harassment or exclusionary behavior will not be tolerated.</p>
</div>
<div class="rule">
<span class="rule-number">3</span>
<p>Contributions should adhere to the project's established coding standards, documentation practices, and ethical guidelines. Pull requests should be clear, well-documented, and properly tested.</p>
</div>
<div class="rule">
<span class="rule-number">4</span>
<p>Every channel in this server is created for a specific purpose. Make sure you convey the message in the right channel. Always keep within the designated topic of every channel.</p>
</div>
<div class="rule">
<span class="rule-number">5</span>
<p>We value collaboration and mutual support. Help others by providing constructive feedback, answering questions, and sharing resources. Collaboration should be done in a spirit of learning and improvement.</p>
</div>
<div class="rule">
<span class="rule-number">6</span>
<p>Always give proper credit to the original authors of code, data, or other contributions. Respect the licenses of any third-party software or datasets used in your projects.</p>
</div>

<!-- Back Button -->
<div class="back-button">
<a href="index.html">← Back to Main Page</a>
</div>
</div>
</body>
</html>
30 changes: 30 additions & 0 deletions Website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,30 @@ <h3>Recommendation Models</h3>
</section>



<section id="testimonials" class="testimonial-section">
<h2>Testimonials</h2>
<h3>Here's what our users are saying about their experince with Recodehive</h3>
<div class="testimonials-container">
<div class="testimonial">
<img src="assets/Images/user1.png" alt="Alex Johnson">
<p>"RecodeHive has been a game-changer for my projects. The curated repositories are top-notch, and the community support is unparalleled!"</p>
<h3>Alex Johnson</h3>
</div>
<div class="testimonial">
<img src="assets/Images/user2.png" alt="Maria Garcia">
<p>"I found exactly what I needed to advance my ML models. The resources provided by RecodeHive are simply the best."</p>
<h3>Maria Garcia</h3>
</div>
<div class="testimonial">
<img src="assets/Images/user3.png" alt="John Doe">
<p>"A fantastic platform for anyone serious about machine learning. The repositories are well-organized and easy to navigate."</p>
<h3>John Doe</h3>
</div>
</div>
</section>


<!-- GitHub Repositories Section -->
<section class="github-section">
<h2>Here are some of our active GitHub repositories</h2>
Expand Down Expand Up @@ -238,6 +262,7 @@ <h2>Here are some of our active GitHub repositories</h2>
</script>



</main>

<!-- Chatbot Button -->
Expand Down Expand Up @@ -311,8 +336,13 @@ <h2>Here are some of our active GitHub repositories</h2>

<footer class="footer">
<div>&copy; <span id="year"></span> Machine Learning Repos - <a href="https://github.com/recodehive" id="footer-link">RecodeHive</a>. All rights reserved.</div>
<div class="code-of-conduct-button">
<a href="conduct.html">View Code of Conduct</a>
</div>
</footer>



<script>
const year = new Date().getFullYear();
document.getElementById("year").textContent = year;
Expand Down
156 changes: 156 additions & 0 deletions Website/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,161 @@ body.dark-mode {
}


.testimonial-section {
background-color: #111151;
padding: 60px 20px;
text-align: center;
color: #fff;
}

.testimonial-section h2 {
font-size: 2.5em;
margin-bottom: 50px;
}

.testimonials-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}

.testimonial {
max-width: 350px;
margin: 20px;
background-color: #111151;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
text-align: center;
}

.testimonial img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 20px;
}

.testimonial p {
font-size: 1.3em;
line-height: 1.6;
margin-bottom: 25px;
}

.testimonial h3 {
font-size: 1.2em;
font-weight: bold;
color: #ffd700;
}

/* Light Mode for Testimonial Section */
.dark-mode .testimonial-section {
background-color: #f9f9f9;
color: #333;
}

.dark-mode .testimonial-section h2 {
color: #111;
}

.dark-mode .testimonial {
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dark-mode .testimonial p {
color: #555;
}

.dark-mode .testimonial h3 {
color: #555;
}

.light-mode .testimonial img {
border: 2px solid #ddd;
}

body {
font-family: Arial, sans-serif;
background-color: #0a0266;
color: #333;
}

.code-of-conduct {
margin: 20px;
padding: 40px;
background-color: #01043b;
border: 2px solid #6ae6fc;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
text-align: center;
color: #4866ee;
text-transform: uppercase;
}

.rule {
margin: 10px 0;
padding: 30px;
background-color: #0915c3;
border-radius: 8px;
border-left: 8px solid #fa6508;
position: relative;
}

.rule-number {
font-size: 24px;
font-weight: bold;
color: #03f4fd;
position: absolute;
top: 10px;
left: -30px;
background-color: #0366d6;
border-radius: 50%;
padding: 5px 10px;
}

.back-button {
margin-top: 20px;
text-align: center;
}

.back-button a {
display: inline-block;
padding: 10px 20px;
background-color: #0b07f3;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}

.back-button a:hover {
background-color: #05c6fc;
}

.code-of-conduct-button {
text-align: center;
margin-top: 20px;
}

.code-of-conduct-button a {
display: inline-block;
padding: 10px 20px;
background-color: #2505f5;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}

.code-of-conduct-button a:hover {
background-color: #0acbf7;
}
=======

/* Section Styles */
.github-section {
background-color: #050066;
Expand Down Expand Up @@ -1238,3 +1393,4 @@ body.dark-mode {
background-color: #8397fa;
}


0 comments on commit 1ea731c

Please sign in to comment.