Skip to content

Commit 4548d67

Browse files
authored
Merge pull request #5 from calimania/fix/nav
fixed nav bug & added default og:image
2 parents 672ccb8 + eec5d6c commit 4548d67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

public/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
<link rel="icon" href="https://markketplace.nyc3.digitaloceanspaces.com/uploads/883df60d4b4d9b0ad2bfd03fbc3016e4.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#2d67ff" />
8+
<meta name="og:image" content="https://markketplace.nyc3.digitaloceanspaces.com/uploads/844079101806be7f8d3460eedf22cca1.png" />
89
<meta
910
name="description"
10-
content="Landing page for a marketplace application"
11+
content="Landing page, powered by markkët"
1112
/>
1213
<link rel="apple-touch-icon" href="https://markketplace.nyc3.digitaloceanspaces.com/uploads/883df60d4b4d9b0ad2bfd03fbc3016e4.png" />
1314
<!--

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function App() {
2929
const [loading, setLoading] = useState(true);
3030

3131
useEffect(() => {
32-
const pathSegments = window?.location?.hash?.replace('#/', '')?.split('/') || [];
32+
const pathSegments = window?.location?.search?.replace('?', '')?.split('/') || [];
3333
const store_slug = pathSegments[0] || config.store_slug;
3434
const page_slug = pathSegments[1] || 'home';
3535

0 commit comments

Comments
 (0)