added project links to gallery, changed project info for flowdesk

This commit is contained in:
Hunter W.
2026-07-22 15:10:45 -04:00
parent 18e7110358
commit 9840ecfcf2
6 changed files with 94 additions and 37 deletions

View File

@@ -148,6 +148,8 @@ export default function ProjectCard({ project, visible, selected = false, setSel
{contentRef.current && project.images && project.images.length > 0 && (
<SimpleGallery images={project.images} videos={project.videos} title={project.title} />
)}
<div v-if={project.link} style={{display: "flex", gap: 12, flexWrap: "wrap", marginTop: 16}}>
<Link
className="expand-on-hover-button"
style={{
@@ -163,6 +165,23 @@ export default function ProjectCard({ project, visible, selected = false, setSel
width: "10em",
borderRadius: "var(--radius-md)",
}} href={"/project/"+project.slug} >See More</Link>
<Link
className="expand-on-hover-button"
style={{
fontFamily: "var(--mono)",
fontSize: 15,
color: "var(--fg)",
border: `1px solid ${hovered ? "var(--accent)" : "var(--border)"}`,
backgroundColor: "var(--bg)",
height: "3em",
alignContent: "center",
alignItems: "center",
textAlign: "center",
width: "10em",
borderRadius: "var(--radius-md)",
}} target="_blank" href={project.link} >Link</Link>
</div>
</div>
);
}