Skip to content

Commit 23f1ccb

Browse files
committed
refactor: adds centralized author map to streamline resource entries
1 parent 2e74ae5 commit 23f1ccb

File tree

5 files changed

+585
-945
lines changed

5 files changed

+585
-945
lines changed

src/pages/Examples.tsx

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
import Repl from 'solid-repl/dist/repl';
22
import { A, useParams } from '@solidjs/router';
3-
import { For, type Component, createSignal, createEffect, batch, ErrorBoundary, Show } from 'solid-js';
3+
import {
4+
For,
5+
type Component,
6+
createSignal,
7+
createEffect,
8+
batch,
9+
ErrorBoundary,
10+
Show,
11+
} from 'solid-js';
412
import type { ExamplesDataRoute } from './Examples.data';
513

614
import { compiler, formatter, linter } from '../components/setupRepl';

src/pages/Packages.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ import type { PackagesDataProps } from './Packages.data';
44
import Fuse from 'fuse.js';
55
import { debounce } from '@solid-primitives/scheduled';
66
import { makeIntersectionObserver } from '@solid-primitives/intersection-observer';
7-
import { type Resource, ResourceCategory, type ResourceType, ResourceTypeIcons } from './Resources/Ecosystem';
7+
import {
8+
type Resource,
9+
ResourceCategory,
10+
type ResourceType,
11+
ResourceTypeIcons,
12+
} from './Resources/Ecosystem';
813
import { parseKeyword } from '../utils/parseKeyword';
914
import { rememberSearch } from '../utils/rememberSearch';
1015
import SideContent from '../components/layout/SideContent';

src/pages/Resources.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ import { parseKeyword } from '../utils/parseKeyword';
1515
import { rememberSearch } from '../utils/rememberSearch';
1616
import { useRouteReadyState } from '../utils/routeReadyState';
1717
import type { ResourcesDataProps } from './Resources.data';
18-
import { type PackageType, type Resource, ResourceType, ResourceTypeIcons } from './Resources/Ecosystem';
18+
import {
19+
type PackageType,
20+
type Resource,
21+
ResourceType,
22+
ResourceTypeIcons,
23+
} from './Resources/Ecosystem';
1924

2025
const AResource: Component<Resource> = (props) => {
2126
const { t } = useAppState();

src/pages/Resources/Articles.data.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,8 @@ const articles: Array<Resource> = [
14231423
{
14241424
link: 'https://thenewstack.io/how-js-meta-framework-solidstart-became-router-agnostic/',
14251425
title: 'How JS Meta-Framework SolidStart Became Router Agnostic',
1426-
description: 'SolidStart is a new meta-framework from the SolidJS team that doesn\'t dictate which router developers use. Ryan Carniato explains why.',
1426+
description:
1427+
"SolidStart is a new meta-framework from the SolidJS team that doesn't dictate which router developers use. Ryan Carniato explains why.",
14271428
author: 'Loraine Lawson',
14281429
author_url: 'https://thenewstack.io/',
14291430
keywords: ['solid', 'solidstart', 'router', 'vinxi', 'tanstack'],

0 commit comments

Comments
 (0)