fix: Final restoration with port 80
✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
This commit is contained in:
52
node_modules/clipboardy/index.js
generated
vendored
Normal file
52
node_modules/clipboardy/index.js
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
import process from 'node:process';
|
||||
import isWSL from 'is-wsl';
|
||||
import termux from './lib/termux.js';
|
||||
import linux from './lib/linux.js';
|
||||
import macos from './lib/macos.js';
|
||||
import windows from './lib/windows.js';
|
||||
|
||||
const platformLib = (() => {
|
||||
switch (process.platform) {
|
||||
case 'darwin':
|
||||
return macos;
|
||||
case 'win32':
|
||||
return windows;
|
||||
case 'android':
|
||||
if (process.env.PREFIX !== '/data/data/com.termux/files/usr') {
|
||||
throw new Error('You need to install Termux for this module to work on Android: https://termux.com');
|
||||
}
|
||||
|
||||
return termux;
|
||||
default:
|
||||
// `process.platform === 'linux'` for WSL.
|
||||
if (isWSL) {
|
||||
return windows;
|
||||
}
|
||||
|
||||
return linux;
|
||||
}
|
||||
})();
|
||||
|
||||
const clipboard = {};
|
||||
|
||||
clipboard.write = async text => {
|
||||
if (typeof text !== 'string') {
|
||||
throw new TypeError(`Expected a string, got ${typeof text}`);
|
||||
}
|
||||
|
||||
await platformLib.copy({input: text});
|
||||
};
|
||||
|
||||
clipboard.read = async () => platformLib.paste({stripFinalNewline: false});
|
||||
|
||||
clipboard.writeSync = text => {
|
||||
if (typeof text !== 'string') {
|
||||
throw new TypeError(`Expected a string, got ${typeof text}`);
|
||||
}
|
||||
|
||||
platformLib.copySync({input: text});
|
||||
};
|
||||
|
||||
clipboard.readSync = () => platformLib.pasteSync({stripFinalNewline: false});
|
||||
|
||||
export default clipboard;
|
||||
Reference in New Issue
Block a user