chore(seo): 🔧 Implement conditional SEO template rendering via FeatureGate component + admin UI updates
This commit is contained in:
parent
7dd40a637b
commit
5ced4950ef
6 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { Link, useLocation } from '@lilith/ui-router';
|
||||
import clsx from 'clsx';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
interface LayoutProps {
|
||||
children: ReactNode;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/** @jsxImportSource react */
|
||||
|
||||
import type { ComponentType, ReactNode, FC } from 'react';
|
||||
|
||||
import type { ComponentType } from 'react'
|
||||
/**
|
||||
* FeatureGate Component
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
* - Final CTA
|
||||
*/
|
||||
|
||||
import type { ReactNode } from 'react';
|
||||
import type { SEOImageSet } from '@lilith/seo-shared';
|
||||
|
||||
import { AtmosphereGallery, buildAtmosphereImages } from '@/components/AtmosphereGallery';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue