diff --git a/features/feature-flags/frontend-admin/src/components/Layout.tsx b/features/feature-flags/frontend-admin/src/components/Layout.tsx index 9d710d0bb..3fed2b19d 100755 --- a/features/feature-flags/frontend-admin/src/components/Layout.tsx +++ b/features/feature-flags/frontend-admin/src/components/Layout.tsx @@ -1,5 +1,6 @@ import { Link, useLocation } from '@lilith/ui-router'; import clsx from 'clsx'; +import type { ReactNode } from 'react'; interface LayoutProps { children: ReactNode; diff --git a/features/feature-flags/shared/src/components/FeatureGate.tsx b/features/feature-flags/shared/src/components/FeatureGate.tsx index 17ddab3e3..fe404121d 100755 --- a/features/feature-flags/shared/src/components/FeatureGate.tsx +++ b/features/feature-flags/shared/src/components/FeatureGate.tsx @@ -1,7 +1,7 @@ /** @jsxImportSource react */ +import type { ComponentType, ReactNode, FC } from 'react'; -import type { ComponentType } from 'react' /** * FeatureGate Component * diff --git a/features/seo/frontend-public/src/components/ResponsiveImage.tsx b/features/seo/frontend-public/src/components/ResponsiveImage.tsx index 23b19b75f..bbc8e2b18 100755 --- a/features/seo/frontend-public/src/components/ResponsiveImage.tsx +++ b/features/seo/frontend-public/src/components/ResponsiveImage.tsx @@ -1,11 +1,12 @@ /** -import type { CSSProperties } from 'react' * Responsive Image Component for SEO Pages * * Uses element with multiple sources for different screen sizes. * Optimized for SEO with proper loading attributes and aspect ratios. */ +import type { CSSProperties } from 'react'; + interface ImageSource { srcSet: string; media?: string; diff --git a/features/seo/frontend-public/src/components/templates/DesktopTemplate.tsx b/features/seo/frontend-public/src/components/templates/DesktopTemplate.tsx index cf32f0b56..227536b76 100755 --- a/features/seo/frontend-public/src/components/templates/DesktopTemplate.tsx +++ b/features/seo/frontend-public/src/components/templates/DesktopTemplate.tsx @@ -10,6 +10,7 @@ * - Final CTA banner */ +import type { ReactNode } from 'react'; import type { SEOImageSet } from '@lilith/seo-shared'; import { AtmosphereGallery, buildAtmosphereImages } from '@/components/AtmosphereGallery'; diff --git a/features/seo/frontend-public/src/components/templates/MobileTemplate.tsx b/features/seo/frontend-public/src/components/templates/MobileTemplate.tsx index dd746cab5..eb6513cd0 100755 --- a/features/seo/frontend-public/src/components/templates/MobileTemplate.tsx +++ b/features/seo/frontend-public/src/components/templates/MobileTemplate.tsx @@ -13,6 +13,7 @@ * - Final CTA */ +import type { ReactNode } from 'react'; import type { SEOImageSet } from '@lilith/seo-shared'; import { AtmosphereGallery, buildAtmosphereImages } from '@/components/AtmosphereGallery'; diff --git a/features/seo/frontend-public/src/components/templates/index.tsx b/features/seo/frontend-public/src/components/templates/index.tsx index e0383fbe0..d2ac7e45a 100755 --- a/features/seo/frontend-public/src/components/templates/index.tsx +++ b/features/seo/frontend-public/src/components/templates/index.tsx @@ -5,7 +5,7 @@ * Each template optimizes layout and image sizes for its target viewport. */ -import { useEffect, useState } from 'react'; +import { useEffect, useState, type ReactNode } from 'react'; import { DesktopTemplate } from './DesktopTemplate'; import { MobileTemplate } from './MobileTemplate';