22import packageJson from "@/../package.json" ;
33import { Avatar , AvatarFallback , AvatarImage } from "@/components/ui/avatar" ;
44import { Button } from "@/components/ui/button" ;
5- import { Dialog , DialogContent , DialogFooter , DialogHeader , DialogTitle } from "@/components/ui/dialog" ;
5+ import {
6+ Dialog ,
7+ DialogContent ,
8+ DialogFooter ,
9+ DialogHeader ,
10+ DialogTitle ,
11+ } from "@/components/ui/dialog" ;
612import {
713 DropdownMenu ,
814 DropdownMenuContent ,
@@ -24,10 +30,24 @@ import {
2430 NavigationMenuList ,
2531 navigationMenuTriggerStyle ,
2632} from "@/components/ui/navigation-menu" ;
27- import { Tooltip , TooltipContent , TooltipTrigger } from "@/components/ui/tooltip" ;
33+ import {
34+ Tooltip ,
35+ TooltipContent ,
36+ TooltipTrigger ,
37+ } from "@/components/ui/tooltip" ;
2838import { cn } from "@/lib/utils" ;
2939import type { SessionSchema } from "@stardust/common/auth" ;
30- import { Book , ComputerIcon , Globe , Info , Key , LogOut , Monitor , Settings , SwatchBook } from "lucide-react" ;
40+ import {
41+ Book ,
42+ ComputerIcon ,
43+ Globe ,
44+ Info ,
45+ Key ,
46+ LogOut ,
47+ Monitor ,
48+ Settings ,
49+ SwatchBook ,
50+ } from "lucide-react" ;
3151import type { Route } from "next" ;
3252import { useTheme } from "next-themes" ;
3353import Link from "next/link" ;
@@ -67,14 +87,21 @@ export default function Navigation({
6787 < nav className = "flex h-16 min-w-full items-center justify-between px-4 border-b" >
6888 < div className = "flex items-center gap-2" >
6989 < StardustIcon className = "size-8" />
70- < span className = "text-2xl font-bold md:block hidden mr-2" > Stardust</ span >
90+ < span className = "text-2xl font-bold md:block hidden mr-2" >
91+ Stardust
92+ </ span >
7193 </ div >
7294 < div className = "flex justify-end gap-2" >
7395 < NavigationMenu >
7496 < NavigationMenuList >
7597 < NavigationMenuItem >
7698 < Link href = "/" legacyBehavior passHref >
77- < NavigationMenuLink className = { cn ( navigationMenuTriggerStyle ( ) , pathname === "/" && "bg-muted" ) } >
99+ < NavigationMenuLink
100+ className = { cn (
101+ navigationMenuTriggerStyle ( ) ,
102+ pathname === "/" && "bg-muted" ,
103+ ) }
104+ >
78105 < span className = "mr-2 flex size-4 items-center justify-center" >
79106 < ComputerIcon />
80107 </ span > { " " }
@@ -88,9 +115,15 @@ export default function Navigation({
88115 < NavigationMenuItem key = { item . href } >
89116 < Link href = { item . href } legacyBehavior passHref >
90117 < NavigationMenuLink
91- className = { cn ( navigationMenuTriggerStyle ( ) , pathname . startsWith ( item . href ) && "bg-muted" ) }
118+ className = { cn (
119+ navigationMenuTriggerStyle ( ) ,
120+ pathname . startsWith ( item . href ) && "bg-muted" ,
121+ ) }
92122 >
93- < span className = "mr-2 flex size-4 items-center justify-center" > { item . icon } </ span > { item . label }
123+ < span className = "mr-2 flex size-4 items-center justify-center" >
124+ { item . icon }
125+ </ span > { " " }
126+ { item . label }
94127 </ NavigationMenuLink >
95128 </ Link >
96129 </ NavigationMenuItem >
@@ -108,18 +141,20 @@ export default function Navigation({
108141 </ DialogTitle >
109142 </ DialogHeader >
110143 < div className = "flex flex-col items-start justify-start gap-2 text-foreground text-sm" >
111- Stardust is the platform for streaming isolated desktop containers.
144+ Stardust is the platform for streaming isolated desktop
145+ containers.
112146 < section >
113147 This version of Stardust is from commit{ " " }
114148 < a
115- href = { `https://github.com/spaceness /stardust/commit/${ process . env . GIT_COMMIT } ` }
149+ href = { `https://github.com/aetherra /stardust/commit/${ process . env . GIT_COMMIT } ` }
116150 className = "inline font-medium text-primary underline-offset-4 hover:underline"
117151 target = "_blank"
118152 rel = "noreferrer noopener"
119153 >
120154 { process . env . GIT_COMMIT ?. slice ( 0 , 7 ) }
121155 </ a >
122- , built on { new Date ( Number ( process . env . BUILD_DATE ) ) . toLocaleString ( ) }
156+ , built on{ " " }
157+ { new Date ( Number ( process . env . BUILD_DATE ) ) . toLocaleString ( ) }
123158 </ section >
124159 < section >
125160 Stardust is licensed under the{ " " }
@@ -131,13 +166,17 @@ export default function Navigation({
131166 >
132167 GNU Affero General Public License v3.0 (AGPL-3.0)
133168 </ a >
134- . Copyleft 2024 Spaceness .
169+ . Copyleft 2024 aetherra .
135170 </ section >
136171 < DialogFooter >
137172 < Tooltip >
138173 < TooltipTrigger asChild >
139174 < Button asChild variant = "outline" size = "icon" >
140- < a href = "https://github.com/spaceness/stardust" target = "_blank" rel = "noreferrer noopener" >
175+ < a
176+ href = "https://github.com/aetherra/stardust"
177+ target = "_blank"
178+ rel = "noreferrer noopener"
179+ >
141180 < GitHubIcon className = "size-5" />
142181 </ a >
143182 </ Button >
@@ -147,7 +186,11 @@ export default function Navigation({
147186 < Tooltip >
148187 < TooltipTrigger asChild >
149188 < Button variant = "outline" size = "icon" asChild >
150- < a href = "https://stardust.spaceness.team/docs" target = "_blank" rel = "noreferrer noopener" >
189+ < a
190+ href = "https://stardust.aetherra.team/docs"
191+ target = "_blank"
192+ rel = "noreferrer noopener"
193+ >
151194 < Book className = "size-5" />
152195 </ a >
153196 </ Button >
@@ -157,12 +200,16 @@ export default function Navigation({
157200 < Tooltip >
158201 < TooltipTrigger asChild >
159202 < Button variant = "outline" size = "icon" asChild >
160- < a href = "https://spaceness.team/" target = "_blank" rel = "noreferrer noopener" >
203+ < a
204+ href = "https://aetherra.team/"
205+ target = "_blank"
206+ rel = "noreferrer noopener"
207+ >
161208 < Globe className = "size-5" />
162209 </ a >
163210 </ Button >
164211 </ TooltipTrigger >
165- < TooltipContent > Spaceness </ TooltipContent >
212+ < TooltipContent > aetherra </ TooltipContent >
166213 </ Tooltip >
167214 </ DialogFooter >
168215 </ div >
@@ -171,8 +218,13 @@ export default function Navigation({
171218 < DropdownMenu >
172219 < DropdownMenuTrigger >
173220 < Avatar >
174- < AvatarImage src = { image || "" } alt = { name || email || "Profile Picture" } />
175- < AvatarFallback > { name ? name ?. charAt ( 0 ) + name ?. charAt ( 1 ) : email ?. charAt ( 0 ) } </ AvatarFallback >
221+ < AvatarImage
222+ src = { image || "" }
223+ alt = { name || email || "Profile Picture" }
224+ />
225+ < AvatarFallback >
226+ { name ? name ?. charAt ( 0 ) + name ?. charAt ( 1 ) : email ?. charAt ( 0 ) }
227+ </ AvatarFallback >
176228 </ Avatar >
177229 </ DropdownMenuTrigger >
178230 < DropdownMenuContent className = "mr-4 mt-4 w-48" >
@@ -185,7 +237,9 @@ export default function Navigation({
185237 </ span >
186238 ) : null }
187239 </ span >
188- < p className = "text-xs font-light text-muted-foreground" > { email } </ p >
240+ < p className = "text-xs font-light text-muted-foreground" >
241+ { email }
242+ </ p >
189243 </ DropdownMenuLabel >
190244 < DropdownMenuSeparator />
191245 < DropdownMenuSub >
@@ -195,7 +249,10 @@ export default function Navigation({
195249 </ DropdownMenuSubTrigger >
196250 < DropdownMenuPortal >
197251 < DropdownMenuSubContent >
198- < DropdownMenuRadioGroup value = { currentTheme } onValueChange = { setTheme } >
252+ < DropdownMenuRadioGroup
253+ value = { currentTheme }
254+ onValueChange = { setTheme }
255+ >
199256 { themes . map ( ( theme ) => (
200257 < DropdownMenuRadioItem key = { theme } value = { theme } >
201258 { theme . charAt ( 0 ) . toUpperCase ( ) + theme . slice ( 1 ) }
0 commit comments