@@ -48,7 +48,7 @@ export function DocsNavbar() {
48
48
49
49
React . useEffect ( ( ) => {
50
50
const stars = fetch (
51
- "https://api.github.com/repos/creativetimofficial/material-tailwind"
51
+ "https://api.github.com/repos/creativetimofficial/material-tailwind" ,
52
52
)
53
53
. then ( ( response ) => response . json ( ) )
54
54
. then ( ( data ) => setStars ( formatNumber ( data . stargazers_count , 1 ) ) ) ;
@@ -86,6 +86,7 @@ export function DocsNavbar() {
86
86
const navbarMenu = (
87
87
< div className = "flex w-full flex-col justify-end lg:!ml-auto lg:flex-row" >
88
88
< List className = "px-0 lg:!flex-row" >
89
+ < NavItem href = "/docs/react/installation" > Docs</ NavItem >
89
90
< NavItem href = "/blocks" > Blocks</ NavItem >
90
91
< Menu placement = "bottom" offset = { - 2.5 } allowHover >
91
92
< MenuHandler >
@@ -94,25 +95,18 @@ export function DocsNavbar() {
94
95
</ span >
95
96
</ MenuHandler >
96
97
< MenuList className = "rounded-[10px] p-1.5" >
97
- < Link className = "!outline-none" href = "/docs/html/installation" >
98
- < MenuItem className = "flex items-center gap-2 rounded-lg !p-1 text-blue-gray-800 hover:text-primary" >
99
- < div className = "grid h-7 w-7 place-items-center rounded bg-orange-900/10" >
100
- < i className = "fab fa-html5 translate-y-px text-lg text-orange-900" />
101
- </ div >
102
- HTML
103
- </ MenuItem >
104
- </ Link >
105
- < Link className = "!outline-none" href = "/docs/react/installation" >
106
- < MenuItem className = "flex items-center gap-2 rounded-lg !p-1 text-blue-gray-800 hover:text-primary" >
107
- < div className = "grid h-7 w-7 place-items-center rounded bg-blue-500/10" >
108
- < i className = "fab fa-react text-lg text-blue-500" />
109
- </ div >
110
- React JS
98
+ < Link
99
+ target = "_blank"
100
+ className = "!outline-none"
101
+ href = "https://www.creative-tim.com/services/updivision?ref=material-tailwind"
102
+ >
103
+ < MenuItem className = "flex items-center gap-2 rounded-md text-blue-gray-800 hover:text-primary" >
104
+ Custom Development
111
105
</ MenuItem >
112
106
</ Link >
113
107
</ MenuList >
114
108
</ Menu >
115
- < NavItem href = "#" > PRO Version </ NavItem >
109
+ < NavItem href = "/figma" > Figma </ NavItem >
116
110
< NavItem href = "#" > Pricing & FAQ </ NavItem >
117
111
</ List >
118
112
< div className = "ml-2 flex items-center gap-2" >
@@ -134,13 +128,13 @@ export function DocsNavbar() {
134
128
href = "https://github.com/creativetimofficial/material-tailwind?ref=material-tailwind"
135
129
>
136
130
< Chip
137
- value = { stars }
131
+ value = { < span className = "-ml-1.5" > { stars } </ span > }
138
132
icon = {
139
133
< svg
140
134
xmlns = "http://www.w3.org/2000/svg"
141
135
viewBox = "0 0 20 20"
142
136
fill = "currentColor"
143
- className = "mt-[2.5px] ml-1 h-3.5 w-3.5"
137
+ className = "mt-[2.5px] ! ml-0 h-3.5 w-3.5"
144
138
>
145
139
< path
146
140
fillRule = "evenodd"
@@ -149,7 +143,7 @@ export function DocsNavbar() {
149
143
/>
150
144
</ svg >
151
145
}
152
- className = "flex-items-center gap-2 bg-primary py-[3px] pr-2 pl-5 text-xs"
146
+ className = "flex-items-center gap-2 bg-primary py-[3px] ! pr-2 text-xs"
153
147
/>
154
148
< i className = "fab fa-github text-xl leading-none" />
155
149
</ a >
0 commit comments