Initial Storybook setup (#110)

* Storybook setup

Storybook can be started using `npm run storybook`

* moved files and bugfix

Moved component files into their own directory and moved stories next to them. Fixed a bug with loading images

* prettier and bugfix

* prettier and bugfix

* Absolute Import in Header.tsx

* import fix

some imports did not work after merging

* Storybook update for chakra ui to properly work

* Prettier main.js

* comment in preview.js about hacky solution

* webpack final update and prettier update to preview

* Updated website/readme to include storybook description

* prettier...

* Delete docker-compose 2.yaml
This commit is contained in:
jojopirker
2022-12-29 10:44:14 +01:00
committed by GitHub
parent a4e5f566a8
commit cb317ebccb
15 changed files with 28990 additions and 2592 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { useSession } from "next-auth/react";
import { Footer } from "../components/Footer";
import { Header } from "../components/Header";
import { Header } from "src/components/Header";
import Head from "next/head";
import Link from "next/link";
@@ -1,4 +1,4 @@
import RankItem from "@/components/RankItem";
import RankItem from "src/components/RankItem";
import { BarsArrowUpIcon, BarsArrowDownIcon } from "@heroicons/react/24/solid";
import Image from "next/image";
import { HiBarsArrowUp, HiBarsArrowDown } from "react-icons/hi2";