mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-15 21:34:26 -04:00
Migrate to app router (#2254)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { styled, theme } from "../../lib/styles/stitches.config";
|
||||
import clsx from "clsx";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const Blockquote = styled("blockquote", {
|
||||
marginLeft: 0,
|
||||
paddingLeft: "1.25em",
|
||||
borderLeft: `0.25em solid ${theme.colors.link}`,
|
||||
color: theme.colors.mediumDark,
|
||||
});
|
||||
import styles from "./Blockquote.module.css";
|
||||
|
||||
const Blockquote = ({ className, ...rest }: ComponentPropsWithoutRef<"blockquote">) => (
|
||||
<blockquote className={clsx(styles.blockquote, className)} {...rest} />
|
||||
);
|
||||
|
||||
export default Blockquote;
|
||||
|
||||
Reference in New Issue
Block a user