-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '445-update-secret-groups-page' into diego/support-multi…
…ple-groups-per-category
- Loading branch information
Showing
51 changed files
with
463 additions
and
327 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
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.
4 changes: 2 additions & 2 deletions
4
...mments-columns/CommentsColumns.styled.tsx → ...mments-columns/CommentsColumns.styled.tsx
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
packages/berlin/src/components/columns/groups-columns/GroupsColumns.styled.tsx
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 @@ | ||
import styled from 'styled-components'; | ||
import { Body } from '../../typography/Body.styled'; | ||
import { Grid } from '../../containers/Grid.styled'; | ||
|
||
export const Card = styled(Grid)` | ||
border-bottom: 2px solid var(--color-black); | ||
gap: 0; | ||
grid-template-columns: repeat(2, 1fr) 82px; | ||
width: 100%; | ||
padding: 1.5rem; | ||
`; | ||
|
||
export const Group = styled(Body)` | ||
font-weight: bold; | ||
`; | ||
|
||
export const Secret = styled(Body)` | ||
font-weight: bold; | ||
`; | ||
|
||
export const Action = styled(Body)` | ||
font-weight: bold; | ||
`; |
13 changes: 13 additions & 0 deletions
13
packages/berlin/src/components/columns/groups-columns/GroupsColumns.tsx
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,13 @@ | ||
import { Action, Card, Group, Secret } from './GroupsColumns.styled'; | ||
|
||
function GroupsColumns() { | ||
return ( | ||
<Card> | ||
<Group>Group</Group> | ||
<Secret>Secret</Secret> | ||
<Action>Action</Action> | ||
</Card> | ||
); | ||
} | ||
|
||
export default GroupsColumns; |
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 @@ | ||
export { default } from './GroupsColumns'; |
8 changes: 8 additions & 0 deletions
8
packages/berlin/src/components/columns/results-columns/ResultsColumns.styled.tsx
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,8 @@ | ||
import styled from 'styled-components'; | ||
import { Grid } from '../../containers/Grid.styled'; | ||
|
||
export const Card = styled(Grid)` | ||
border-bottom: 2px solid var(--color-black); | ||
padding: 1.5rem; | ||
grid-template-columns: auto repeat(3, 48px) 80px; | ||
`; |
35 changes: 35 additions & 0 deletions
35
packages/berlin/src/components/columns/results-columns/ResultsColumns.tsx
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,35 @@ | ||
import { useAppStore } from '../../../store'; | ||
import IconButton from '../../icon-button'; | ||
import { Bold } from '../../typography/Bold.styled'; | ||
import { Card } from './ResultsColumns.styled'; | ||
|
||
function ResultsColumns() { | ||
const theme = useAppStore((state) => state.theme); | ||
return ( | ||
<Card> | ||
<Bold>Title</Bold> | ||
<IconButton | ||
$padding={0} | ||
$color="secondary" | ||
icon={{ src: `/icons/heart-full.svg`, alt: 'Hearts' }} | ||
/> | ||
<IconButton | ||
$padding={0} | ||
$color="secondary" | ||
icon={{ src: `/icons/sqrt-${theme}.svg`, alt: 'Quadratic score' }} | ||
/> | ||
<IconButton | ||
$padding={0} | ||
$color="secondary" | ||
icon={{ src: `/icons/plurality-score.svg`, alt: 'Plurality score' }} | ||
/> | ||
<IconButton | ||
$padding={0} | ||
$color="secondary" | ||
icon={{ src: `/logos/arbitrum-${theme}.svg`, alt: 'Arbitrum' }} | ||
/> | ||
</Card> | ||
); | ||
} | ||
|
||
export default ResultsColumns; |
1 change: 1 addition & 0 deletions
1
packages/berlin/src/components/columns/results-columns/index.ts
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 @@ | ||
export { default } from './ResultsColumns'; |
8 changes: 8 additions & 0 deletions
8
packages/berlin/src/components/columns/stats-columns/StatsColumns.styled.tsx
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,8 @@ | ||
import styled from 'styled-components'; | ||
import { Grid } from '../../containers/Grid.styled'; | ||
|
||
export const Card = styled(Grid)` | ||
border-bottom: 2px solid var(--color-black); | ||
padding: 1.5rem; | ||
grid-template-columns: auto 240px; | ||
`; |
13 changes: 13 additions & 0 deletions
13
packages/berlin/src/components/columns/stats-columns/StatsColumns.tsx
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,13 @@ | ||
import { Bold } from '../../typography/Bold.styled'; | ||
import { Card } from './StatsColumns.styled'; | ||
|
||
function StatsColumns() { | ||
return ( | ||
<Card> | ||
<Bold>Statistic</Bold> | ||
<Bold>Value</Bold> | ||
</Card> | ||
); | ||
} | ||
|
||
export default StatsColumns; |
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 @@ | ||
export { default } from './StatsColumns'; |
This file was deleted.
Oops, something went wrong.
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
37 changes: 0 additions & 37 deletions
37
packages/berlin/src/components/result-card/ResultCard.styled.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.