Skip to content

Commit 7a0ac96

Browse files
committed
Note for Rightbar modified
1 parent f86ab1e commit 7a0ac96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

container/Layout/RightBar.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import React, { useState } from 'react';
2-
import Heading from 'components/UI/Heading/Heading';
2+
import Link from 'next/link';
33
import LanguageSwitcher from '../LanguageSwitcher/LanguageSwitcher';
44
import bucketSVG from './bucket.svg';
55
import IntlMessages from 'library/helpers/i18n';
66
import ThemeSwitcherStyle from './RightBar.style';
77

88
export 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

0 commit comments

Comments
 (0)