Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
AurinoJunior committed Feb 22, 2024
1 parent 6017d18 commit c968a9d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aurino.dev",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Contact/ContactCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function ContactItem({ name, user, link }: IContactItemProps) {
<a
href={link}
target="_blank"
className="group/item relative flex cursor-pointer items-center gap-4 rounded-lg p-2 hover:bg-slate-900 md:p-4"
className="group/item relative flex cursor-pointer items-center gap-4 rounded-lg p-2 hover:bg-slate-100 dark:hover:bg-slate-900 md:p-4"
rel="noreferrer"
>
<div className="flex h-12 w-12 items-center justify-center rounded-md bg-black dark:bg-white">
Expand Down
10 changes: 6 additions & 4 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ export function Header() {
<ToggleTheme />

<DropdownMenu>
<DropdownMenuTrigger className="flex h-10 w-10 items-center justify-center rounded-md border">
<DropdownMenuTrigger className="flex h-10 w-10 items-center justify-center rounded-md border hover:brightness-75">
<Menu size={24} />
</DropdownMenuTrigger>

<DropdownMenuContent className="mr-4 lg:mr-6">
{menuData.items.map((m) => (
<DropdownMenuItem className="cursor-pointer" key={m.name}>
<a href={m.link}>{m.name}</a>
</DropdownMenuItem>
<a href={m.link} key={m.name}>
<DropdownMenuItem className="cursor-pointer">
{m.name}
</DropdownMenuItem>
</a>
))}
</DropdownMenuContent>
</DropdownMenu>
Expand Down
8 changes: 3 additions & 5 deletions src/components/Work/WorkCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ interface IWorkCardProps {
description: string
role: string
link: string
linkColor: string
}

export function WorkCard({
Expand All @@ -14,23 +13,22 @@ export function WorkCard({
description,
role,
workTime,
link,
linkColor
link
}: IWorkCardProps) {
return (
<div className="mt-4 p-2 md:p-6">
<div className="flex items-center gap-4">
<a
href={link}
target="_blank"
className={`cursor-pointer text-lg font-bold underline md:text-xl ${linkColor} hover:brightness-75`}
className={`cursor-pointer text-lg font-bold underline hover:brightness-75 md:text-xl`}
rel="noreferrer"
>
{title}
</a>

{tag && (
<div className="rounded-md bg-slate-500 px-2 py-0.5 text-sm font-bold text-white md:py-1">
<div className="rounded-md bg-slate-500 px-2 py-0.5 text-sm font-bold text-white md:py-1">
{tag}
</div>
)}
Expand Down
1 change: 0 additions & 1 deletion src/components/Work/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export function Work() {
role={companie.role}
workTime={companie.work_time}
link={companie.link}
linkColor={companie.link_color}
/>
))}
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/data/about.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "instagram",
"title": "Instagram de desenhos",
"link": ""
"link": "https://www.instagram.com/aurigod.art"
}
]
}
9 changes: 3 additions & 6 deletions src/data/work.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,23 @@
"tag": "atual",
"work_time": "out de 2023",
"role": "Frontend developer",
"link": "https://mblabs.com.br/",
"link_color": "text-pink-600"
"link": "https://mblabs.com.br/"
},
{
"name": "GetNinjas",
"description": "Atuando no time de growth criando e mantendo paginas web para aquisição de novos clientes.",
"tag": "",
"work_time": "nov de 2020 - mai de 2023",
"role": "Frontend developer",
"link": "https://www.getninjas.com.br/",
"link_color": "text-yellow-500"
"link": "https://www.getninjas.com.br/"
},
{
"name": "Catho",
"description": "Responsável pela área logada do candidato no perido de 2 anos e 10 meses.",
"tag": "",
"work_time": "fev de 2018 - dez de 2019",
"role": "Fullstack developer",
"link": "https://www.catho.com.br/",
"link_color": "text-sky-500"
"link": "https://www.catho.com.br/"
}
]
}

0 comments on commit c968a9d

Please sign in to comment.