import React from "react"; import { useAppStars } from "@site/src/hooks/useAppStars"; import { useAppRelease } from "@site/src/hooks/useAppRelease"; import { AiOutlineGithub, AiOutlineTwitter } from "react-icons/ai"; import { BiLogoDiscordAlt } from "react-icons/bi"; const socials = [ { icon: , href: "https://twitter.com/janframework", }, { icon: , href: "https://discord.com/invite/FTk2MvZwJH", }, { icon: , href: "https://github.com/janhq/jan", }, ]; export default function AnnoncementBanner() { const { stargazers } = useAppStars(); const { release } = useAppRelease(); return (
new

{release.tagVersion}  is now live on GitHub. Check it out!

{socials.map((social, i) => { return ( {social.icon} ); })}
); }