Removed all Next.js files in preparation to move to Nuxt
This commit is contained in:
parent
ef9aadd68a
commit
42d960090e
32 changed files with 98 additions and 229 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
export * from "./title";
|
||||
export * from "./linkcard";
|
||||
export * from "./paragraph";
|
||||
export * from "./heading";
|
||||
|
|
@ -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} →</h2>
|
||||
<p className="px-4">{sub}</p>
|
||||
</a>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue