mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-02 06:15:58 -04:00
pre-render optimizations
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import clsx from "clsx";
|
||||
import { HeartIcon } from "lucide-react";
|
||||
import Link from "../Link";
|
||||
import config from "../../lib/config";
|
||||
import * as config from "../../lib/config";
|
||||
import { MAX_WIDTH } from "../../lib/config/constants";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./Footer.module.css";
|
||||
@@ -11,7 +12,7 @@ export type FooterProps = ComponentPropsWithoutRef<"footer">;
|
||||
const Footer = ({ className, ...rest }: FooterProps) => {
|
||||
return (
|
||||
<footer className={clsx(styles.footer, className)} {...rest}>
|
||||
<div className={styles.row}>
|
||||
<div className={styles.row} style={{ maxWidth: MAX_WIDTH }}>
|
||||
<div>
|
||||
Content{" "}
|
||||
<Link href="/license" title={config.license} plain className={styles.link}>
|
||||
|
||||
Reference in New Issue
Block a user