File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import  React ,  {  useState  }  from  'react' ; 
2- import  Heading  from  'components/UI/Heading/Heading ' ; 
2+ import  Link  from  'next/link ' ; 
33import  LanguageSwitcher  from  '../LanguageSwitcher/LanguageSwitcher' ; 
44import  bucketSVG  from  './bucket.svg' ; 
55import  IntlMessages  from  'library/helpers/i18n' ; 
66import  ThemeSwitcherStyle  from  './RightBar.style' ; 
77
88export  default  function  ThemeSwitcher ( {  language,  dispatch } )  { 
9+   const  url  =  '//luudanthanchet.gitbook.io/palace-tripfinder/' ; 
910  const  [ isActivated ,  setIsActivated ]  =  useState ( false ) ; 
1011  const  [ showNote ,  setShowNote ]  =  useState ( false ) ; 
1112  const  toggle  =  ( )  =>  { 
@@ -26,10 +27,9 @@ export default function ThemeSwitcher({ language, dispatch }) {
2627      < div  className = "purchaseBtnWrapper" > 
2728        { showNote  &&  ( 
2829        < > 
29-           < Heading  content = "*NOTE"  /> 
30-           < Heading  content = "+ Trang chủ không có fetch data hay dynamic content mà là demo getIntialProps "  /> 
31-           < Heading  content = "+ Code getStaticProps/getStaticPaths đã được commented trong index.js"  /> 
32-           < Heading  content = "+ Listing sử dụng getServerSideProps"  /> 
30+           < Link  href = { url } > 
31+             < a  target = "_blank"  rel = "noopener" > Dành 1 chút vài phút để đọc mọi điều cần biết về project</ a > 
32+           </ Link > 
3333        </ > 
3434        ) } 
3535        < a 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments