diff --git a/src/to-refactor/about.jsx b/src/routes/about.jsx similarity index 80% rename from src/to-refactor/about.jsx rename to src/routes/about.jsx index 568cda7..abdd57a 100644 --- a/src/to-refactor/about.jsx +++ b/src/routes/about.jsx @@ -1,21 +1,22 @@ -import { A } from '@solidjs/router' import { GitHubIcon, LinkedInIcon } from '~/components/SocialIcons' import clsx from 'clsx' import organizationQuery from '~/graphql/organization.query.js' import graphql from '~/server/graphql.js' -import { useRouteData } from 'solid-start' -import { SimpleLayout } from '~/components/SimpleLayout' -import { For } from 'solid-js' +import { Container } from '~/components/Container' +import { For, splitProps } from 'solid-js' +import { A, createAsync, cache } from '@solidjs/router' import { H2, H3 } from '~/components/Atomic' function SocialLink(props) { + const [local, other] = splitProps(props, ['icon']) + return (
- {data()?.organization.teams.name} + {organization()?.organization.teams.name}