fix: decrease the size of social icons

This commit is contained in:
Dorian Niemiec 2024-11-18 17:16:02 +01:00
parent b7c2266795
commit f2e2a4cd07
4 changed files with 22 additions and 21 deletions

View file

@ -186,7 +186,7 @@ const ContactUs = () => {
))}
</ul>
<Separator />
<ul className="flex justify-center my-6">
<ul className="flex justify-center space-x-1 my-6">
<Iconss />
</ul>
<Separator />

View file

@ -88,7 +88,7 @@ const HeroCards = () => {
</Card>
{/* Socials Second top right */}
<Card className="absolute right-[20px] top-4 w-80 flex flex-col justify-center items-center drop-shadow-xl shadow-black/10 dark:shadow-white/10">
<Card className="absolute right-[20px] top-5 w-80 flex flex-col justify-center items-center drop-shadow-xl shadow-black/10 dark:shadow-white/10">
<CardHeader className="flex justify-center items-center pb-2">
<CardTitle className="text-center">Socials</CardTitle>
<CardDescription className="font-medium text-primary"></CardDescription>

View file

@ -23,7 +23,8 @@ const buttonVariants = cva(
default: "h-10 px-4 py-2",
sm: "h-9 rounded-md px-3",
lg: "h-11 rounded-md px-8",
icon: "h-10 w-10"
icon: "h-10 w-10",
smicon: "h-8 w-8"
}
},
defaultVariants: {

View file

@ -25,13 +25,13 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">X icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
@ -48,14 +48,14 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">Mastodon icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
@ -73,14 +73,14 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">Bluesky icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 576 512"
fill="none"
xmlns="http://www.w3.org/2000/svg"
@ -98,14 +98,14 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">Odysee icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
@ -123,14 +123,14 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">Instagram icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 1000 1000"
fill="none"
xmlns="http://www.w3.org/2000/svg"
@ -148,14 +148,14 @@ const Iconss = () => {
rel="me"
className={buttonVariants({
variant: "ghost",
size: "icon"
size: "smicon"
})}
>
<span className="sr-only">Threads icon</span>
<svg
width="25"
height="25"
width="22"
height="22"
viewBox="0 0 878 1000"
fill="none"
xmlns="http://www.w3.org/2000/svg"