Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a review page #1200

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
224 changes: 224 additions & 0 deletions assets/css_files/testimonial.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
box-sizing: border-box;
padding: 0;
margin: 0;
}

body {
font-family: 'Playfair Display', serif;
max-width: 100vw;
display: flex;
flex-direction: column;
background-image: url(../images/bg3.png);
background-repeat: no repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
background-repeat: no repeat;
align-items: center;
justify-content: center;
}

.navbar {
width: 100vw;
position: fixed;
top: 0;
left: 0;
}
.cont {
width: 1000px;
border: 2px solid #ccc;
background-color: #eee;
border-radius: 5px;
padding: 16px;
margin: 16px 0;
}

/* Clear floats after containers */
.cont::after {
content: "";
clear: both;
display: table;
}

/* Float images inside the container to the left. Add a right margin, and style the image as a circle */
.cont img {
float: left;
margin-right: 50px;
border-radius: 50%;
}

/* Increase the font-size of a span element */
.cont span {
font-size: 20px;
margin-right: 15px;
}

section {
display: flex;
grid-template-columns: 1fr 1fr;
max-width: 80vw;
margin-top: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.container {
width: 80%;
margin: 0 auto;
background-color: #fff;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 50px;
margin-bottom: 40px;
}

h1, h2 {
text-align: center;
}

.form-group {
margin-bottom: 15px;
}

label {
display: block;
margin-bottom: 5px;
}

input, textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}

button {
display: block;
width: 100%;
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}

button:hover {
background-color: #0056b3;
}

#reviews {
margin-bottom: 30px;
}

.review {
width: 1000px;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
background-color:#eee;
box-sizing: border-box;
word-wrap: break-word;
overflow: hidden;
}

.review p {
margin: 5px 0;
}

.review-name {
font-weight: bold;
margin-bottom: 5px;
}

.review-text {
font-style: italic;
}

.credit {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 20vh;
width: 100%;
position: relative;
bottom: 0;
left: 0;
box-shadow: 0px -2.5px 6px rgb(30, 30, 30);
padding: 20px 50px;
}

.credit .social-icon {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.credit .social-icon li {
list-style: none;
}

.credit .social-icon li a {
font-size: 2em;
color: var(--secondary);
margin: 0 10px;
display: inline-block;
transition: 0.5s;
}

.credit-links {
transition: transform .2s;
}

.credit .social-icon li a:hover {
transform: translateY(-10px);
color: red;
}

.credit p {
color: var(--secondary);
text-align: center;
margin-top: 15px;
margin-bottom: 10px;
font-size: 1.1em;
display: inline-block;
}

.credit p a {
background-color: rgba(239, 230, 230, 0.551);
color: var(--secondary);
text-align: center;
margin-top: 15px;
margin-bottom: 10px;
font-size: 1.1em;
display: inline-block;
}

@media (max-width: 900px) {
section {
grid-template-columns: 1fr;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 0;
}

.image {
border-radius: 0;
display: flex;
flex-direction: column;
align-items: center;
}

.content {
border-radius: 0;
}
}
166 changes: 166 additions & 0 deletions assets/html_files/testimonial.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="../images/favicon.png" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="../css_files/testimonial.css" />
<link rel="stylesheet" type="text/css" href="../css_files/cursor.css" />
<script src="../../script.js"></script>
<script src="../js_files/commonnav.js"></script>
<script src="https://kit.fontawesome.com/b08b6de27e.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css">
<title>Beautiify | Testimonial</title>
</head>

<body>
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<div class="circle-container">
<div class="circle" style="background-color: #3A0088; left: 504px; top: 59px; scale: 1;"></div>
<div class="circle" style="background-color: rgb(253, 175, 105); left: 504px; top: 59px; scale: 0.95;"></div>
<div class="circle" style="background-color: rgb(248, 157, 99); left: 504px; top: 59px; scale: 0.9;"></div>
<div class="circle" style="background-color: rgb(245, 151, 97); left: 504px; top: 59px; scale: 0.85;"></div>
<div class="circle" style="background-color: rgb(239, 134, 94); left: 504px; top: 59px; scale: 0.8;"></div>
<div class="circle" style="background-color: rgb(236, 128, 93); left: 504px; top: 59px; scale: 0.75;"></div>
<div class="circle" style="background-color: rgb(227, 110, 92); left: 504px; top: 59px; scale: 0.7;"></div>
<div class="circle" style="background-color: rgb(223, 104, 92); left: 504px; top: 59px; scale: 0.65;"></div>
<div class="circle" style="background-color: rgb(213, 88, 92); left: 504px; top: 59px; scale: 0.6;"></div>
<div class="circle" style="background-color: rgb(209, 82, 92); left: 504px; top: 59px; scale: 0.55;"></div>
<div class="circle" style="background-color: rgb(197, 65, 93); left: 504px; top: 59px; scale: 0.5;"></div>
<div class="circle" style="background-color: rgb(192, 59, 93); left: 504px; top: 59px; scale: 0.45;"></div>
<div class="circle" style="background-color: rgb(178, 44, 94); left: 504px; top: 59px; scale: 0.4;"></div>
<div class="circle" style="background-color: rgb(172, 38, 94); left: 504px; top: 59px; scale: 0.35;"></div>
<div class="circle" style="background-color: rgb(156, 21, 95); left: 504px; top: 59px; scale: 0.3;"></div>
<div class="circle" style="background-color: rgb(149, 15, 95); left: 504px; top: 59px; scale: 0.25;"></div>
<div class="circle" style="background-color: rgb(131, 0, 96); left: 504px; top: 59px; scale: 0.2;"></div>
<div class="circle" style="background-color: rgb(124, 0, 96); left: 504px; top: 59px; scale: 0.15;"></div>
<div class="circle" style="background-color: rgb(104, 0, 96); left: 504px; top: 59px; scale: 0.1;"></div>
<div class="circle" style="background-color: rgb(96, 0, 95); left: 504px; top: 59px; scale: 0.05;"></div>
</div>
<header class="header2">
<nav class="navbar">
<a href="../../index.html">
<div class="flex-container">
<div class="flex-item-left"><img src="../images/logo.png" width="37px" height="37px"></div>
<div class="flex-item-right" class="logo">Beautiify</div>
</div>
</a>

<ul class="nav-menu">
<li class="nav-item">
<a href="../../index.html#home" class="nav-link"><i class="fa-solid fa-house"></i> Home</a>
</li>
<li class="nav-item">
<a href="./about.html" class="nav-link" ></a><i class="fa-solid fa-circle-info"></i> About</a>
</li>
<li class="nav-item">
<a href="../../index.html#components" class="nav-link"><i class="fa-solid fa-icons"></i> Components</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link" style="color: red;"><i class="fa-solid fa-quote-left"></i>Testimonials</a>
</li>
<li class="nav-item">
<a href="../html_files/contributor.html" class="nav-link"><i class="fa-solid fa-user"></i> Contributors</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link"><i class="fa-solid fa-phone"></i> Contact</a>
</li>
</ul>
<button id="dark-mode-toggle"></button>
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</nav>
</header>
<br />
<br />
<br />
<br />
<br />
<h1>Testimonials</h1>
<br />
<br />
<div id="new-reviews-container"></div>
<div class="cont">
<p><span>Chris Fox</span></p>
<p>This website is really very useful.Lorem ipsum dolor sit amet consectetur adipisicing elit. Eum blanditiis est non cum error quia modi eaque perferendis iure, rerum cumque quod, illum!!</p>
</div>

<div class="cont">
<p><span >Rebecca Flex</span></p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Provident, in. Minus, eligendi in! Atque voluptate impedit ad libero illum soluta molestiae totam aliquam quo iure, earum debitis !!</p>
</div>

<section>
<div class="container">

<h2>Leave a Review</h2>
<form id="reviewForm">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" required>
</div>
<div class="form-group">
<label for="review">Review:</label>
<textarea id="review" required></textarea>
</div>
<button type="submit">Submit</button>
</form>
</div>
<script src="../js_files/testimonial.js"></script>
</section>
<br><br>
<div class="credit">
<ul class="social-icon">
<li>
<a href="https://rakesh9100.bio.link/" target="_blank"><i class="fas fa-link"></i></a>
</li>
<li>
<a href="mailto:roshanrakesh7362@gmail.com" target="_blank"><i class="fas fa-envelope"></i></a>
</li>
<li>
<a href="https://www.linkedin.com/in/rakesh-roshan-9100/" target="_blank"><i class="fab fa-linkedin"></i></a>
</li>
<li>
<a href="https://github.com/Rakesh9100" target="_blank"><i class="fab fa-github"></i></a>
</li>
<li>
<a href="https://www.instagram.com/rakesh250602/" target="_blank"><i class="fab fa-instagram"></i></a>
</li>
<li>
<a href="https://www.facebook.com/rakesh6203/" target="_blank"><i class="fab fa-facebook"></i></a>
</li>
<li>
<a href="https://www.twitter.com/rakeshroshan73" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
</li>
<li>
<a href="https://discord.com/users/944144134950748170" target="_blank"><i class="fab fa-discord"></i></a>
</li>
</ul>
<p>
Created By
<a href="https://github.com/Rakesh9100" target="_blank">Rakesh Roshan ❤️</a> | ©
<script>
document.write(new Date().getFullYear());
</script>: All Rights Reserved
</p>
</div>

<script src="../js_files/dark-mode.js"></script>
<script src="../js_files/cursor.js"></script>
<!-- Scroll To Top Button -->
<div id="progress">
<span id="progress-value" class="bi bi-arrow-up-short"></span>
</div>
</body>

</html>
Loading