From 57b329339e0e0c0199bb2eabcd7a77a1d25b049e Mon Sep 17 00:00:00 2001 From: "danny@gimenez.biz" Date: Sun, 14 Jul 2024 20:58:30 -0400 Subject: [PATCH] Fix site routing --- projects/demo/src/app/demo-configuration.ts | 33 +++++++++++---------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/projects/demo/src/app/demo-configuration.ts b/projects/demo/src/app/demo-configuration.ts index 37f2854..73fbea2 100644 --- a/projects/demo/src/app/demo-configuration.ts +++ b/projects/demo/src/app/demo-configuration.ts @@ -28,6 +28,7 @@ import { ResizeSignalHomeDemoComponent } from './home-demos/resize-signal-home-d import { ResizeSignalPageComponent } from './demos/resize-signal/resize-signal-page.component'; import { MutationSignalPageComponent } from './demos/mutation-signal/mutation-signal-page.component'; import { IntersectionSignalPageComponent } from './demos/intersection-signal/intersection-signal-page.component'; +import { StorageSignalPageComponent } from './demos/storage-signal/storage-signal-page.component'; /** What type of signals are returned from signal factory functions. */ export type UsageType = 'generator' | 'utility' | 'writableSignal'; @@ -53,7 +54,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: AsyncSignalHomeDemoComponent, docUrl: './api/functions/asyncSignal-1.html', fnName: 'asyncSignal' as const, - name: 'AsyncSignal', + name: 'asyncSignal', page: AsyncSignalPageComponent, route: 'async-signal', sourceUrl: 'signals/async-signal.ts', @@ -63,7 +64,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: DebounceSignalHomeDemoComponent, docUrl: './api/functions/debounceSignal.html', fnName: 'debounceSignal' as const, - name: 'DebounceSignal', + name: 'debounceSignal', page: DebounceSignalPageComponent, route: 'debounce-signal', sourceUrl: 'signals/debounce-signal.ts', @@ -73,7 +74,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: ExtendSignalHomeDemoComponent, docUrl: './api/functions/extendSignal.html', fnName: 'extendSignal' as const, - name: 'ExtendSignal', + name: 'extendSignal', page: ExtendSignalPageComponent, route: 'extend-signal', sourceUrl: 'signals/extends-signal.ts', @@ -83,7 +84,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: FilterSignalHomeDemoComponent, docUrl: './api/functions/filterSignal-1.html', fnName: 'filterSignal' as const, - name: 'FilterSignal', + name: 'filterSignal', page: FilterSignalPageComponent, route: 'filter-signal', sourceUrl: 'signals/filter-signal.ts', @@ -93,7 +94,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: IntersectionSignalHomeDemoComponent, docUrl: './api/functions/intersectionSignal-1.html', fnName: 'intersectionSignal' as const, - name: 'IntersectionSignal', + name: 'intersectionSignal', page: IntersectionSignalPageComponent, route: 'intersection-signal', sourceUrl: 'signals/dom-observers/intersection-signal.ts', @@ -103,7 +104,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: LiftSignalHomeDemoComponent, docUrl: './api/functions/liftSignal.html', fnName: 'liftSignal' as const, - name: 'LiftSignal', + name: 'liftSignal', page: LiftSignalPageComponent, route: 'lift-signal', sourceUrl: 'signals/lift-signal.ts', @@ -113,7 +114,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: MapSignalHomeDemoComponent, docUrl: './api/functions/mapSignal-1.html', fnName: 'mapSignal' as const, - name: 'MapSignal', + name: 'mapSignal', page: MapSignalPageComponent, route: 'map-signal', sourceUrl: 'signals/map-signal.ts', @@ -123,7 +124,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: MutationSignalHomeDemoComponent, docUrl: './api/functions/mutationSignal-1.html', fnName: 'mutationSignal' as const, - name: 'MutationSignal', + name: 'mutationSignal', page: MutationSignalPageComponent, route: 'mutation-signal', sourceUrl: 'signals/dom-observers/mutation-signal.ts', @@ -133,7 +134,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: ReduceSignalHomeDemoComponent, docUrl: './api/functions/reduceSignal-1.html', fnName: 'reduceSignal' as const, - name: 'ReduceSignal', + name: 'reduceSignal', page: ReduceSignalPageComponent, route: 'reduce-signal', sourceUrl: 'signals/reduce-signal.ts', @@ -143,7 +144,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: ResizeSignalHomeDemoComponent, docUrl: './api/functions/resizeSignal-1.html', fnName: 'resizeSignal' as const, - name: 'ResizeSignal', + name: 'resizeSignal', page: ResizeSignalPageComponent, route: 'resize-signal', sourceUrl: 'signals/dom-observers/resize-signal.ts', @@ -153,7 +154,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: SequenceSignalHomeDemoComponent, docUrl: './api/functions/sequenceSignal-1.html', fnName: 'sequenceSignal' as const, - name: 'SequenceSignal', + name: 'sequenceSignal', page: SequenceSignalPageComponent, route: 'sequence-signal', sourceUrl: 'signals/sequence-signal.ts', @@ -163,7 +164,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: SignalToIteratorHomeDemoComponent, docUrl: './api/functions/signalToIterator.html', fnName: 'signalToIterator' as const, - name: 'SignalToIterator', + name: 'signalToIterator', page: SignalToIteratorPageComponent, route: 'signal-to-iterator', sourceUrl: 'utilities/signal-to-iterator.ts', @@ -173,8 +174,8 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: StorageSignalHomeDemoComponent, docUrl: './api/functions/storageSignal.html', fnName: 'storageSignal' as const, - name: 'StorageSignal', - page: SequenceSignalPageComponent, + name: 'storageSignal', + page: StorageSignalPageComponent, route: 'storage-signal', sourceUrl: 'signals/storage-signal.ts', usages: ['writableSignal'] @@ -183,7 +184,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: TimerSignalHomeDemoComponent, docUrl: './api/functions/timerSignal-1.html', fnName: 'timerSignal' as const, - name: 'TimerSignal', + name: 'timerSignal', page: TimerSignalPageComponent, route: 'timer-signal', sourceUrl: 'signals/timer-signal.ts', @@ -193,7 +194,7 @@ export const DEMO_CONFIGURATIONS = [ homeDemo: TweenSignalHomeDemoComponent, docUrl: './api/functions/tweenSignal-1.html', fnName: 'tweenSignal' as const, - name: 'TweenSignal', + name: 'tweenSignal', page: TweenSignalPageComponent, route: 'tween-signal', sourceUrl: 'signals/tween-signal.ts',