Commit Graph

36 Commits

Author SHA1 Message Date
Maria Rushkova 532b9596b3
Add modal propose community (#36) 2021-06-17 11:39:07 +02:00
Szymon Szlachtowicz 371864a4f1
Stop scrolling on modal (#39)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-17 09:41:00 +02:00
Szymon Szlachtowicz 3cd6d60188
Add voting history (#38) 2021-06-16 14:41:09 +02:00
Szymon Szlachtowicz 983e02b386
Add type filtering (#37) 2021-06-16 12:57:26 +02:00
Szymon Szlachtowicz 17442c3afa
Fix mobile scrolling (#35) 2021-06-16 11:13:28 +02:00
Maria Rushkova 99b875761a
Change voteBox layout (#34)
* Change voteBox layout

* Change link name

* Change layout for voteWinner

* Change voteBtn width

* Delete comment
2021-06-16 11:13:04 +02:00
Szymon Szlachtowicz b61510f95f
Improve sorting (#33)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 22:12:59 +02:00
Szymon Szlachtowicz 9838efd21a
Introduce config provider (#32)
* Introduce config provider

* Add tets

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 21:39:26 +02:00
Maria Rushkova fac73afec0
Add warning to modal (#31)
* Add warning to modal

* Add nouns

* Change warning props

* Change warning conditions

* Change mock hours

* Change timeLeft condition

* Refactor code
2021-06-15 16:56:22 +02:00
Szymon Szlachtowicz 4ea861b12d
Add enviroment variable to webpack (#30)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 15:45:59 +02:00
Maria Rushkova c048dde8e4
Rename states (#29) 2021-06-15 14:16:11 +02:00
Maria Rushkova 3e7d4007ed
Add range style (#28)
* Add range style

* Add vote confirm modal

* Rename components & states
2021-06-15 14:02:28 +02:00
Szymon Szlachtowicz f121d46e0c
Refactor voting cards (#26)
* Refactor voting cards

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 11:50:13 +02:00
Maria Rushkova e271cd2c97
Add slider (#27)
* Add slider

* Add state for slider amount

* Add onChange

* Change OnChange

* Add input style

* Add style input

* Improve SNT input

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-15 11:39:55 +02:00
Maria Rushkova 57f44ea4fb
Introduce card modals (#25)
* Add card modal

* Lint:fix

* Update src/components/Card.tsx

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>

* Split components

* Add card modal

* Change card layout

* Extract addCommas function

* Delete voteWinner props

* Add votesText props

* Add states for vote type

* Lint:fix

* Extract CardFeature

* Lint:fix

Co-authored-by: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com>
2021-06-14 12:16:25 +02:00
Szymon Szlachtowicz 63201216e9
Change apiMock to async (#24)
* Change apiMock to async

* Refactor tests and api mock

* Refactor useCommunities

* Change spinner color

* Fix loading on bigger screens

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-14 09:50:13 +02:00
Szymon Szlachtowicz 503ea92c90
Add voteFilter (#23)
* Add voteFilter

* Lint:fix

* Remove search bar

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-11 15:19:48 +02:00
Maria Rushkova 433d7ceab2
Add modal component (#22)
* Add link component

* Add modal to status btn

* Add children

* Lint:fix

* Add styles

* Add modal shadow

* Add link address

* Lint:fix

* Changed spelling
2021-06-11 15:19:29 +02:00
Szymon Szlachtowicz 1e92c3dfe0
Connect only on status app (#21)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-11 10:10:24 +02:00
Maria Rushkova 96129d1bae
Add filter list style (#19)
* Add filter list style

* Make FilterList work with pages

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 17:03:57 +02:00
Szymon Szlachtowicz 8f977fdd8f
Refactor directory cards (#18)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 15:38:40 +02:00
Szymon Szlachtowicz 694b4049c7
Display directory cards (#17)
* Add styling to search and sort

* lint:fix

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-10 13:44:01 +02:00
Maria Rushkova 57784a6a95
Add filter style (#16)
* Add filter style

* Add svg icons

* Add search style

* Add page bar

* Lint:fix
2021-06-10 08:22:15 +02:00
Szymon Szlachtowicz 2142399716
Display mock votes cards (#12)
* Display mock votes cards

* Introduce scrolling feature

* Lint:fix

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-09 12:58:44 +02:00
Szymon Szlachtowicz 03c6666d9d
Add vote rules (#14)
* Add feature card

* Change card feature styles

* Add ongoing vote style

* Add time left style

* Change timeleft & sum

* Add global line-height

* Add voting rules

* Lint:fix

* Add global line-height

* Add voting rules

* Lint:fix

* Add voting rules

Co-authored-by: Maria Rushkova <maryrushkova@gmail.com>
2021-06-09 10:55:59 +02:00
Maria Rushkova cc233b1902
Add feature card (#11)
* Add feature card

* Change card feature styles

* Add ongoing vote style

* Add time left style

* Change timeleft & sum

* Add btn disabled style

* Refactor Cards

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-09 08:21:38 +02:00
Maria Rushkova 4b7d42ced6
Add card component (#10)
* Add card component

* Add content width

* Delete font modules

* Add no-voting styles

* Lint:fix

* Make voteWinner optional
2021-06-08 09:37:56 +02:00
Szymon Szlachtowicz 794db0b2dd
Add api mock (#9)
* Add getCommunityDetails

* Introduce getCommunitiesInDirectory mock

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-07 20:57:52 +02:00
Szymon Szlachtowicz 5271ce0d4d
Change info page button behaviour (#7)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-07 08:40:23 +02:00
Maria Rushkova 2c307895d7
Add header (#5)
* Add global styles

* Add header

* Change button cursor

* Add btn states styles

* Delete DS_Store

* Add header styles

* Remove .DS_Store

* Add global colors

* Add Button component

* Change button component

* Change nav animation

* Delete import

* Add button styles

* Add Page Info
2021-06-07 08:06:35 +02:00
Szymon Szlachtowicz 3afde690af
Add CI (#6)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-04 12:30:43 +02:00
Szymon Szlachtowicz 0e24ceecee
Add router (#4)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-02 14:46:08 +02:00
Szymon Szlachtowicz 43cbd7756b
Add API proposal (#3)
* Add API proposal

* Change address to publicKey

Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-02 13:01:31 +02:00
Szymon Szlachtowicz 77a451e11a
Introduce base app (#2)
Co-authored-by: Szymon Szlachtowicz <szymon.szlachtowicz@Szymons-MacBook-Pro.local>
2021-06-02 10:51:58 +02:00
Szymon Szlachtowicz 7b63776692 Add gitignore file 2021-06-01 14:38:00 +02:00
Szymon Szlachtowicz 44183255b3
Initial commit 2021-06-01 13:09:38 +02:00