-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into date-recency
- Loading branch information
Showing
20 changed files
with
278 additions
and
8,378 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Unit tests | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
cypress-run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.nvmrc' | ||
cache: 'yarn' | ||
|
||
- name: Install | ||
run: yarn --immutable | ||
|
||
- name: Unit tests | ||
run: yarn test |
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,18 +1,40 @@ | ||
import { Text } from '~/components/common/Text' | ||
import styled from 'styled-components' | ||
import BoostIcon from '~/components/Icons/BoostIcon' | ||
import { Flex } from '~/components/common/Flex' | ||
import { colors } from '~/utils/colors' | ||
|
||
type Props = { | ||
amt: number | ||
} | ||
export const BoostAmt = ({ amt }: Props) => ( | ||
<div style={{ alignSelf: 'center' }}> | ||
<BoostIcon /> | ||
|
||
<StyledText color="white">{amt}</StyledText> | ||
</div> | ||
<Wrapper align="center" direction="row" justify="flex-start"> | ||
<div className="icon"> | ||
<BoostIcon /> | ||
</div> | ||
<div className="value">{amt}</div> | ||
<div className="text">sat</div> | ||
</Wrapper> | ||
) | ||
|
||
const StyledText = styled(Text)` | ||
padding-left: 10px; | ||
const Wrapper = styled(Flex)` | ||
font-size: 13px; | ||
font-style: normal; | ||
font-weight: 500; | ||
color: ${colors.GRAY7}; | ||
.icon { | ||
width: 16px; | ||
height: 16px; | ||
border-radius: 2px; | ||
background: ${colors.GRAY7}; | ||
color: ${colors.BG1}; | ||
font-size: 12px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
.value { | ||
margin: 0 4px 0 8px; | ||
color: ${colors.white}; | ||
} | ||
` |
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
Oops, something went wrong.