mirror of
https://github.com/mue/mue.git
synced 2026-06-05 23:45:53 +02:00
fix(constants, Changelog): update marketplace URL to production and adjust iframe source
This commit is contained in:
@@ -6,7 +6,7 @@ export const OPENSTREETMAP_URL = 'https://www.openstreetmap.org';
|
||||
|
||||
// Mue URLs
|
||||
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 TRANSLATIONS_URL = 'https://muetab.com/docs/translations';
|
||||
export const WEBLATE_URL = 'https://hosted.weblate.org/projects/mue/mue-tab/';
|
||||
|
||||
@@ -4,7 +4,7 @@ import { MdOutlineWifiOff } from 'react-icons/md';
|
||||
|
||||
const Changelog = () => {
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
|
||||
|
||||
const offlineMode = localStorage.getItem('offlineMode') === 'true';
|
||||
const isOffline = navigator.onLine === false || offlineMode;
|
||||
|
||||
@@ -30,19 +30,22 @@ const Changelog = () => {
|
||||
return (
|
||||
<div style={{ position: 'relative', width: '100%', minHeight: '100vh' }}>
|
||||
{isLoading && (
|
||||
<div className="loaderHolder" style={{
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
left: '50%',
|
||||
transform: 'translate(-50%, -50%)',
|
||||
zIndex: 10
|
||||
}}>
|
||||
<div
|
||||
className="loaderHolder"
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
left: '50%',
|
||||
transform: 'translate(-50%, -50%)',
|
||||
zIndex: 10,
|
||||
}}
|
||||
>
|
||||
<div id="loader"></div>
|
||||
<span className="subtitle">{variables.getMessage('modals.main.loading')}</span>
|
||||
</div>
|
||||
)}
|
||||
<iframe
|
||||
src="http://localhost:3000/blog/changelog?embed=true"
|
||||
src="http://muetab.com/blog/changelog?embed=true"
|
||||
onLoad={handleLoad}
|
||||
scrolling="no"
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user