Skip to content

Commit c1aaa61

Browse files
committed
Website improvements
1 parent 5283c43 commit c1aaa61

5 files changed

Lines changed: 705 additions & 19 deletions

File tree

components/Sidebar.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ export default function Sidebar () {
77
const [donor, setDonor] = useState('');
88
useEffect(() => {
99
fetch('/api/donor').then(res => res.text()).then(setDonor);
10-
if (!localStorage.getItem('hackoc-analytics')) {
11-
fetch('https://ip.yodacode.xyz').then(res => res.json()).then(({ geo }) => {
12-
splitbee.user.set({
13-
city: geo.city
14-
});
15-
localStorage.setItem('hackoc-analytics', true);
16-
});
17-
}
1810
}, []);
1911
return (
2012
<div className={styles.sponsors} style={{
@@ -24,7 +16,7 @@ export default function Sidebar () {
2416
<button className={styles.altButton} style={{
2517
background: 'rgba(var(--orange-3-values), 1)',
2618
position: 'relative',
27-
}}>Register
19+
}} disabled>Registration Closed
2820
<Icon glyph="external" style={{
2921
position: 'absolute',
3022
right: '1rem',

0 commit comments

Comments
 (0)