diff --git a/src/info/components/project-block.js b/src/info/components/project-block.js index 57130d2..8532da4 100644 --- a/src/info/components/project-block.js +++ b/src/info/components/project-block.js @@ -9,6 +9,7 @@ export default function ProjectCardBlock({ title, cards }) { - - -
  • -
    - - {alt} - - {` ${title}`} -
    -
    {description}
    -
  • -
    - - - ); + if (Boolean(new_tab)) { + return ( +
    + + +
  • +
    + + {alt} + + {` ${title}`} +
    +
    {description}
    +
  • +
    + +
    + ); + } else { + return ( +
    + + +
  • +
    + + {alt} + + {` ${title}`} +
    +
    {description}
    +
  • +
    + +
    + ); + } } diff --git a/src/info/data/homepage/other.yml b/src/info/data/homepage/other.yml index c0b5792..0dff32e 100644 --- a/src/info/data/homepage/other.yml +++ b/src/info/data/homepage/other.yml @@ -4,8 +4,10 @@ Servers: url: "https://info.werefox.dev/servers" images: - { src: "/emoji/computer.svg", alt: "Computer emoji" } + new_tab: true "Support Us?": url: "https://info.werefox.dev/support" images: - { src: "/emoji/green_money.svg", alt: "Green money emoji" } + new_tab: true