diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..c8867527 --- /dev/null +++ b/.env.example @@ -0,0 +1,6 @@ +# Supabase credentials (get these from your Supabase project dashboard) +NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co +NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key + +# Admin password for the /admin page +ADMIN_PASSWORD=choose-a-strong-password diff --git a/README.md b/README.md index 246c1c41..471a6b0e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ # Website -https://visamap.io +https://globereach.io # Contribute diff --git a/components/GithubLogo.tsx b/components/GithubLogo.tsx index f6095fae..4bbeede4 100644 --- a/components/GithubLogo.tsx +++ b/components/GithubLogo.tsx @@ -1,19 +1,35 @@ import Image from 'next/image' -import logo from '../public/github-mark-white.svg' +import Link from 'next/link' +import logo from '../public/globereach-logo.svg' -const GithubLogo:React.FC = () => { +const GlobeReachLogo:React.FC = () => { return (
) } -export default GithubLogo \ No newline at end of file +export default GlobeReachLogo \ No newline at end of file diff --git a/components/Header.tsx b/components/Header.tsx index 08567235..50bec39e 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -1,15 +1,15 @@ import { useMemo, useContext } from 'react' import { DimensionsContext } from '../logic/context/DimensionsContext' import { Stack, createTheme, ThemeProvider } from '@mui/material' -import GithubLogo from './GithubLogo' +import GlobeReachLogo from './GithubLogo' import Link from 'next/link' import { useRouter } from 'next/router' import LanguageSelect from './LanguageSelect' -const headerEN:string[] = ['map','table','rank','visa','blog','faq'] -const headerES:string[] = ['mapa','tabla','rango','visado','blog','faq'] -const headerPT:string[] = ['mapa','tabela','classe','visado','blog','faq'] -const headerFR:string[] = ['carte','tableau','rang','visa','blog','faq'] -const headerHR:string[] = ['karta','tablica','rang','viza','blog','faq'] +const headerEN:string[] = ['Map','Rank','The Elite','Blog','FAQ'] +const headerES:string[] = ['Mapa','Rango','La Élite','Blog','FAQ'] +const headerPT:string[] = ['Mapa','Classe','A Elite','Blog','FAQ'] +const headerFR:string[] = ['Carte','Rang','L\'Élite','Blog','FAQ'] +const headerHR:string[] = ['Karta','Rang','Elita','Blog','FAQ'] interface Props { language:string; setLanguage:Function; @@ -59,57 +59,47 @@ const Header:React.FC{'/' + languageCaculation[0] + '/'}
-{'/' + languageCaculation[1] + '/'}
-{'/' + languageCaculation[2] + '/'}
-{'/' + languageCaculation[3] + '/'}
-{'/' + languageCaculation[4] + '/'}
- {dimensions.width > 800 &&{'/' + languageCaculation[5] + '/'}
} +