File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed
Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
22import Link from "next/link" ;
3- import { Typography , Chip , IconButton } from "@material-tailwind/react" ;
3+ import {
4+ Typography ,
5+ Chip ,
6+ IconButton ,
7+ Card ,
8+ CardBody ,
9+ Button ,
10+ } from "@material-tailwind/react" ;
411import { useLockedBody } from "usehooks-ts" ;
512import { XMarkIcon } from "@heroicons/react/24/outline" ;
613
@@ -61,7 +68,7 @@ export function Sidenav({
6168 </ IconButton >
6269 ) }
6370 < div className = "fixed top-0 z-[9999] h-screen w-80 overflow-y-scroll !bg-white pb-6 pl-6 lg:relative lg:w-56 lg:bg-transparent lg:pl-0 lg:pt-0" >
64- < div className = "mb-10 mt-6" >
71+ < div className = "mb-24 mt-6" >
6572 { routes . map ( ( { name, pages } , key ) : any => (
6673 < div key = { key } >
6774 < Typography
@@ -116,6 +123,29 @@ export function Sidenav({
116123 </ ul >
117124 </ div >
118125 ) ) }
126+ < Card color = "gray" >
127+ < CardBody className = "px-4 py-2.5" >
128+ < Typography variant = "h6" className = "mb-1" >
129+ Material Tailwind v3
130+ </ Typography >
131+ < Typography variant = "small" color = "white" className = "font-normal" >
132+ We've just released the new version of Material Tailwind
133+ with a lot of new features and improvements. It's currently
134+ on < span className = "font-semibold text-yellow-600" > beta</ span > { " " }
135+ and we need your feedback to make it better.
136+ </ Typography >
137+ < Link href = "/docs/v3/react/installation" >
138+ < Button
139+ size = "sm"
140+ color = "white"
141+ className = "mb-1.5 mt-4 normal-case"
142+ fullWidth
143+ >
144+ Go to v3 Docs
145+ </ Button >
146+ </ Link >
147+ </ CardBody >
148+ </ Card >
119149 </ div >
120150 </ div >
121151 </ aside >
You can’t perform that action at this time.
0 commit comments