diff --git a/src/components/ArtifactCard.tsx b/src/components/ArtifactCard.tsx index 12adc96..cd9aeac 100644 --- a/src/components/ArtifactCard.tsx +++ b/src/components/ArtifactCard.tsx @@ -1,7 +1,7 @@ -import '../styles/ArtifactCard.sass' -import { ArtifactData } from '../scripts/interfaces' -import { NavLink } from 'react-router-dom' -import { ReactElement } from 'react' +import "../styles/ArtifactCard.sass"; +import { ArtifactData } from "../scripts/interfaces"; +import { NavLink } from "react-router-dom"; +import { ReactElement } from "react"; /** * ArtifactPage card component. Displays high-level information about an artifact (title, subtitle, 3D graphic). diff --git a/src/main.tsx b/src/main.tsx index 6e80cb9..2a4e127 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,14 +1,14 @@ -import './styles/index.sass' -import { ArtifactData } from './scripts/interfaces' -import ArtifactPage from './routes/ArtifactPage' -import ErrorPage from './routes/ErrorPage' -import ParseData from './scripts/parse-data' -import React from 'react' -import ReactDOM from 'react-dom/client' -import Root from './routes/Root' +import "./styles/index.sass"; +import { ArtifactData } from "./scripts/interfaces"; +import ArtifactPage from "./routes/ArtifactPage"; +import ErrorPage from "./routes/ErrorPage"; +import ParseData from "./scripts/parse-data"; +import React from "react"; +import ReactDOM from "react-dom/client"; +import Root from "./routes/Root"; // eslint-disable-next-line sort-imports -import { createHashRouter, RouterProvider } from 'react-router-dom' -import Graphics from './scripts/graphics' +import { createHashRouter, RouterProvider } from "react-router-dom"; +import Graphics from "./scripts/graphics"; // Parse data and return as an array of ArtifactPage objects const artifacts: ArtifactData[] = ParseData(); diff --git a/src/routes/ArtifactPage.tsx b/src/routes/ArtifactPage.tsx index 791839b..732a32e 100644 --- a/src/routes/ArtifactPage.tsx +++ b/src/routes/ArtifactPage.tsx @@ -1,9 +1,9 @@ -import '../styles/ArtifactPage.sass' -import { ArtifactData, EmbedData, LinkData } from '../scripts/interfaces' -import { Fragment, ReactElement } from 'react' -import { NavLink, useLoaderData } from 'react-router-dom' -import Gallery from '../components/Gallery' -import RichLink from '../components/RichLink' +import "../styles/ArtifactPage.sass"; +import { ArtifactData, EmbedData, LinkData } from "../scripts/interfaces"; +import { Fragment, ReactElement } from "react"; +import { NavLink, useLoaderData } from "react-router-dom"; +import Gallery from "../components/Gallery"; +import RichLink from "../components/RichLink"; /** * Artifact header, displays artifact title, subtitle, date, and links