feat: add new flamey logo and favicon

- Created `assets/logo.svg` with a new gradient flame design.
- Created `assets/favicon.svg` based on the logo.
- Updated `build.mjs` to copy `assets/` to `dist/` and adjust paths in `landing/index.html`.
- Updated `landing/index.html` to use the new logo and favicon.
- Updated `dashboard/index.html` to include the new logo and favicon.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-14 06:13:16 +00:00
1 parent 9891e9e632
commit f8331a3083
5 files changed
+79 -7

No files matched your search

+9
View File
@@ -11,6 +11,7 @@ const DASHBOARD_SRC = path.join(__dirname, 'dashboard');
const DOCS_SRC = path.join(__dirname, 'src', 'docs');
const PROMPTS_SRC = path.join(__dirname, 'src', 'prompts', 'META_PROMPTS.md');
const CONFIG_SRC = path.join(__dirname, 'torch-config.json');
const ASSETS_SRC = path.join(__dirname, 'assets');
// Ensure clean slate
if (fs.existsSync(DIST_DIR)) {
@@ -27,6 +28,7 @@ let distHtml = landingHtml;
distHtml = distHtml.replace(/"\.\.\/dashboard\/styles\.css"/g, '"dashboard/styles.css"');
distHtml = distHtml.replace(/"\.\.\/dashboard\/"/g, '"dashboard/"'); // Link to dashboard
distHtml = distHtml.replace(/'\.\.\/src\/docs\/TORCH\.md'/g, "'src/docs/TORCH.md'");
distHtml = distHtml.replace(/"\.\.\/assets\//g, '"assets/');
fs.writeFileSync(path.join(DIST_DIR, 'index.html'), distHtml);
@@ -52,4 +54,11 @@ if (fs.existsSync(CONFIG_SRC)) {
fs.copyFileSync(CONFIG_SRC, path.join(DIST_DIR, 'torch-config.json'));
}
// 6. Copy assets/ -> dist/assets/
const distAssets = path.join(DIST_DIR, 'assets');
if (fs.existsSync(ASSETS_SRC)) {
fs.mkdirSync(distAssets, { recursive: true });
fs.cpSync(ASSETS_SRC, distAssets, { recursive: true });
}
console.log('Build complete! Output directory: dist/');