From e44c12c444195ba40ddf70a4e93ef59f46e74f02 Mon Sep 17 00:00:00 2001 From: CubeStar1 <143164352+CubeStar1@users.noreply.github.com> Date: Tue, 3 Mar 2026 23:00:12 +0530 Subject: [PATCH] chore: landing page --- .gitignore | 7 ++----- .lintstagedrc.js | 16 ++++++++++++++++ .../src/components/revamp/hover-highlights.tsx | 2 +- package.json | 12 ------------ 4 files changed, 19 insertions(+), 18 deletions(-) create mode 100644 .lintstagedrc.js diff --git a/.gitignore b/.gitignore index ecd952a..7d3ba30 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ -.env +.env* +!.env.example .venv -*.pyc -db -__pycache__ -.env.local node_modules \ No newline at end of file diff --git a/.lintstagedrc.js b/.lintstagedrc.js new file mode 100644 index 0000000..1676a83 --- /dev/null +++ b/.lintstagedrc.js @@ -0,0 +1,16 @@ +module.exports = { + ".env*": () => [ + 'echo "Error: Environment variable files (.env*) cannot be committed."', + "exit 1", + ], + "{frontend,nextjs-backend}/**/*.{js,jsx,ts,tsx}": () => [ + "pnpm run build:staged", + ], + "frontend/**/*.{js,jsx,ts,tsx}": [ + "pnpm --dir frontend run next:lint", + "pnpm --dir frontend run format", + ], + "nextjs-backend/**/*.{js,jsx,ts,tsx}": [ + "pnpm --dir nextjs-backend run format", + ], +}; diff --git a/nextjs-backend/src/components/revamp/hover-highlights.tsx b/nextjs-backend/src/components/revamp/hover-highlights.tsx index 9cf7224..407ddea 100644 --- a/nextjs-backend/src/components/revamp/hover-highlights.tsx +++ b/nextjs-backend/src/components/revamp/hover-highlights.tsx @@ -73,7 +73,7 @@ const highlights: Highlight[] = [ }, { text: 'System Tray', - description: 'Lives quietly in your system tray. Always accessible, never in the way.', + description: 'Lives quietly in your system tray. Always accessible, never gets in the way.', image: '/landing/tabby-interview-copilot.png', }, ] diff --git a/package.json b/package.json index 53e6321..5f31c9c 100644 --- a/package.json +++ b/package.json @@ -10,17 +10,5 @@ "devDependencies": { "husky": "^9.1.7", "lint-staged": "^15.4.3" - }, - "lint-staged": { - "{frontend,nextjs-backend}/**/*.{js,jsx,ts,tsx}": [ - "pnpm run build:staged" - ], - "frontend/**/*.{js,jsx,ts,tsx}": [ - "pnpm --dir frontend run next:lint", - "pnpm --dir frontend run format" - ], - "nextjs-backend/**/*.{js,jsx,ts,tsx}": [ - "pnpm --dir nextjs-backend run format" - ] } }