diff --git a/.phase48-state.json b/.phase48-state.json index 9247e6c..cb51012 100644 --- a/.phase48-state.json +++ b/.phase48-state.json @@ -1,8 +1,9 @@ { "completed_features": [], - "current_feature": "list-item-component", + "current_feature": "brand-component", "started_at": "2026-05-23T10:58:29.718105", "attempted_features": [ - "notice-component" + "notice-component", + "list-item-component" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index dcc55b9..e4f73ff 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -4861,3 +4861,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:58:49` **INFO** Committed feature list-item-component +- `10:58:49` **INFO** Pushed: rc=0 + +## Phase-3 Feature: brand-component (2026-05-23 10:58:49) + +- `10:58:49` **INFO** Description: Brand Header (logo + appname + tagline) +- `10:58:49` **INFO** Generating apps/web/src/components/Brand.tsx (Brand-Component. Props: variant?: 'horizontal'|'vertical' (default hor…) +- `10:59:06` **INFO** wrote 1596 chars in 16.6s (attempt 1) +- `10:59:06` **INFO** Running tsc --noEmit on api… +- `10:59:07` **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/Brand.tsx b/apps/web/src/components/Brand.tsx new file mode 100644 index 0000000..129835d --- /dev/null +++ b/apps/web/src/components/Brand.tsx @@ -0,0 +1,50 @@ +import React from 'react'; + +interface BrandProps { + variant?: 'horizontal' | 'vertical'; + showTagline?: boolean; + className?: string; +} + +const FlameIcon = ({ className }: { className?: string }) => ( + + + + + + +); + +export default function Brand({ + variant = 'horizontal', + showTagline = false, + className = '' +}: BrandProps) { + const isVertical = variant === 'vertical'; + + return ( +
+ + +
+ + EmberClone + + + {showTagline && ( + + Zeiterfassung neu gedacht + + )} +
+
+ ); +} \ No newline at end of file