mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-20 19:40:52 -05:00
refactor component imports/exports
This commit is contained in:
@@ -3,7 +3,7 @@ import { useRouter } from "next/router";
|
||||
import { DefaultSeo, SocialProfileJsonLd } from "next-seo";
|
||||
import * as Fathom from "fathom-client";
|
||||
import { ThemeProvider } from "../hooks/use-theme";
|
||||
import Layout from "../components/Layout/Layout";
|
||||
import Layout from "../components/Layout";
|
||||
import { globalStyles, theme, darkTheme } from "../lib/styles/stitches.config";
|
||||
import * as config from "../lib/config";
|
||||
import { defaultSeo, socialProfileJsonLd } from "../lib/config/seo";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Video from "../components/Video/Video";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Video from "../components/Video";
|
||||
|
||||
import thumbnail from "../public/static/images/birthday/thumb.png";
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Image from "../components/Image/Image";
|
||||
import Blockquote from "../components/Blockquote/Blockquote";
|
||||
import CodeBlock from "../components/CodeBlock/CodeBlock";
|
||||
import { H2 } from "../components/Heading/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List/List";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Image from "../components/Image";
|
||||
import Blockquote from "../components/Blockquote";
|
||||
import CodeBlock from "../components/CodeBlock";
|
||||
import { H2 } from "../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List";
|
||||
|
||||
import cliImg from "../public/static/images/cli/screenshot.png";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import ContactForm from "../components/ContactForm/ContactForm";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import ContactForm from "../components/ContactForm";
|
||||
import { styled } from "../lib/styles/stitches.config";
|
||||
|
||||
const Wrapper = styled(Content, {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Video from "../components/Video/Video";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Video from "../components/Video";
|
||||
import { styled } from "../lib/styles/stitches.config";
|
||||
|
||||
import thumbnail from "../public/static/images/hillary/thumb.png";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Link, { CustomLinkProps } from "../components/Link/Link";
|
||||
import Link, { CustomLinkProps } from "../components/Link";
|
||||
import { styled, keyframes, darkTheme } from "../lib/styles/stitches.config";
|
||||
import type * as Stitches from "@stitches/react";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Video from "../components/Video/Video";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Video from "../components/Video";
|
||||
import { styled } from "../lib/styles/stitches.config";
|
||||
|
||||
import thumbnail from "../public/static/images/leo/thumb.png";
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import HorizontalRule from "../components/HorizontalRule/HorizontalRule";
|
||||
import Blockquote from "../components/Blockquote/Blockquote";
|
||||
import { H2, H3 } from "../components/Heading/Heading";
|
||||
import { UnorderedList, OrderedList, ListItem } from "../components/List/List";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import HorizontalRule from "../components/HorizontalRule";
|
||||
import Blockquote from "../components/Blockquote";
|
||||
import { H2, H3 } from "../components/Heading";
|
||||
import { UnorderedList, OrderedList, ListItem } from "../components/List";
|
||||
|
||||
const License = () => (
|
||||
<>
|
||||
|
||||
@@ -2,9 +2,9 @@ import { InView } from "react-intersection-observer";
|
||||
import { NextSeo, ArticleJsonLd } from "next-seo";
|
||||
import { MDXRemote } from "next-mdx-remote";
|
||||
import { htmlEscape } from "escape-goat";
|
||||
import Content from "../../components/Content/Content";
|
||||
import NoteMeta from "../../components/NoteMeta/NoteMeta";
|
||||
import Comments from "../../components/Comments/Comments";
|
||||
import Content from "../../components/Content";
|
||||
import NoteMeta from "../../components/NoteMeta";
|
||||
import Comments from "../../components/Comments";
|
||||
import * as mdxComponents from "../../lib/helpers/mdx-components";
|
||||
import { getNote, getNoteSlugs } from "../../lib/helpers/parse-notes";
|
||||
import * as config from "../../lib/config";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import { format } from "date-fns";
|
||||
import Content from "../../components/Content/Content";
|
||||
import NotesList, { NotesListProps } from "../../components/NotesList/NotesList";
|
||||
import Content from "../../components/Content";
|
||||
import NotesList, { NotesListProps } from "../../components/NotesList";
|
||||
import { getAllNotes } from "../../lib/helpers/parse-notes";
|
||||
import type { GetStaticProps } from "next";
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
import Head from "next/head";
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Figure from "../components/Figure/Figure";
|
||||
import IFrame from "../components/IFrame/IFrame";
|
||||
import HorizontalRule from "../components/HorizontalRule/HorizontalRule";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Figure from "../components/Figure";
|
||||
import IFrame from "../components/IFrame";
|
||||
import HorizontalRule from "../components/HorizontalRule";
|
||||
|
||||
import img_wayback from "../public/static/images/previously/wayback.png";
|
||||
import img_2002_02 from "../public/static/images/previously/2002_02.png";
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Image from "../components/Image/Image";
|
||||
import IFrame from "../components/IFrame/IFrame";
|
||||
import Blockquote from "../components/Blockquote/Blockquote";
|
||||
import { H2 } from "../components/Heading/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List/List";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Image from "../components/Image";
|
||||
import IFrame from "../components/IFrame";
|
||||
import Blockquote from "../components/Blockquote";
|
||||
import { H2 } from "../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List";
|
||||
|
||||
import faunaImg from "../public/static/images/privacy/fauna_hits.png";
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { graphql } from "@octokit/graphql";
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import RepositoryCard from "../components/RepositoryCard/RepositoryCard";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import RepositoryCard from "../components/RepositoryCard";
|
||||
import { OctocatOcticon } from "../components/Icons";
|
||||
import { styled } from "../lib/styles/stitches.config";
|
||||
import { authorSocial } from "../lib/config";
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { NextSeo } from "next-seo";
|
||||
import Content from "../components/Content/Content";
|
||||
import PageTitle from "../components/PageTitle/PageTitle";
|
||||
import Link from "../components/Link/Link";
|
||||
import Image from "../components/Image/Image";
|
||||
import { H2 } from "../components/Heading/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List/List";
|
||||
import Content from "../components/Content";
|
||||
import PageTitle from "../components/PageTitle";
|
||||
import Link from "../components/Link";
|
||||
import Image from "../components/Image";
|
||||
import { H2 } from "../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List";
|
||||
|
||||
import desktopImg from "../public/static/images/uses/bigsur.png";
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { useEffect } from "react";
|
||||
import dynamic from "next/dynamic";
|
||||
import { NextSeo } from "next-seo";
|
||||
import Layout from "../components/Layout/Layout";
|
||||
import Wallpaper from "../components/Wallpaper/Wallpaper";
|
||||
import Layout from "../components/Layout";
|
||||
import Wallpaper from "../components/Wallpaper";
|
||||
import type { ReactElement } from "react";
|
||||
|
||||
// obviously, an interactive VNC display will not work even a little bit server-side
|
||||
const VNC = dynamic(() => import("../components/VNC/VNC"), { ssr: false });
|
||||
const VNC = dynamic(() => import("../components/VNC"), { ssr: false });
|
||||
|
||||
// https://github.com/jakejarvis/y2k
|
||||
const SOCKET_PROXY = "wss://y2k.jrvs.io";
|
||||
|
||||
Reference in New Issue
Block a user