-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format all files with prettier
- Loading branch information
Showing
71 changed files
with
920 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export {default} from "src/startskudd" | ||
export { default } from 'src/startskudd'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'src/varianttur/guildford23/aktiviteter'; | ||
export { default } from 'src/varianttur/guildford23/aktiviteter'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'src/varianttur/guildford23/bliKjent'; | ||
export { default } from 'src/varianttur/guildford23/bliKjent'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'src/varianttur/guildford23'; | ||
export { default } from 'src/varianttur/guildford23'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'src/varianttur/guildford23/tips'; | ||
export { default } from 'src/varianttur/guildford23/tips'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'src/vidsyn'; | ||
export { default } from 'src/vidsyn'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
import { ReactNode } from "react"; | ||
import { ReactNode } from 'react'; | ||
import styles from './Container.module.css'; | ||
|
||
export default function Container({ children, className, ...props }: { children: ReactNode } & React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) { | ||
return <div className={`${className ? className : ''} ${styles.container}`} {...props}>{children}</div> | ||
export default function Container({ | ||
children, | ||
className, | ||
...props | ||
}: { children: ReactNode } & React.DetailedHTMLProps< | ||
React.HTMLAttributes<HTMLDivElement>, | ||
HTMLDivElement | ||
>) { | ||
return ( | ||
<div | ||
className={`${className ? className : ''} ${styles.container}`} | ||
{...props} | ||
> | ||
{children} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
import { ReactNode } from "react"; | ||
import { ReactNode } from 'react'; | ||
|
||
import styles from './Day.module.css'; | ||
import Container from "./Container"; | ||
import Container from './Container'; | ||
|
||
export default function Day({ title, children, background = false }: { title: string, children: ReactNode, background?: boolean }) { | ||
return <section> | ||
<Container className={`${styles.day} ${background && styles.with_background}`}> | ||
<h2> | ||
{title} | ||
</h2> | ||
<div> | ||
{children} | ||
</div> | ||
</Container> | ||
</section>; | ||
export default function Day({ | ||
title, | ||
children, | ||
background = false, | ||
}: { | ||
title: string; | ||
children: ReactNode; | ||
background?: boolean; | ||
}) { | ||
return ( | ||
<section> | ||
<Container | ||
className={`${styles.day} ${background && styles.with_background}`} | ||
> | ||
<h2>{title}</h2> | ||
<div>{children}</div> | ||
</Container> | ||
</section> | ||
); | ||
} |
Oops, something went wrong.