Removed all Next.js files in preparation to move to Nuxt

This commit is contained in:
Louis Hollingworth 2022-04-26 18:35:54 +01:00
parent ef9aadd68a
commit 42d960090e
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
32 changed files with 98 additions and 229 deletions

View file

@ -1,6 +0,0 @@
export function Heading({children}: {children: React.ReactNode}) {
return (
<h2 className="dark:text-gray-300 md:text-2xl text-lg pt-4 mx-4">{children}</h2>
);
}

View file

@ -1,4 +0,0 @@
export * from "./title";
export * from "./linkcard";
export * from "./paragraph";
export * from "./heading";

View file

@ -1,17 +0,0 @@
import Link from "next/link";
export function LinkCard(props: {
link: string;
title: string;
sub: string;
}) {
const { link, title, sub } = props;
return (
<Link href={link} passHref>
<a className="box-border p-2 bg-gray-200 dark:text-gray-200 dark:bg-gray-600 hover:bg-gray-100 hover:text-indigo-500 dark:hover:bg-gray-500 dark:hover:text-indigo-400 rounded-md drop-shadow-lg hover:drop-shadow-2xl">
<h2 className="px-4">{title} &rarr;</h2>
<p className="px-4">{sub}</p>
</a>
</Link>
);
}

View file

@ -1,9 +0,0 @@
import React from "react";
export function Paragraph ({children}: {children: React.ReactNode}) {
return (
<p className="px-4 dark:text-gray-300">
{children}
</p>
)
}

View file

@ -1,6 +0,0 @@
export function Title({ children, ...props }: { children: React.ReactNode }) {
return (
<h1 className="dark:text-gray-300 font-bold text-center md:text-6xl text-3xl pt-4 font-body">{children}</h1>
);
}