aboutsummaryrefslogtreecommitdiffstats
path: root/components/Box
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-10-11 22:43:16 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-10-11 22:43:16 +0300
commit873e0766f31dd427f52f0d51477ec71173eed5fa (patch)
tree36c1da490ead0313d7ae4507cfbfcec307ac2472 /components/Box
parent67e51c634252a08c58decda1a4527911089361af (diff)
Rewrite in htmx + flask
Diffstat (limited to 'components/Box')
-rw-r--r--components/Box/Box.module.css22
-rw-r--r--components/Box/Box.tsx18
2 files changed, 0 insertions, 40 deletions
diff --git a/components/Box/Box.module.css b/components/Box/Box.module.css
deleted file mode 100644
index f6234ff..0000000
--- a/components/Box/Box.module.css
+++ /dev/null
@@ -1,22 +0,0 @@
-.box {
- padding: 1rem 1rem;
- width: 100%;
- color: #333;
- background-color: #eee;
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- align-items: center;
-}
-
-.box:hover,
-.box:active,
-.box:focus {
- font-weight: bold;
- background-color: #ddd;
-}
-
-.arrow {
- font-size: 24px;
- line-height: 20px;
-} \ No newline at end of file
diff --git a/components/Box/Box.tsx b/components/Box/Box.tsx
deleted file mode 100644
index 8e463e5..0000000
--- a/components/Box/Box.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import Link from "next/link";
-import styles from "./Box.module.css";
-
-export interface Props {
- href: string;
- text: string;
-}
-
-const Box = ({ text, href }: Props): JSX.Element => (
- <Link href={href}>
- <a className={styles.box}>
- <span>{text}</span>
- <span className={styles.arrow}>→</span>
- </a>
- </Link>
-);
-
-export default Box;