diff --git a/public/keepsimple_/assets/globe-dark.png b/public/keepsimple_/assets/globe-dark.png index 2e9f84d..4c680b6 100644 Binary files a/public/keepsimple_/assets/globe-dark.png and b/public/keepsimple_/assets/globe-dark.png differ diff --git a/public/keepsimple_/assets/globe-light.png b/public/keepsimple_/assets/globe-light.png index 5a4c0b5..c574f1d 100644 Binary files a/public/keepsimple_/assets/globe-light.png and b/public/keepsimple_/assets/globe-light.png differ diff --git a/public/keepsimple_/assets/globe-light.svg b/public/keepsimple_/assets/globe-light.svg new file mode 100644 index 0000000..183e7de --- /dev/null +++ b/public/keepsimple_/assets/globe-light.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/public/keepsimple_/assets/globe.svg b/public/keepsimple_/assets/globe.svg new file mode 100644 index 0000000..9dd4731 --- /dev/null +++ b/public/keepsimple_/assets/globe.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/components/Header/Header.module.scss b/src/components/Header/Header.module.scss index 6201cc1..f928b18 100644 --- a/src/components/Header/Header.module.scss +++ b/src/components/Header/Header.module.scss @@ -56,6 +56,7 @@ align-items: flex-end; text-transform: uppercase; gap: 4px; + font-family: 'Sarabun-Regular', serif; } &.en a:nth-child(1) { diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 6e5ec76..956208b 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -120,8 +120,8 @@ const Header: FC = () => { { = ({ handleToggleSidebar, handleClick }) => { const { isDarkTheme, isOpenedSidebar } = useGlobals()[1]; const { accountData } = useContext(GlobalContext); - const { - about, - companyManagement, - articles, - contributorsTxt, - tools, - longevity, - } = navbar[locale]; + const { about, articles, contributorsTxt, tools, longevity } = navbar[locale]; const normalizePath = (p: string) => { const noQueryOrHash = p.split('?')[0].split('#')[0]; @@ -61,14 +53,6 @@ const Navbar: FC = ({ handleToggleSidebar, handleClick }) => { target: '_blank', id: 'uxcore', }, - { - name: companyManagement, - path: '/company-management', - logo: , - target: '', - id: 'companyManagement', - }, - { name: longevity, path: '/tools/longevity-protocol/about-project', diff --git a/src/hooks/useContentType.tsx b/src/hooks/useContentType.tsx index e3922bf..e8189f5 100644 --- a/src/hooks/useContentType.tsx +++ b/src/hooks/useContentType.tsx @@ -95,17 +95,7 @@ const useContentType = (styles: any, usePTag: boolean) => { li: (props: any) =>
  • {props.children}
  • , ul: (props: any) => , img: (props: any) => { - return ( - - ); + return ; }, download: ({ url, children }: any) => { const src = useMemo(