Skip to content

Commit

Permalink
Nav Path Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanks0465 committed Aug 28, 2024
1 parent 2821a39 commit 35f8a37
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/components/AreaTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
Box,
chakra,
Container,
Link,
Text,
HStack,
VStack,
Expand All @@ -21,6 +20,7 @@ import {
import { FaPaperclip, FaGithub, FaArrowDown } from "react-icons/fa";
import { useState } from "react";
import { imagePrefix } from "@/app/config";
import Link from "next/link";

interface Publication {
title: string;
Expand Down Expand Up @@ -173,7 +173,9 @@ const Card = ({
<chakra.h1
as={Link}
href={
type === "Model" ? `/areas/model/${area}/${title}` : website_link
type === "Model"
? `${imagePrefix}/areas/model/${area}/${title}`
: website_link
}
fontSize="1xl"
lineHeight={1.2}
Expand Down

0 comments on commit 35f8a37

Please sign in to comment.