Skip to content

Commit

Permalink
update website content
Browse files Browse the repository at this point in the history
  • Loading branch information
sajadevo committed Jan 3, 2025
1 parent ddeb30c commit e65dadc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 26 deletions.
2 changes: 1 addition & 1 deletion app/components/experience.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Experience() {
role={role}
date={date}
description={description}
companyLogo={`/media/${companyLogo?.filename}`}
companyLogo={companyLogo}
companyWebsite={companyWebsite}
/>
)
Expand Down
8 changes: 4 additions & 4 deletions app/components/projects-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ const projects = [
description:
"LookIntoHex is a Hex analytics visualization tool for checking data like ROI, Liquidity, Shares, Adoption, Inflation and Social.",
url: "https://www.lookintohex.com/",
image: "/projects/lookintohext.png",
image: "/projects/lookintohex.png",
},
{
title: "Reach App",
description:
"Simplified, automated, permissionless protocol for quality engagement rewarding.",
url: "https://www.getreach.xyz/",
image: "/projects/reach.png",
image: "/projects/get-reach-app.png",
},
{
title: "Gerardo Portfolio",
Expand Down Expand Up @@ -70,9 +70,9 @@ export function ProjectsCarousel() {
return (
<section className="w-full">
<ScrollContainer className="flex gap-6 lg:gap-12 relative py-2 px-6 lg:px-12 overflow-x-auto no-scrollbar">
{projects.map(({ id, title, description, image, url }: any) => (
{projects.map(({ title, description, image, url }) => (
<ProjectFrame
key={id}
key={title}
img={image}
url={url}
title={title}
Expand Down
34 changes: 13 additions & 21 deletions components/project-frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ export function ProjectFrame({
description: string;
className?: string;
}) {
const isCompleted = status === "completed";

return (
<Link
href={url}
Expand All @@ -47,25 +45,19 @@ export function ProjectFrame({
<div className="absolute left-10 bottom-9 sm:left-12 md:left-14 sm:bottom-11 md:bottom-13 w-[calc(100%-80px)] opacity-0 translate-y-4 group-hover/project:translate-y-0 group-hover/project:opacity-100 transition-all duration-300 ease-in">
<h2 className="text-base md:text-xl font-medium text-white inline-flex items-center gap-2">
{title}
{isCompleted ? (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round"
className="size-4 md:size-6"
>
<path d="M7 7h10v10" />
<path d="M7 17 17 7" />
</svg>
) : (
<span className="bg-white rounded-full text-primary font-medium text-xs px-2 py-[3px]">
Soon
</span>
)}
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round"
className="size-4 md:size-6"
>
<path d="M7 7h10v10" />
<path d="M7 17 17 7" />
</svg>
</h2>
<p className="text-white/80 text-sm max-w-sm md:max-w-md md:text-base text-balance mt-2 sm:block hidden">
{description}
Expand Down

0 comments on commit e65dadc

Please sign in to comment.