Skip to content

Commit

Permalink
Merge pull request #340 from Ayush277/main
Browse files Browse the repository at this point in the history
in shop made the search button from rectangle shape to rounder corners add some margin form right  to deattch the search icon , also made changes in the search icon also.
  • Loading branch information
Mujtabaa07 authored Jan 18, 2025
2 parents d954372 + 5bd01a3 commit 097f5e5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/Pages/Shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,23 +650,26 @@ const SearchFilterContainer = styled.div`
const SearchInput = styled.input`
padding: 0.5rem;
font-size: 1rem;
border: 1px solid #ddd;
border-radius: 4px 0 0 4px;
border: 2px solid brown; /* Updated border width and color */
border-radius: 20px; /* Increased roundness */
outline: none;
width: 300px;
margin-right: 1rem; /* Added margin on the right */
&:focus {
border-color: #6b4f4f;
border-color: #6b4f4f; /* Focus state border color */
}
`;


const SearchButton = styled.button`
padding: 0.5rem 1rem;
font-size: 1rem;
font-weight: bold;
background: linear-gradient(145deg, #6b4f4f, #7d5858);
color: white;
border: none;
border-radius: 0 4px 4px 0;
border-radius: 15px 15px 15px 15px;
cursor: pointer;
transition: background 0.3s ease;
Expand Down Expand Up @@ -735,7 +738,7 @@ function Shop() {
initial={{ opacity: 0, y: -50 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, ease: "easeOut" }}
text-weight="extrabold"
text-weight="bold-800"
>
<DynamicText text="Welcome to MsCafe Shop" />
</Title>
Expand Down

0 comments on commit 097f5e5

Please sign in to comment.