File tree Expand file tree Collapse file tree
src/widgets/auth-navigation/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import {
2+ RovingFocusGroup ,
3+ RovingFocusGroupItem
4+ } from '@radix-ui/react-roving-focus'
15import { Link } from '@tanstack/react-router'
26
37export const AuthNavigation = ( ) => (
4- < ul className = 'mb-10 flex items-center gap-3.5 text-xl' >
5- < li >
8+ < RovingFocusGroup className = 'mb-10 flex items-center gap-3.5 text-xl' >
9+ < RovingFocusGroupItem asChild >
610 < Link
711 to = '/auth/signup'
812 className = 'focus-visible:styled-outline text-white/30
913 aria-[current=page]:text-white' >
1014 Registration
1115 </ Link >
12- </ li >
13- < li >
16+ </ RovingFocusGroupItem >
17+ < RovingFocusGroupItem asChild >
1418 < Link
1519 to = '/auth/signin'
1620 className = 'focus-visible:styled-outline text-white/30
1721 aria-[current=page]:text-white' >
1822 Log In
1923 </ Link >
20- </ li >
21- </ ul >
24+ </ RovingFocusGroupItem >
25+ </ RovingFocusGroup >
2226)
You can’t perform that action at this time.
0 commit comments