Skip to content

Commit

Permalink
move images files in appropriate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoussand committed Jul 3, 2023
1 parent 2223fc6 commit c44434c
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 10 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 1 addition & 4 deletions src/components/ui/Buttons/AppLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ const AppLink: React.FC<IAppLink> = ({ text, link }) => {
}}
>
{text}
<Image
src={require("public/product_assets/images/white-arrow.svg")}
alt=""
/>
<Image src={require("public/icons/white-arrow.svg")} alt="" />
</Link>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const AddToCartButton: React.FC<IAddToCartButton> = ({
<Button aria-label="Add cart" style={styleButton} onClick={addToCart}>
Ajouter
<Image
src={require("public/product_assets/images/add.png")}
src={require("public/icons/add.png")}
width={addImageSize}
height={addImageSize}
alt=""
Expand Down
5 changes: 1 addition & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ const Home: NextPage = () => {
marginTop="5em"
>
<Stack direction="row" justifyContent="space-around" spacing="5em">
<Image
src={require("../../public/product_assets/images/apple-pie.jpeg")}
alt=""
/>
<Image src={require("../../public/images/apple-pie.jpeg")} alt="" />

<Box sx={{ display: "flex", alignItems: "center" }}>
<Paper sx={{ padding: "1em", border: "solid" }}>
Expand Down
2 changes: 1 addition & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ a {

.wds-img-element.wds-img-animation-0 {
display: block !important;
background-image: url("../public/product_assets/images/burger.png") !important;
background-image: url("/images/burger.png") !important;
animation: move 5s infinite !important;
}

Expand Down

0 comments on commit c44434c

Please sign in to comment.