fix(constants, Changelog): update marketplace URL to production and adjust iframe source

This commit is contained in:
alexsparkes
2026-01-23 23:37:28 +00:00
parent 775cae375f
commit 7c93e95200
2 changed files with 13 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ export const OPENSTREETMAP_URL = 'https://www.openstreetmap.org';
// Mue URLs // Mue URLs
export const WEBSITE_URL = 'https://muetab.com'; export const WEBSITE_URL = 'https://muetab.com';
export const MARKETPLACE_URL = 'http://localhost:3000/marketplace'; export const MARKETPLACE_URL = 'http://muetab.com/marketplace';
export const PRIVACY_URL = 'https://muetab.com/privacy'; export const PRIVACY_URL = 'https://muetab.com/privacy';
export const TRANSLATIONS_URL = 'https://muetab.com/docs/translations'; export const TRANSLATIONS_URL = 'https://muetab.com/docs/translations';
export const WEBLATE_URL = 'https://hosted.weblate.org/projects/mue/mue-tab/'; export const WEBLATE_URL = 'https://hosted.weblate.org/projects/mue/mue-tab/';

View File

@@ -4,7 +4,7 @@ import { MdOutlineWifiOff } from 'react-icons/md';
const Changelog = () => { const Changelog = () => {
const [isLoading, setIsLoading] = useState(true); const [isLoading, setIsLoading] = useState(true);
const offlineMode = localStorage.getItem('offlineMode') === 'true'; const offlineMode = localStorage.getItem('offlineMode') === 'true';
const isOffline = navigator.onLine === false || offlineMode; const isOffline = navigator.onLine === false || offlineMode;
@@ -30,19 +30,22 @@ const Changelog = () => {
return ( return (
<div style={{ position: 'relative', width: '100%', minHeight: '100vh' }}> <div style={{ position: 'relative', width: '100%', minHeight: '100vh' }}>
{isLoading && ( {isLoading && (
<div className="loaderHolder" style={{ <div
position: 'absolute', className="loaderHolder"
top: '50%', style={{
left: '50%', position: 'absolute',
transform: 'translate(-50%, -50%)', top: '50%',
zIndex: 10 left: '50%',
}}> transform: 'translate(-50%, -50%)',
zIndex: 10,
}}
>
<div id="loader"></div> <div id="loader"></div>
<span className="subtitle">{variables.getMessage('modals.main.loading')}</span> <span className="subtitle">{variables.getMessage('modals.main.loading')}</span>
</div> </div>
)} )}
<iframe <iframe
src="http://localhost:3000/blog/changelog?embed=true" src="http://muetab.com/blog/changelog?embed=true"
onLoad={handleLoad} onLoad={handleLoad}
scrolling="no" scrolling="no"
style={{ style={{