-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made the footer #55
base: dev
Are you sure you want to change the base?
Made the footer #55
Conversation
Update Images to Webp
Update Images to Webp
src/components/Footer.tsx
Outdated
<Border /> | ||
<div className="bg-hsa-gray-200">Footer</div> | ||
</> | ||
<div className="bg-hsa-gray-200 pb-6 pt-6"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pb-6 pt-6 --> py-6
src/components/Footer.tsx
Outdated
<div className="bg-hsa-gray-200">Footer</div> | ||
</> | ||
<div className="bg-hsa-gray-200 pb-6 pt-6"> | ||
<div className="sm:px-15 flex flex-row justify-between px-8"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to add flex-row, it's the default when declaring flex. make sure to remove the other flex-rows too
src/components/Footer.tsx
Outdated
import Instagram from "@/public/assets/insta.webp"; | ||
import Image2 from "@/public/assets/image2.webp"; | ||
import Linktree from "@/public/assets/Linktree.webp"; | ||
import Contact from "@/public/assets/contact.webp"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unless you're importing pictures, assets should be exported from Figma as SVG. But you shouldn't export the logos, get Instagram and Facebook from Lucide. For the Linktree logo use this link:
https://brandfetch.com/linktr.ee?view=library&library=default&collection=logos
… into daniyal/footer
src/components/Footer.tsx
Outdated
<Image src={Image2} alt="Image2" className="w-10 sm:w-14" /> | ||
</div> | ||
<div className="flex w-[50%] justify-end gap-3 pb-1 pt-3 font-semibold text-white"> | ||
<div className="pb-4 text-xl duration-300 hover:scale-110"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for hover effects on this
public/assets/Image2.svg
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a complex image like this shouldn't be an svg, look at the source code and you'll kinda see why
redownload this from the figma as a png and compress it with tinypng, then import that instead
keep the name of the image lowercase, also something more descriptive like footerImage.webp instead for code quality purposes :]
public/assets/Linktree.svg
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also lowercase name
src/components/Footer.tsx
Outdated
> | ||
<Facebook /> | ||
</Link> | ||
<Link href="linktr.ee/hsaucr" target="_blank" className="w-5"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try moving the image hover className stuff to the link here
I didn't add any link to the contact us logo and the starting icon as I don't know what to attach.