chore(seo): 🔧 Implement conditional SEO template rendering via FeatureGate component + admin UI updates

This commit is contained in:
Lilith 2026-01-25 22:52:54 -08:00
parent 7dd40a637b
commit 5ced4950ef
6 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,6 @@
import { Link, useLocation } from '@lilith/ui-router';
import clsx from 'clsx';
import type { ReactNode } from 'react';
interface LayoutProps {
children: ReactNode;

View file

@ -1,7 +1,7 @@
/** @jsxImportSource react */
import type { ComponentType, ReactNode, FC } from 'react';
import type { ComponentType } from 'react'
/**
* FeatureGate Component
*

View file

@ -1,11 +1,12 @@
/**
import type { CSSProperties } from 'react'
* Responsive Image Component for SEO Pages
*
* Uses <picture> 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;

View file

@ -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';

View file

@ -13,6 +13,7 @@
* - Final CTA
*/
import type { ReactNode } from 'react';
import type { SEOImageSet } from '@lilith/seo-shared';
import { AtmosphereGallery, buildAtmosphereImages } from '@/components/AtmosphereGallery';

View file

@ -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';