-
Notifications
You must be signed in to change notification settings - Fork 540
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
0367b41
commit 2ec89a7
Showing
60 changed files
with
1,234 additions
and
7 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 |
---|---|---|
|
@@ -2,11 +2,11 @@ name: CI | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
tags: | ||
- 'v*' | ||
pull_request: | ||
branches: [ '*' ] | ||
branches: ['*'] | ||
|
||
workflow_dispatch: | ||
|
||
|
@@ -53,6 +53,19 @@ jobs: | |
run: npm run validate | ||
timeout-minutes: 3 | ||
|
||
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps | ||
|
||
- name: Run Playwright tests | ||
run: npm run e2e | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: playwright-report | ||
path: playwright-report/ | ||
retention-days: 30 | ||
|
||
- name: Publish code coverage | ||
if: "!startsWith(github.ref, 'refs/tags/')" | ||
uses: paambaati/[email protected] | ||
|
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 |
---|---|---|
|
@@ -3,3 +3,6 @@ _book/ | |
coverage | ||
dist | ||
node_modules | ||
/test-results/ | ||
/playwright-report/ | ||
/playwright/.cache/ |
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,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
./node_modules/.bin/repo-tools check-remote && ./node_modules/.bin/lint-staged && ./node_modules/.bin/flow | ||
./node_modules/.bin/repo-tools check-remote && ./node_modules/.bin/lint-staged |
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,196 @@ | ||
:root { | ||
--dark-pink: #f04; | ||
--red: #ff5e5e; | ||
--orange: #ff995d; | ||
--yellow: #ffe166; | ||
--green: #58d063; | ||
--teal: #38b2ac; | ||
--cyan: #0bc5ea; | ||
--blue: #66a5ff; | ||
--indigo: #8a8fff; | ||
--purple: #ad7bff; | ||
--pink: #ee63ab; | ||
} | ||
|
||
body { | ||
box-sizing: border-box; | ||
font-family: sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
button { | ||
all: unset; | ||
background-color: #000; | ||
border-radius: 12px; | ||
color: #fff; | ||
padding: 8px 16px; | ||
} | ||
|
||
.container { | ||
flex: 1; | ||
margin: 0 auto; | ||
max-width: 960px; | ||
padding: 32px; | ||
} | ||
|
||
.hero { | ||
background-color: var(--dark-pink); | ||
color: #fff; | ||
display: grid; | ||
min-height: 100vh; | ||
place-content: center; | ||
text-align: center; | ||
} | ||
|
||
.demo__section { | ||
display: flex; | ||
min-height: 100vh; | ||
text-align: center; | ||
} | ||
|
||
.demo__section.projects { | ||
background-color: var(--orange); | ||
color: #000; | ||
} | ||
|
||
.demo__section.mission { | ||
background-color: var(--yellow); | ||
color: #000; | ||
} | ||
|
||
.demo__section.about { | ||
background-color: var(--green); | ||
color: #000; | ||
} | ||
|
||
.demo__footer { | ||
background-color: #888; | ||
color: var(--dark-pink); | ||
} | ||
|
||
.list { | ||
display: flex; | ||
gap: 16px; | ||
justify-content: center; | ||
} | ||
|
||
.list > div { | ||
display: grid; | ||
font-size: 24px; | ||
place-content: center; | ||
height: 200px; | ||
width: 200px; | ||
} | ||
|
||
.list > div:nth-of-type(1) { | ||
background-color: var(--teal); | ||
} | ||
|
||
.list > div:nth-of-type(2) { | ||
background-color: var(--cyan); | ||
} | ||
|
||
.list > div:nth-of-type(3) { | ||
background-color: var(--blue); | ||
} | ||
|
||
.controlled-wrapper { | ||
background-color: #232527; | ||
color: #fff; | ||
min-height: 100vh; | ||
width: 100%; | ||
} | ||
|
||
.controlled-container { | ||
padding: 16px; | ||
} | ||
|
||
.controlled-heading { | ||
margin: 0 0 32px; | ||
text-align: center; | ||
} | ||
|
||
.controlled-menu { | ||
background-color: var(--dark-pink); | ||
border-radius: 6px; | ||
color: #000; | ||
display: inline-flex; | ||
left: 16px; | ||
padding: 6px 8px; | ||
position: absolute; | ||
top: 16px; | ||
z-index: 10; | ||
} | ||
|
||
.controlled-sidebar { | ||
background-color: #fff; | ||
bottom: 0; | ||
color: #000; | ||
left: 0; | ||
padding: 16px; | ||
position: fixed; | ||
top: 0; | ||
transform: translateX(-100%); | ||
transition: transform 0.3s ease-in-out; | ||
width: 200px; | ||
z-index: 20; | ||
|
||
&.open { | ||
transform: translateX(0); | ||
} | ||
|
||
> div { | ||
display: flex; | ||
justify-content: flex-end; | ||
|
||
> button { | ||
all: unset; | ||
} | ||
} | ||
|
||
> p { | ||
font-weight: bold; | ||
margin: 0; | ||
|
||
& + & { | ||
margin-top: 8px; | ||
} | ||
} | ||
} | ||
|
||
.controlled-sections { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 16px; | ||
} | ||
|
||
.controlled-section { | ||
align-items: center; | ||
display: flex; | ||
min-height: 43vh; | ||
min-width: 49%; | ||
flex: 1; | ||
justify-content: center; | ||
text-align: center; | ||
|
||
&.calendar { | ||
background-color: var(--indigo); | ||
color: #fff; | ||
} | ||
|
||
&.growth { | ||
background-color: var(--purple); | ||
color: #fff; | ||
} | ||
|
||
&.connections { | ||
background-color: var(--pink); | ||
color: #fff; | ||
} | ||
|
||
&.users { | ||
background-color: var(--red); | ||
color: #fff; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+24.5 KB
e2e/__snapshots__/standard.spec.tsx/step4-tooltip-forward-chromium.png
Oops, something went wrong.
Binary file added
BIN
+31.8 KB
e2e/__snapshots__/standard.spec.tsx/step4-tooltip-forward-firefox.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.