From 3e7a7a893ff4c46df0d4235bf8af1b4277a22499 Mon Sep 17 00:00:00 2001 From: "Dennis (via Claude+Gemma)" Date: Sat, 23 May 2026 10:19:10 +0200 Subject: [PATCH] feat(logo-component): Logo SVG + Text [tsc:fail] --- .phase40-state.json | 7 ++++-- GENERATION_LOG.md | 18 ++++++++++++++ apps/web/src/components/Logo.tsx | 42 ++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 apps/web/src/components/Logo.tsx diff --git a/.phase40-state.json b/.phase40-state.json index 65dc5b9..f0c610c 100644 --- a/.phase40-state.json +++ b/.phase40-state.json @@ -1,5 +1,8 @@ { "completed_features": [], - "current_feature": "sidebar-component", - "started_at": "2026-05-23T10:18:26.780535" + "current_feature": "logo-component", + "started_at": "2026-05-23T10:18:26.780535", + "attempted_features": [ + "sidebar-component" + ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index fd00316..a50fe30 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -4211,3 +4211,21 @@ src/index.ts(27,25): error TS2769: No overload matches this call. Overload 1 of 3, '(plugin: FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. Type 'Promise' provides no match for the signature '(instance: FastifyInstance, +- `10:18:50` **INFO** Committed feature sidebar-component +- `10:18:51` **INFO** Pushed: rc=0 + +## Phase-3 Feature: logo-component (2026-05-23 10:18:51) + +- `10:18:51` **INFO** Description: Logo SVG + Text +- `10:18:51` **INFO** Generating apps/web/src/components/Logo.tsx (Logo-Component. Props: size?: 'sm'|'md'|'lg', showText?: boolean. Inli…) +- `10:19:09` **INFO** wrote 1254 chars in 17.9s (attempt 1) +- `10:19:09` **INFO** Running tsc --noEmit on api… +- `10:19:10` **WARN** tsc errors: +src/db/schema.ts(37,14): error TS7022: 'customers' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. +src/db/schema.ts(45,59): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +src/db/schema.ts(49,14): error TS7022: 'projects' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. +src/db/schema.ts(53,56): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +src/index.ts(27,25): error TS2769: No overload matches this call. + Overload 1 of 3, '(plugin: FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. + Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. + Type 'Promise' provides no match for the signature '(instance: FastifyInstance, diff --git a/apps/web/src/components/Logo.tsx b/apps/web/src/components/Logo.tsx new file mode 100644 index 0000000..282bc89 --- /dev/null +++ b/apps/web/src/components/Logo.tsx @@ -0,0 +1,42 @@ +import React from 'react'; + +interface LogoProps { + size?: 'sm' | 'md' | 'lg'; + showText?: boolean; +} + +const sizeMap = { + sm: { icon: 'w-5 h-5', text: 'text-sm' }, + md: { icon: 'w-8 h-8', text: 'text-xl' }, + lg: { icon: 'w-12 h-12', text: 'text-3xl' }, +}; + +export default function Logo({ size = 'md', showText = true }: LogoProps) { + const { icon, text } = sizeMap[size]; + + return ( +
+ + + + + + + + + {showText && ( + + EmberClone + + )} +
+ ); +} \ No newline at end of file