Commit Graph

24 Commits

Author SHA1 Message Date
Filip Krawczyk 8e9b1e17e4
Merge branch 'master' into media-view 2020-09-12 23:13:52 +02:00
krawieck 77d54016f3 Change `urlLanucher` signature to include `instanceUrl` 2020-09-12 09:30:22 +02:00
krawieck 4cc1bd56b0 Make banner fullscreenable 2020-09-11 20:43:00 +02:00
krawieck 0f8a846e8a Make images in community, instance, markdown fullscreenable 2020-09-11 20:38:50 +02:00
krawieck 36534becf4 don't be engwy liter-senpai 2020-09-10 15:35:06 +02:00
krawieck 446b2ca598 remove modifying system chrome 2020-09-10 15:30:06 +02:00
krawieck 53f5570666 Remove unneeded context passing 2020-09-10 15:18:24 +02:00
krawieck 4ca8e96e97 use `useEffect` instead of just plainly changing systemChrome 2020-09-10 15:16:45 +02:00
krawieck 71272af69c Adjust brightness so that status bar sets itself to the right color 2020-09-09 22:15:39 +02:00
krawieck 11e6c4881b add more menu 2020-09-09 22:04:50 +02:00
krawieck 1162fb1cd7 Create universal functions for going to common pages 2020-09-09 17:41:54 +02:00
krawieck 45e42ac322 Convert functions with immidiate returns to expressions
change () { return X; }
    to () => X
2020-09-07 23:13:05 +02:00
krawieck 4deafcb29f Instead of passing to `_AboutTab` hardcode functions
the hardcoded functions are:
* `goToUser`
* `goToModLog`
* `goToCategories`
2020-09-07 23:09:53 +02:00
krawieck c2dedb14ac Make 3 constructors for `CommunityPage` instead of 2
instead of single default constructor using name of the
community, there are now 2 where first takes community
name, and second which takes the id
2020-09-07 21:57:43 +02:00
krawieck f00c02b631 Fix misuse of `assert` 2020-09-07 21:47:33 +02:00
krawieck e7380b4914 Move constructors above methods 2020-09-07 21:42:04 +02:00
krawieck 29e40887fb Tiny visual tweaks 2020-09-07 16:24:09 +02:00
krawieck 86f203ae55 Change flat buttons to outline buttons 2020-09-07 16:23:53 +02:00
krawieck 48a0851e06 Make buttons more round (and stylish ) 2020-09-06 00:39:38 +02:00
krawieck af3787740c Adjust padding on badges 2020-09-06 00:08:50 +02:00
krawieck e3dc2d1e14 Rename `_AboutSection` to `_AboutTab` 2020-09-06 00:03:52 +02:00
krawieck ff827e6126 Add category, modlog, list of mods, and refine other stuff 2020-09-05 19:27:11 +02:00
krawieck be49e93b28 Add about section with description and badges 2020-09-05 18:17:09 +02:00
krawieck 88d796def7 Create `CommunityPage` and create everything above tabs 2020-09-05 17:13:23 +02:00