Skip to content

Commit

Permalink
fix: fix dco-sticker
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchan32 committed Jun 2, 2024
1 parent c802fad commit 0c8b9df
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 52 deletions.
Binary file added src/app/assets/stickers/dco-sticker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 0 additions & 50 deletions src/app/assets/stickers/dco-sticker.svg

This file was deleted.

5 changes: 5 additions & 0 deletions src/app/components/Sticker/Sticker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
}
}

&.dco-sticker {
rotate: 35deg;
filter: drop-shadow(0px 2.319px 2.473px rgba(0, 0, 0, 0.15));
}

@media (min-width: 800px) {
scale: 0.7;
}
Expand Down
12 changes: 10 additions & 2 deletions src/app/pages/Landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import Sticker from '@/components/Sticker/Sticker';
import './Landing.scss';
import Fruits from '@/components/Fruits/Fruits';
import { PageRef } from '@/page';
import DcoSticker from '@/assets/stickers/dco-sticker.svg';
import Impact from '@/assets/stickers/impact.svg';
import CartIcon from '@/assets/icons/cart.svg';
import Signature from '@/components/Signature/Signature';
import { useRef } from 'react';
import DCOSticker from '@/assets/stickers/dco-sticker.png';
import Image from 'next/image';

type LandingProps = {
landingRef: PageRef;
Expand All @@ -19,7 +20,14 @@ export default function Landing({ landingRef }: LandingProps) {
<section ref={landingRef} id="landing">
<Sticker
name="dco"
image={<DcoSticker />}
image={
<Image
src={DCOSticker}
width="101"
height="125"
alt="Design Co Sticker"
/>
}
style={{ right: '50px', top: '15%' }}
hideMobile
/>
Expand Down

0 comments on commit 0c8b9df

Please sign in to comment.