Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravgorane authored Apr 11, 2024
1 parent 924881a commit 0b9ec04
Show file tree
Hide file tree
Showing 11 changed files with 358 additions and 0 deletions.
1 change: 1 addition & 0 deletions Social_proof_section/images/bg-pattern-bottom-desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Social_proof_section/images/bg-pattern-bottom-mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Social_proof_section/images/bg-pattern-top-desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Social_proof_section/images/bg-pattern-top-mobile.svg
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 Social_proof_section/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Social_proof_section/images/icon-star.svg
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 Social_proof_section/images/image-anne.jpg
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 Social_proof_section/images/image-colton.jpg
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 Social_proof_section/images/image-irene.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
162 changes: 162 additions & 0 deletions Social_proof_section/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
<!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="style.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png" />

<title>Frontend Mentor | Social proof section</title>

</head>

<body>

<main>

<div class="container">

<div class="heading">

<div class="title">

<h1>10,000+ of our users love our products.</h1>

<p>We only provide great products combined with excellent customer service. See what our satisfied customers
are
saying about our services.</p>

</div>


<div class="star_review">

<div class="reviews">
<div class="stars">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
</div>
<p>Rated 5 Stars in Reviews</p>
</div>

<div class="reviews">
<div class="stars">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
</div>
<p>Rated 5 Stars in Report Guru</p>
</div>

<div class="reviews">
<div class="stars">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
<img src="./images/icon-star.svg" alt="">
</div>
<p>Rated 5 Stars in BestTech</p>
</div>

</div>

</div>

<div class="comments">

<div class="profile">

<div class="head">
<img src="./images/image-colton.jpg" alt="">
<div class="name">
<h3>Colton Smith</h3>
<p>Verified Buyer</p>
</div>
</div>

<p class="buyer_comments">" We needed the same printed design as the one we had ordered a week prior. Not only
did they find the
original order, but we also received it in time. Excellent!"</p>

</div>

<div class="profile">

<div class="head">
<img src="./images/image-irene.jpg" alt="">
<div class="name">
<h3>Irene Roberts</h3>
<p>Verified Buyer</p>
</div>
</div>

<p class="buyer_comments">" Customer service is always excellent and very quick turn around. Completely
delighted with the simplicity
of the purchase and the speed of delivery."</p>

</div>

<div class="profile">

<div class="head">
<img src="./images/image-anne.jpg" alt="">
<div class="name">
<h3>Anne Wallace</h3>
<p>Verified Buyer</p>
</div>
</div>

<p class="buyer_comments">" Put an order with this company and can only praise them for the very high
standard. Will definitely use
them again and recommend them to everyone!"</p>

</div>

</div>

</div>

</main>

<!-- 10,000+ of our users love our products.
We only provide great products combined with excellent customer service.
See what our satisfied customers are saying about our services.
Rated 5 Stars in Reviews
Rated 5 Stars in Report Guru
Rated 5 Stars in BestTech
Colton Smith
Verified Buyer
"We needed the same printed design as the one we had ordered a week prior.
Not only did they find the original order, but we also received it in time.
Excellent!"
Irene Roberts
Verified Buyer
"Customer service is always excellent and very quick turn around. Completely
delighted with the simplicity of the purchase and the speed of delivery."
Anne Wallace
Verified Buyer
"Put an order with this company and can only praise them for the very high
standard. Will definitely use them again and recommend them to everyone!" -->

<!-- <footer>
<div class="attribution">
<p>Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="https://github.com/gauravgorane">Gaurav Gorane</a>.</p>
</div>
</footer> -->

</body>

</html>
191 changes: 191 additions & 0 deletions Social_proof_section/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:[email protected]&display=swap');

:root {
--Very_Dark_Magenta: hsl(300, 43%, 22%);
--Soft_Pink: hsl(333, 80%, 67%);
--Dark_Grayish_Magenta: hsl(303, 10%, 53%);
--Light_Grayish_Magenta: hsl(300, 24%, 96%);
--White: hsl(0, 0%, 100%);

--fw_light: 400;
--fw_normal: 500;
--fw_bold: 700;
}

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

body{
min-height: 100vh;
font-size: 15px;
font-family: "League Spartan", sans-serif;
background-image: url(./images/bg-pattern-top-mobile.svg), url(./images/bg-pattern-bottom-mobile.svg);
background-repeat: no-repeat;
background-position: top left, bottom right;
}

.container{
padding: 5rem 1.5rem;
max-width: 30rem;
margin: 0 auto;
}

/* Title Section */

.title h1{
font-size: 2.3rem;
font-weight: var(--fw_bold);
color: var(--Very_Dark_Magenta);
text-align: center;
}

.title p{
margin-top: 1.2rem;
font-size: 1.1rem;
color: var(--Dark_Grayish_Magenta);
text-align: center;
line-height: 1.4;
}

/* Review section */

.star_review{
margin: 2.4rem 0;
text-align: center;
}

.reviews{
background-color: var(--Light_Grayish_Magenta);
padding: 1rem;
margin-top: 1rem;
border-radius: 0.5rem;
}

.reviews p{
font-size: 1rem;
font-weight: var(--fw_bold);
color: var(--Very_Dark_Magenta);
margin-top: 0.8rem;
}

/* Comment Section */

.comments{
margin: 3rem 0;
}

.profile{
background-color: var(--Very_Dark_Magenta);
border-radius: 0.5rem;
overflow: hidden;
padding: 2.5rem 2rem 1.8rem;
margin-top: 1rem;
}

.head{
display: flex;
align-items: center;
gap: 1.5rem;
}

.head img{
width: 2.5rem;
border-radius: 50%;
}

.name h3{
color: var(--White);
font-size: 1.1rem;
font-weight: var(--fw_bold);
}

.name p{
color: var(--Soft_Pink);
font-size: 1rem;
font-weight: var(--fw_light);
margin-top: 0.3rem;
}

.buyer_comments{
font-size: 1.02rem;
font-weight: var(--fw_normal);
color: var(--White);
line-height: 1.4rem;
margin-top: 1.7rem;
}

/* Footer section */

.attribution {
font-size: 11px;
text-align: center;
}

.attribution a {
color: hsl(228, 45%, 44%);
}

@media screen and (min-width: 900px){
body{
background-image: url(./images/bg-pattern-top-desktop.svg), url(./images/bg-pattern-bottom-desktop.svg);
}
.container{
max-width: 75rem;
padding: 7rem 2rem;
}
.heading{
display: grid;
grid-template-columns: 1fr 1fr;
}
.title{
margin-right: 6rem;
}
.title h1{
text-align: left;
font-size: 3.4rem;
}
.title p{
text-align: left;
margin-top: 1.8rem;
}
.star_review{
margin: 1rem 0 0;
}
.reviews{
display: flex;
align-items: center;
gap: 2.5rem;
padding: 1.2rem 2rem;
margin-top: 1rem;
width: 80%;
}
.reviews p{
margin-top: 0;
}
.star_review > div:nth-child(1){
transform: translateX(3%);
}
.star_review > div:nth-child(2){
transform: translateX(14%);
}
.star_review > div:nth-child(3){
transform: translateX(24%);
}
.comments{
margin: 1rem;
display: flex;
gap: 2.4rem;
}
.comments > div:nth-child(1){
transform: translateY(10%);
}
.comments > div:nth-child(2){
transform: translateY(18%);
}
.comments > div:nth-child(3){
transform: translateY(28%);
}
}

0 comments on commit 0b9ec04

Please sign in to comment.