Skip to content

Commit

Permalink
Add content in expert baristas
Browse files Browse the repository at this point in the history
  • Loading branch information
mansi066 committed Jan 3, 2025
1 parent 1568f7a commit 4f69039
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 194 deletions.
190 changes: 0 additions & 190 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import Profile from './Pages/profile';
import Checkout from './Pages/checkOut';
import Testimonial from './Pages/Testimonial';
import PremiumBeans from './Pages/PremiumBeans';
import ExpertBaristas from './Pages/ExpertBaristas';



Expand Down Expand Up @@ -50,6 +51,8 @@ function App() {
<Route path="/profile" element={<Profile />} />
<Route path="/checkout" element={<Checkout />} />
<Route path="/premiumbeans" element={<PremiumBeans />} />
<Route path="/expertbaristas" element={<ExpertBaristas />} />


</Routes>
</ContentContainer>
Expand Down
102 changes: 102 additions & 0 deletions src/Pages/ExpertBaristas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import React from 'react'
import styled from 'styled-components';
import { motion } from 'framer-motion';
const ExpertContainer = styled.div`
padding: 6rem 2rem 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
background-color: #fffbeb;
box-shadow: 1px 1px 5px 6px #888888;
`;

const FeatureTitle = styled(motion.h1)`
font-size: 4rem;
margin-top: -4rem;
margin-bottom: 1rem;
color: ##78350f;
font-family: 'Playfair Display', serif;
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-content: space-around;
font-weight:bold;
`;
const ImageContent = styled(motion.div)`
display: flex
;
justify-content: flex-start;
align-items: center;
padding: 0rem;
flex-direction: column;
flex-wrap: wrap;
align-content: flex-start;
}
`;

const Image = styled(motion.img)`
width: 500px;
height: 500px
object-fit: cover;
border-radius: 10px;
margin-bottom: 1.5rem;
margin-left: 20rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
`;

const FeatureDescription = styled(motion.p)`
font-size: 1.5rem;
color: #6B4423;
line-height: 1.6;
font-family: 'Poppins', sans-serif;
display: flex;
margin: 0px;
margin-left: 60px;
margin-right: 50px;
`;

function ExpertBaristas() {
return (

<>
<div>
<ExpertContainer>
<FeatureTitle
initial={{ opacity: 0, y: -50 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
Expert Baristas
</FeatureTitle>
<ImageContent
initial={{ opacity: 0, x: 50 }}
animate={{ opacity: 1, x: 0 }}
transition={{ duration: 0.5, delay: 0.4 }}
>
<Image src="https://img.freepik.com/free-vector/people-making-different-coffee-methods_23-2148659306.jpg?t=st=1727760094~exp=1727763694~hmac=1308757b9658b2965de4fa54acb3d847813ef088426f2fb78a05d8cb0be1b993&w=826" alt="Expert Baristas" />
</ImageContent >
<FeatureDescription
initial={{ opacity: 0, x: -50 }}
animate={{ opacity: 1, x: 0 }}
transition={{ duration: 0.5, delay: 0.2 }}
>

Expert baristas excel in making coffee due to their comprehensive knowledge of coffee, practical brewing skills, and passion for the craft.practical brewing skills, and passion for the craft. They ensure optimal flavor extraction by meticulously controlling variables like grind size, water temperature, and brewing time. Their expertise allows them to create a perfect cup of coffee tailored to individual preferences, showcasing their attention to detail and dedication.Their skillset is honed through extensive training and practice. Expert baristas demonstrate exceptional precision in every step of the coffee-making process.A true expert barista has a passion for coffee that drives them to constantly improve and innovate. They experiment with new coffee blends, brewing methods, and flavor combinations to create unique and memorable coffee experiences.





</FeatureDescription>
<button type="button" class="btn btn-warning mx-20">Read More</button>
</ExpertContainer>
</div>
</>


)
}

export default ExpertBaristas
2 changes: 1 addition & 1 deletion src/Pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function Home() {
</FeatureCard>
<FeatureCard>
<FeatureIcon src="https://img.freepik.com/free-vector/people-making-different-coffee-methods_23-2148659306.jpg?t=st=1727760094~exp=1727763694~hmac=1308757b9658b2965de4fa54acb3d847813ef088426f2fb78a05d8cb0be1b993&w=826" alt="Expert Baristas" />
<FeatureTitle>Expert Baristas</FeatureTitle>
<Link to="/expertbaristas"><FeatureTitle>Expert Baristas</FeatureTitle></Link>
<FeatureDescription>Our skilled baristas craft each cup to perfection.</FeatureDescription>
</FeatureCard>
<FeatureCard>
Expand Down
Loading

0 comments on commit 4f69039

Please sign in to comment.