File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,13 @@ const Navbar: React.FC = () => {
126126 } }
127127 />
128128 </ div >
129+ < Link
130+ to = "/"
131+ className = "block px-3 py-2 rounded-md text-base font-medium text-foreground hover:bg-muted hover:text-primary transition-colors"
132+ onClick = { ( ) => setIsOpen ( false ) }
133+ >
134+ { "Home" }
135+ </ Link >
129136 < Link
130137 to = "/services"
131138 className = "block px-3 py-2 rounded-md text-base font-medium text-foreground hover:bg-muted hover:text-primary transition-colors"
@@ -156,16 +163,7 @@ const Navbar: React.FC = () => {
156163 < div className = "pt-2 space-y-2" >
157164 < LanguageSelector />
158165 { user ? (
159- < Button
160- variant = "outline"
161- className = "w-full"
162- onClick = { ( ) => {
163- signOut ( ) ;
164- setIsOpen ( false ) ;
165- } }
166- >
167- { t ( 'common.signOut' ) }
168- </ Button >
166+ < UserProfileMenu />
169167 ) : (
170168 < >
171169 < Button
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ interface ReviewFormProps {
88const ReviewForm : React . FC < ReviewFormProps > = ( { onClose } ) => {
99 const [ reviewName , setReviewName ] = useState ( '' ) ;
1010 const [ reviewText , setReviewText ] = useState ( '' ) ;
11- const [ reviewStars , setReviewStars ] = useState ( 5 ) ;
11+ const [ reviewStars , setReviewStars ] = useState ( 0 ) ;
1212
1313 const handleSubmitReview = async ( ) => {
1414 if ( ! reviewName || ! reviewText ) {
You can’t perform that action at this time.
0 commit comments