From f8331a30831705a8fd0a910e24ef1af1b5ae0d94 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 14 Feb 2026 06:13:16 +0000 Subject: [PATCH 1/5] 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 <53631862+PR0M3TH3AN@users.noreply.github.com> --- assets/favicon.svg | 33 +++++++++++++++++++++++++++++++++ assets/logo.svg | 33 +++++++++++++++++++++++++++++++++ build.mjs | 9 +++++++++ dashboard/index.html | 2 ++ landing/index.html | 9 ++------- 5 files changed, 79 insertions(+), 7 deletions(-) create mode 100644 assets/favicon.svg create mode 100644 assets/logo.svg diff --git a/assets/favicon.svg b/assets/favicon.svg new file mode 100644 index 0000000..37c9e7f --- /dev/null +++ b/assets/favicon.svg @@ -0,0 +1,33 @@ + diff --git a/assets/logo.svg b/assets/logo.svg new file mode 100644 index 0000000..37c9e7f --- /dev/null +++ b/assets/logo.svg @@ -0,0 +1,33 @@ + diff --git a/build.mjs b/build.mjs index 17e1dad..9261b3a 100644 --- a/build.mjs +++ b/build.mjs @@ -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/'); diff --git a/dashboard/index.html b/dashboard/index.html index fcbe97b..077f6cd 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -5,6 +5,7 @@