@@ -11,11 +11,10 @@ import StandDetails from "./StandDetails";
11
11
import { UserTile } from "@/components/user/UserTile" ;
12
12
import { SessionTile } from "@/components/session" ;
13
13
import EventDayButton from "@/components/EventDayButton" ;
14
- import { Scan } from "lucide-react" ;
14
+ import { ExternalLinkIcon , Scan } from "lucide-react" ;
15
15
import Link from "next/link" ;
16
16
import BlankPageWithMessage from "@/components/BlankPageMessage" ;
17
17
import ConnectionTile from "@/components/user/ConnectionTile" ;
18
- import { LinkIcon } from "lucide-react" ;
19
18
20
19
interface CompanyParams {
21
20
id : string ;
@@ -54,7 +53,14 @@ export default async function Company({ params }: { params: CompanyParams }) {
54
53
return (
55
54
< div className = "container mx-auto" >
56
55
< 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 >
58
64
< Image
59
65
className = "w-40 h-40 object-contain"
60
66
width = { 150 }
@@ -67,13 +73,6 @@ export default async function Company({ params }: { params: CompanyParams }) {
67
73
Here Today
68
74
</ span >
69
75
) }
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
- ) }
77
76
</ div >
78
77
{ /* Members section */ }
79
78
{ user && isMember ( user . role ) && (
0 commit comments