This repository has been archived by the owner on Dec 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f35ec7
commit a056103
Showing
36 changed files
with
155 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
.eslintrc.cjs | ||
jest.config.js | ||
jest.setup.js | ||
commitlint.config.js | ||
.eslintrc.js | ||
.eslintrc.cjs | ||
next.config.mjs |
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,114 @@ | ||
import { keyframes, style } from "@vanilla-extract/css"; | ||
import { theme, font, flex, screen } from "@buma/style"; | ||
|
||
export const details = style({ | ||
width: "100%", | ||
paddingBottom: "10px", | ||
}); | ||
|
||
export const summary = style({ | ||
width: "100%", | ||
borderBottom: `1px solid ${theme.gray}`, | ||
margin: "20px 0", | ||
color: `${theme.primary}94`, | ||
cursor: "pointer", | ||
listStyle: "none", | ||
...font.H2, | ||
...flex.FLEX, | ||
|
||
selectors: { | ||
[`${details} > &::-webkit-details-marker`]: { | ||
display: "none", | ||
}, | ||
[`${details}[open] > &`]: { | ||
color: theme.primary, | ||
}, | ||
[`${details} > &:before`]: { | ||
content: "", | ||
display: "inline-block", | ||
width: "40px", | ||
height: "40px", | ||
background: "url('/assets/arrow_right.svg')", | ||
}, | ||
[`${details}[open] > &:before`]: { | ||
background: "url('/assets/arrow_down.svg')", | ||
}, | ||
}, | ||
|
||
"@media": { | ||
[`screen and (max-width: ${screen.tablet})`]: { | ||
lineHeight: "200%", | ||
}, | ||
[`screen and (max-width: ${screen.phone})`]: { | ||
lineHeight: "250%", | ||
}, | ||
}, | ||
}); | ||
|
||
export const link = style({ | ||
color: theme.link, | ||
display: "inline", | ||
":hover": { | ||
textDecoration: "underline", | ||
}, | ||
}); | ||
|
||
export const block = style({ | ||
width: "100%", | ||
height: "fit-content", | ||
border: `1px solid ${theme.black}`, | ||
backgroundColor: `${theme.hover}`, | ||
padding: "16px 20px", | ||
margin: "10px 0", | ||
...font.H5, | ||
}); | ||
|
||
export const quote = style({ | ||
width: "100%", | ||
backgroundColor: theme.hover, | ||
border: `1px solid ${theme.gray}`, | ||
padding: "10px 20px", | ||
...font.H6, | ||
}); | ||
|
||
const shakeAnimation = keyframes({ | ||
"0%": { | ||
transform: "translateX(10px)", | ||
}, | ||
"25%": { | ||
transform: "translateX(-10px)", | ||
}, | ||
"50%": { | ||
transform: "translateX(30px)", | ||
}, | ||
"75%": { | ||
transform: "translateX(-10px)", | ||
}, | ||
"100%": { | ||
transform: "translateX(10px)", | ||
}, | ||
}); | ||
|
||
export const shake = style({ | ||
animation: `${shakeAnimation} 1s linear infinite`, | ||
}); | ||
|
||
const spinAnimation = keyframes({ | ||
"0%": { | ||
transform: "rotate(0deg)", | ||
}, | ||
"100%": { | ||
transform: "rotate(360deg)", | ||
}, | ||
}); | ||
|
||
export const spin = style({ | ||
width: "fit-content", | ||
animation: `${spinAnimation} 1s linear infinite`, | ||
}); | ||
|
||
export const rainbow = style({ | ||
backgroundImage: "linear-gradient(90deg, red, orange, yellow, green, blue, navy, purple)", | ||
WebkitBackgroundClip: "text", | ||
color: "transparent", | ||
}); |
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