Restore Maore Mobile website from Wayback Machine archive
- Add original CSS styling (maore.css) with complete branding and responsive design - Restore all original SVG icons and images from website dump - Replace Google Fonts with locally hosted Varela Round font family - Download clean JavaScript files (jQuery, Bootstrap, maore.js, utils.js) - Implement Hugo multilingual setup with French/English support - Create responsive homepage template matching original design - Add comprehensive translation files for both languages - Configure local asset paths to eliminate external dependencies - Set up proper navigation structure with all original menu items 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
52
static/js/js.js
Normal file
52
static/js/js.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/* eslint-env browser */
|
||||
|
||||
;(function () {
|
||||
try {
|
||||
const onMessage = ({ data }) => {
|
||||
if (!data.wappalyzer || !data.wappalyzer.technologies) {
|
||||
return
|
||||
}
|
||||
|
||||
const { technologies } = data.wappalyzer
|
||||
|
||||
postMessage({
|
||||
wappalyzer: {
|
||||
js: technologies.reduce((technologies, { name, chains }) => {
|
||||
if (chains) {
|
||||
chains.forEach((chain, index) => {
|
||||
const value = chain
|
||||
.split('.')
|
||||
.reduce(
|
||||
(value, method) =>
|
||||
value &&
|
||||
value instanceof Object &&
|
||||
Object.prototype.hasOwnProperty.call(value, method)
|
||||
? value[method]
|
||||
: '__UNDEFINED__',
|
||||
window
|
||||
)
|
||||
|
||||
if (value !== '__UNDEFINED__') {
|
||||
technologies.push({
|
||||
name,
|
||||
chain,
|
||||
value:
|
||||
typeof value === 'string' || typeof value === 'number'
|
||||
? value
|
||||
: !!value,
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
return technologies
|
||||
}, []),
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
addEventListener('message', onMessage, { once: true })
|
||||
} catch (e) {
|
||||
// Fail quietly
|
||||
}
|
||||
})()
|
||||
Reference in New Issue
Block a user