@@ -11,11 +11,10 @@ import StandDetails from "./StandDetails";
1111import { UserTile } from "@/components/user/UserTile" ;
1212import { SessionTile } from "@/components/session" ;
1313import EventDayButton from "@/components/EventDayButton" ;
14- import { Scan } from "lucide-react" ;
14+ import { ExternalLinkIcon , Scan } from "lucide-react" ;
1515import Link from "next/link" ;
1616import BlankPageWithMessage from "@/components/BlankPageMessage" ;
1717import ConnectionTile from "@/components/user/ConnectionTile" ;
18- import { LinkIcon } from "lucide-react" ;
1918
2019interface CompanyParams {
2120 id : string ;
@@ -54,7 +53,14 @@ export default async function Company({ params }: { params: CompanyParams }) {
5453 return (
5554 < div className = "container mx-auto" >
5655 < div className = "flex flex-col items-center gap-y-3 p-4 text-center" >
57- < h2 className = "text-2xl font-bold" > { company . name } </ h2 >
56+ < div className = "flex justify-center gap-1.5" >
57+ < h2 className = "text-2xl font-bold" > { company . name } </ h2 >
58+ { company . site && (
59+ < Link href = { company . site } target = "blank" >
60+ < ExternalLinkIcon size = { 16 } className = "text-blue-600" />
61+ </ Link >
62+ ) }
63+ </ div >
5864 < Image
5965 className = "w-40 h-40 object-contain"
6066 width = { 150 }
@@ -67,13 +73,6 @@ export default async function Company({ params }: { params: CompanyParams }) {
6773 Here Today
6874 </ span >
6975 ) }
70- { company . site && (
71- < Link href = { company . site } target = "blank" >
72- < div className = "bg-sinfo-primary text-white font-bold p-2 rounded-full" >
73- < LinkIcon size = { 20 } />
74- </ div >
75- </ Link >
76- ) }
7776 </ div >
7877 { /* Members section */ }
7978 { user && isMember ( user . role ) && (
0 commit comments