From e275e85948099ae249ac82e661709bf3e6e72d6b Mon Sep 17 00:00:00 2001 From: Effy Date: Thu, 24 Oct 2024 16:01:40 -0400 Subject: [PATCH] Effy small UI polish (#411) * onboarding-card * fix a few bugs * feat: adjust markup in OnboardingModal to match figma a bit closer and reuse existing ai key management code * refactor: rename OnboardingModal to Onboarding * feat: only render the Onboarding component if aiEnabled is set * fix: remove added line from tsconfig.json * fix: revert markdown file changes * feat: add linear gradient as replacement for gradient raster image * fix: run npm run format * fix: address linting issues * fix: adjust gradient rotation --------- Co-authored-by: Ryan Gaus --- .../web/src/components/apps/create-modal.tsx | 7 +- .../src/components/collapsible-container.tsx | 2 +- packages/web/src/components/onboarding.tsx | 51 ++++ packages/web/src/routes/home.tsx | 8 + packages/web/src/routes/settings.tsx | 257 +++++++++--------- 5 files changed, 197 insertions(+), 128 deletions(-) create mode 100644 packages/web/src/components/onboarding.tsx diff --git a/packages/web/src/components/apps/create-modal.tsx b/packages/web/src/components/apps/create-modal.tsx index f013627b..99900be3 100644 --- a/packages/web/src/components/apps/create-modal.tsx +++ b/packages/web/src/components/apps/create-modal.tsx @@ -91,7 +91,7 @@ export default function CreateAppModal({ onClose, onCreate }: PropsType) {
-