Skip to content

Commit e8df974

Browse files
Update Footer
1 parent 7ba8614 commit e8df974

10 files changed

Lines changed: 29 additions & 714 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

2015-08-26-MacSim-Update/index.html

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html lang="en" data-bs-theme="dark">
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -11,70 +11,6 @@
1111
<link href="/css/bootstrap-icons.min.css" rel="stylesheet" />
1212
<link href="/css/ignite-core.css" rel="stylesheet" />
1313
<link href="https://www.macsim.app/2015-08-26-MacSim-Update" rel="canonical" />
14-
<script>(function() {
15-
function getThemeIDs() {
16-
const lightThemeID = getComputedStyle(document.documentElement)
17-
.getPropertyValue('--light-theme-ID')
18-
.trim();
19-
const darkThemeID = getComputedStyle(document.documentElement)
20-
.getPropertyValue('--dark-theme-ID')
21-
.trim();
22-
return { lightThemeID, darkThemeID };
23-
}
24-
25-
function getThemePreference() {
26-
const savedTheme = localStorage.getItem('current-theme');
27-
if (savedTheme) return savedTheme;
28-
29-
const { lightThemeID, darkThemeID } = getThemeIDs();
30-
// If both theme IDs are valid, use auto theme
31-
if (lightThemeID && darkThemeID) return 'auto';
32-
33-
return lightThemeID || darkThemeID;
34-
}
35-
36-
function applyTheme(themeID) {
37-
const { lightThemeID, darkThemeID } = getThemeIDs();
38-
const defaultLightTheme = lightThemeID || 'light';
39-
const defaultDarkTheme = darkThemeID || 'dark';
40-
41-
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
42-
const actualThemeID = themeID === 'auto' ? (prefersDark ? defaultDarkTheme : defaultLightTheme) : themeID;
43-
document.documentElement.setAttribute('data-ig-theme', actualThemeID);
44-
const isDarkTheme = actualThemeID.endsWith('dark');
45-
document.documentElement.setAttribute('data-bs-theme', isDarkTheme ? 'dark' : 'light');
46-
document.documentElement.setAttribute('data-ig-auto-theme-enabled', themeID === 'auto' ? 'true' : 'false');
47-
}
48-
49-
function applySyntaxTheme() {
50-
const syntaxTheme = getComputedStyle(document.documentElement)
51-
.getPropertyValue('--syntax-highlight-theme').trim().replace(/"/g, '');
52-
53-
if (!syntaxTheme) return;
54-
55-
document.querySelectorAll('link[data-highlight-theme]').forEach(link => {
56-
link.setAttribute('disabled', 'disabled');
57-
});
58-
59-
const themeLink = document.querySelector(`link[data-highlight-theme="${syntaxTheme}"]`);
60-
if (themeLink) {
61-
themeLink.removeAttribute('disabled');
62-
}
63-
}
64-
65-
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
66-
const currentTheme = getThemePreference();
67-
if (currentTheme === 'auto') {
68-
applyTheme('auto');
69-
applySyntaxTheme();
70-
}
71-
});
72-
73-
const savedTheme = getThemePreference();
74-
applyTheme(savedTheme);
75-
applySyntaxTheme();
76-
})();
77-
</script>
7814
<meta property="og:site_name" content="MacSim" />
7915
<meta property="og:title" content="New Update for MacSim" />
8016
<meta name="twitter:title" content="New Update for MacSim" />
@@ -160,7 +96,7 @@ <h6></h6>
16096
<p>© 2015 - <span id="currentYear"></span> Macsim.app &nbsp;&nbsp;| &nbsp;&nbsp;</p>
16197
<script>document.getElementById('currentYear').textContent = new Date().getFullYear();</script>
16298
<p>Created in Swift with <a href="https://github.com/twostraws/Ignite">Ignite</a></p>
163-
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/nscalemodeller/nscalemodeller-website">GitHub </a></p>
99+
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/fracturedsoftware/fracturedsoftware-website">GitHub </a></p>
164100
</div>
165101
</div>
166102
<script src="/js/bootstrap.bundle.min.js"></script>

2016-11-18-Rondo Discontinued/index.html

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html lang="en" data-bs-theme="dark">
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -11,70 +11,6 @@
1111
<link href="/css/bootstrap-icons.min.css" rel="stylesheet" />
1212
<link href="/css/ignite-core.css" rel="stylesheet" />
1313
<link href="https://www.macsim.app/2016-11-18-Rondo%20Discontinued" rel="canonical" />
14-
<script>(function() {
15-
function getThemeIDs() {
16-
const lightThemeID = getComputedStyle(document.documentElement)
17-
.getPropertyValue('--light-theme-ID')
18-
.trim();
19-
const darkThemeID = getComputedStyle(document.documentElement)
20-
.getPropertyValue('--dark-theme-ID')
21-
.trim();
22-
return { lightThemeID, darkThemeID };
23-
}
24-
25-
function getThemePreference() {
26-
const savedTheme = localStorage.getItem('current-theme');
27-
if (savedTheme) return savedTheme;
28-
29-
const { lightThemeID, darkThemeID } = getThemeIDs();
30-
// If both theme IDs are valid, use auto theme
31-
if (lightThemeID && darkThemeID) return 'auto';
32-
33-
return lightThemeID || darkThemeID;
34-
}
35-
36-
function applyTheme(themeID) {
37-
const { lightThemeID, darkThemeID } = getThemeIDs();
38-
const defaultLightTheme = lightThemeID || 'light';
39-
const defaultDarkTheme = darkThemeID || 'dark';
40-
41-
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
42-
const actualThemeID = themeID === 'auto' ? (prefersDark ? defaultDarkTheme : defaultLightTheme) : themeID;
43-
document.documentElement.setAttribute('data-ig-theme', actualThemeID);
44-
const isDarkTheme = actualThemeID.endsWith('dark');
45-
document.documentElement.setAttribute('data-bs-theme', isDarkTheme ? 'dark' : 'light');
46-
document.documentElement.setAttribute('data-ig-auto-theme-enabled', themeID === 'auto' ? 'true' : 'false');
47-
}
48-
49-
function applySyntaxTheme() {
50-
const syntaxTheme = getComputedStyle(document.documentElement)
51-
.getPropertyValue('--syntax-highlight-theme').trim().replace(/"/g, '');
52-
53-
if (!syntaxTheme) return;
54-
55-
document.querySelectorAll('link[data-highlight-theme]').forEach(link => {
56-
link.setAttribute('disabled', 'disabled');
57-
});
58-
59-
const themeLink = document.querySelector(`link[data-highlight-theme="${syntaxTheme}"]`);
60-
if (themeLink) {
61-
themeLink.removeAttribute('disabled');
62-
}
63-
}
64-
65-
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
66-
const currentTheme = getThemePreference();
67-
if (currentTheme === 'auto') {
68-
applyTheme('auto');
69-
applySyntaxTheme();
70-
}
71-
});
72-
73-
const savedTheme = getThemePreference();
74-
applyTheme(savedTheme);
75-
applySyntaxTheme();
76-
})();
77-
</script>
7814
<meta property="og:site_name" content="MacSim" />
7915
<meta property="og:title" content="Rondo Discontinued" />
8016
<meta name="twitter:title" content="Rondo Discontinued" />
@@ -158,7 +94,7 @@ <h6></h6>
15894
<p>© 2015 - <span id="currentYear"></span> Macsim.app &nbsp;&nbsp;| &nbsp;&nbsp;</p>
15995
<script>document.getElementById('currentYear').textContent = new Date().getFullYear();</script>
16096
<p>Created in Swift with <a href="https://github.com/twostraws/Ignite">Ignite</a></p>
161-
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/nscalemodeller/nscalemodeller-website">GitHub </a></p>
97+
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/fracturedsoftware/fracturedsoftware-website">GitHub </a></p>
16298
</div>
16399
</div>
164100
<script src="/js/bootstrap.bundle.min.js"></script>

2020-03-20-Free Rondo License/index.html

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html lang="en" data-bs-theme="dark">
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -11,70 +11,6 @@
1111
<link href="/css/bootstrap-icons.min.css" rel="stylesheet" />
1212
<link href="/css/ignite-core.css" rel="stylesheet" />
1313
<link href="https://www.macsim.app/2020-03-20-Free%20Rondo%20License" rel="canonical" />
14-
<script>(function() {
15-
function getThemeIDs() {
16-
const lightThemeID = getComputedStyle(document.documentElement)
17-
.getPropertyValue('--light-theme-ID')
18-
.trim();
19-
const darkThemeID = getComputedStyle(document.documentElement)
20-
.getPropertyValue('--dark-theme-ID')
21-
.trim();
22-
return { lightThemeID, darkThemeID };
23-
}
24-
25-
function getThemePreference() {
26-
const savedTheme = localStorage.getItem('current-theme');
27-
if (savedTheme) return savedTheme;
28-
29-
const { lightThemeID, darkThemeID } = getThemeIDs();
30-
// If both theme IDs are valid, use auto theme
31-
if (lightThemeID && darkThemeID) return 'auto';
32-
33-
return lightThemeID || darkThemeID;
34-
}
35-
36-
function applyTheme(themeID) {
37-
const { lightThemeID, darkThemeID } = getThemeIDs();
38-
const defaultLightTheme = lightThemeID || 'light';
39-
const defaultDarkTheme = darkThemeID || 'dark';
40-
41-
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
42-
const actualThemeID = themeID === 'auto' ? (prefersDark ? defaultDarkTheme : defaultLightTheme) : themeID;
43-
document.documentElement.setAttribute('data-ig-theme', actualThemeID);
44-
const isDarkTheme = actualThemeID.endsWith('dark');
45-
document.documentElement.setAttribute('data-bs-theme', isDarkTheme ? 'dark' : 'light');
46-
document.documentElement.setAttribute('data-ig-auto-theme-enabled', themeID === 'auto' ? 'true' : 'false');
47-
}
48-
49-
function applySyntaxTheme() {
50-
const syntaxTheme = getComputedStyle(document.documentElement)
51-
.getPropertyValue('--syntax-highlight-theme').trim().replace(/"/g, '');
52-
53-
if (!syntaxTheme) return;
54-
55-
document.querySelectorAll('link[data-highlight-theme]').forEach(link => {
56-
link.setAttribute('disabled', 'disabled');
57-
});
58-
59-
const themeLink = document.querySelector(`link[data-highlight-theme="${syntaxTheme}"]`);
60-
if (themeLink) {
61-
themeLink.removeAttribute('disabled');
62-
}
63-
}
64-
65-
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
66-
const currentTheme = getThemePreference();
67-
if (currentTheme === 'auto') {
68-
applyTheme('auto');
69-
applySyntaxTheme();
70-
}
71-
});
72-
73-
const savedTheme = getThemePreference();
74-
applyTheme(savedTheme);
75-
applySyntaxTheme();
76-
})();
77-
</script>
7814
<meta property="og:site_name" content="MacSim" />
7915
<meta property="og:title" content="Free Rondo Licence" />
8016
<meta name="twitter:title" content="Free Rondo Licence" />
@@ -157,7 +93,7 @@ <h6></h6>
15793
<p>© 2015 - <span id="currentYear"></span> Macsim.app &nbsp;&nbsp;| &nbsp;&nbsp;</p>
15894
<script>document.getElementById('currentYear').textContent = new Date().getFullYear();</script>
15995
<p>Created in Swift with <a href="https://github.com/twostraws/Ignite">Ignite</a></p>
160-
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/nscalemodeller/nscalemodeller-website">GitHub </a></p>
96+
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/fracturedsoftware/fracturedsoftware-website">GitHub </a></p>
16197
</div>
16298
</div>
16399
<script src="/js/bootstrap.bundle.min.js"></script>

blog/index.html

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en">
2+
<html lang="en" data-bs-theme="dark">
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -10,70 +10,6 @@
1010
<link href="/css/bootstrap-icons.min.css" rel="stylesheet" />
1111
<link href="/css/ignite-core.css" rel="stylesheet" />
1212
<link href="https://www.macsim.app/blog" rel="canonical" />
13-
<script>(function() {
14-
function getThemeIDs() {
15-
const lightThemeID = getComputedStyle(document.documentElement)
16-
.getPropertyValue('--light-theme-ID')
17-
.trim();
18-
const darkThemeID = getComputedStyle(document.documentElement)
19-
.getPropertyValue('--dark-theme-ID')
20-
.trim();
21-
return { lightThemeID, darkThemeID };
22-
}
23-
24-
function getThemePreference() {
25-
const savedTheme = localStorage.getItem('current-theme');
26-
if (savedTheme) return savedTheme;
27-
28-
const { lightThemeID, darkThemeID } = getThemeIDs();
29-
// If both theme IDs are valid, use auto theme
30-
if (lightThemeID && darkThemeID) return 'auto';
31-
32-
return lightThemeID || darkThemeID;
33-
}
34-
35-
function applyTheme(themeID) {
36-
const { lightThemeID, darkThemeID } = getThemeIDs();
37-
const defaultLightTheme = lightThemeID || 'light';
38-
const defaultDarkTheme = darkThemeID || 'dark';
39-
40-
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
41-
const actualThemeID = themeID === 'auto' ? (prefersDark ? defaultDarkTheme : defaultLightTheme) : themeID;
42-
document.documentElement.setAttribute('data-ig-theme', actualThemeID);
43-
const isDarkTheme = actualThemeID.endsWith('dark');
44-
document.documentElement.setAttribute('data-bs-theme', isDarkTheme ? 'dark' : 'light');
45-
document.documentElement.setAttribute('data-ig-auto-theme-enabled', themeID === 'auto' ? 'true' : 'false');
46-
}
47-
48-
function applySyntaxTheme() {
49-
const syntaxTheme = getComputedStyle(document.documentElement)
50-
.getPropertyValue('--syntax-highlight-theme').trim().replace(/"/g, '');
51-
52-
if (!syntaxTheme) return;
53-
54-
document.querySelectorAll('link[data-highlight-theme]').forEach(link => {
55-
link.setAttribute('disabled', 'disabled');
56-
});
57-
58-
const themeLink = document.querySelector(`link[data-highlight-theme="${syntaxTheme}"]`);
59-
if (themeLink) {
60-
themeLink.removeAttribute('disabled');
61-
}
62-
}
63-
64-
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
65-
const currentTheme = getThemePreference();
66-
if (currentTheme === 'auto') {
67-
applyTheme('auto');
68-
applySyntaxTheme();
69-
}
70-
});
71-
72-
const savedTheme = getThemePreference();
73-
applyTheme(savedTheme);
74-
applySyntaxTheme();
75-
})();
76-
</script>
7713
<meta property="og:site_name" content="MacSim" />
7814
<meta property="og:title" content="N Scale Modeller" />
7915
<meta name="twitter:title" content="N Scale Modeller" />
@@ -179,7 +115,7 @@
179115
<p>© 2015 - <span id="currentYear"></span> Macsim.app &nbsp;&nbsp;| &nbsp;&nbsp;</p>
180116
<script>document.getElementById('currentYear').textContent = new Date().getFullYear();</script>
181117
<p>Created in Swift with <a href="https://github.com/twostraws/Ignite">Ignite</a></p>
182-
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/nscalemodeller/nscalemodeller-website">GitHub </a></p>
118+
<p>&nbsp;&nbsp; | &nbsp;&nbsp; Source Code for this site is at <a href="https://github.com/fracturedsoftware/fracturedsoftware-website">GitHub </a></p>
183119
</div>
184120
</div>
185121
<script src="/js/bootstrap.bundle.min.js"></script>

0 commit comments

Comments
 (0)