File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export default function HomePage() {
1717 Build and run microservices written in C++ with different HTTP implementations
1818 </ div >
1919 < div className = "flex gap-2 justify-center md:justify-start" >
20- < a className = "text-white font-bold bg-red-300 transition-colors py-2 px-4 rounded-[1.8rem] bg-gradient-to-r from-red-500 to-purple-500 dark:from-red-400 dark:to-purple-800 hover:bg-red-200" href = "./docs/intro/quick-start" > Quick Start</ a >
21- < a className = "bg-gray-300 fond-bold text-black hover:bg-gray-200 dark:bg-gray-800 transition-colors py-2 px-4 rounded-[1.8rem] dark:hover:bg-gray-700 dark:text-white" href = "./docs/intro/install" > Documentation</ a >
20+ < a className = "text-white font-medium bg-red-300 transition-colors py-2 px-4 rounded-[1.8rem] bg-gradient-to-r from-red-500 to-purple-500 dark:from-red-400 dark:to-purple-800 hover:bg-red-200" href = "./docs/intro/quick-start" > Quick Start</ a >
21+ < a className = "bg-gray-300 font-medium text-black hover:bg-gray-200 dark:bg-gray-800 transition-colors py-2 px-4 rounded-[1.8rem] dark:hover:bg-gray-700 dark:text-white" href = "./docs/intro/install" > Documentation</ a >
2222 </ div >
2323 </ div >
2424 < div className = "order-[-1] md:order-1 max-h-[350px] flex justify-center items-center" >
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ export const baseOptions: BaseLayoutProps = {
99 </ span >
1010 )
1111 } ,
12- githubUrl : "https://github.com/xiadnoring/manapi-http"
12+ githubUrl : "https://github.com/xiadnoring/manapi-http" ,
1313} ;
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import type { ReactNode } from 'react';
55import { useDocsSearch } from 'fumadocs-core/search/client' ;
66import { create } from '@orama/orama' ;
77import SearchDialog from '@/components/search' ;
8+ import icon from './favicon.ico' ;
9+
810
911const inter = Inter ( {
1012 subsets : [ 'latin' ] ,
@@ -13,7 +15,7 @@ const inter = Inter({
1315export default function Layout ( { children } : { children : ReactNode } ) {
1416 return (
1517 < html lang = "en" className = { inter . className } suppressHydrationWarning >
16- < link rel = "icon" href = "/favicon.ico" sizes = "any" />
18+ < link rel = "icon" href = { icon . src } sizes = "any" />
1719 < body className = "flex flex-col min-h-screen" >
1820 < RootProvider search = { { SearchDialog} } > { children } </ RootProvider >
1921 </ body >
Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ function initOrama(locale?: string) {
1313export default function DefaultSearchDialog ( props : SharedProps ) {
1414 const client = useDocsSearch ( {
1515 type : 'static' ,
16- initOrama
16+ initOrama,
17+ from : '/manapi-http/api/search'
1718 } ) ;
1819
20+
1921 return ( < SearchDialog
2022 onSearchChange = { client . setSearch }
2123 search = { client . search }
You can’t perform that action at this time.
0 commit comments