Commit Graph

1501 Commits

Author SHA1 Message Date
dysbulic
4eebd1375c adding Chakra UI's <CacheProvider> 2023-07-10 12:55:52 -04:00
Seroxdesign
a2119b5e8b return logo 2023-07-06 09:44:42 -06:00
Seroxdesign
070283bad0 remove changes to style breakpoints improve text size, add new breakpoints 2023-07-06 09:44:42 -06:00
Seroxdesign
ab62645b0b fixes to style system 2023-07-06 09:44:42 -06:00
Seroxdesign
bb830eaab2 break point changes and Megamenu design fixes 2023-07-06 09:44:42 -06:00
Seroxdesign
686e1bc396 fix bug 2023-07-06 09:44:42 -06:00
HHH-GH
71c3fa3a9a Edit button visible only to Quest owner
Was visible to all during design feedback phase
2023-06-28 09:56:59 -06:00
HHH-GH
4245d5cee1 Take out the 'more' in the +X skills tag 2023-06-28 09:56:59 -06:00
HHH-GH
1df7d94464 Default maxSkills set to 5 to try to keep the skills list to two lines in the QuestTile 2023-06-28 09:56:59 -06:00
HHH-GH
37ce27f7f5 Add tooltip that lists the names of the skills that didn't fit in the list in QuestTile 2023-06-28 09:56:59 -06:00
HHH-GH
cbfcd9ba03 Add zIndex to WrapItem to lift it over the LinkOverlay that makes the whole tile a click target
This allows the Tooltip to display when hovered
2023-06-28 09:56:59 -06:00
HHH-GH
825d492992 The tag for extra skills says +5 *more* instead of just +5 2023-06-28 09:56:59 -06:00
HHH-GH
90b3f3370b Up to 6 skills are shown in each tile on the Quest Explorer page 2023-06-28 09:56:59 -06:00
HHH-GH
cba294ebd2 The full list of skills are shown on the Quest view page
Previously limited to 4 skills, with no way to view any skills past that limit
2023-06-28 09:56:59 -06:00
HHH-GH
a08e8d1115 Preview of edit and delete buttons
(Neither button does anything right now, design preview only)
2023-06-28 09:56:59 -06:00
HHH-GH
15acf85e36 Use new colour namess in button variants (instead of the previous hexidecimal values) 2023-06-28 09:56:59 -06:00
HHH-GH
b1a5add369 Add new colours to MetaColors in the design system 2023-06-28 09:56:59 -06:00
HHH-GH
5b7fa24f28 Add grays to design system colours
As per https://www.figma.com/file/dYIP5MuJTHP1Ce3nKR1fzi/Component-Library?type=design&node-id=331-438&t=WwI8JgydakiTIOCY-0
2023-06-28 09:56:59 -06:00
HHH-GH
2a67ad1432 Add button variant styles for secondary, outline, ghost, warning
As per https://www.figma.com/file/dYIP5MuJTHP1Ce3nKR1fzi/Component-Library?type=design&node-id=1406-4820&t=WwI8JgydakiTIOCY-0
2023-06-28 09:56:59 -06:00
HHH-GH
73ea119ec2 Preview of edit and delete buttons in layout
(The buttons don't do anything right now)
2023-06-28 09:56:59 -06:00
HHH-GH
626f6217f5 ...and they're saying :first-of-type is better than :first-child with static rendering 2023-06-28 09:56:59 -06:00
HHH-GH
3bb9ee49f0 Roles tags are not shown in the Quest tile
Because it makes the tile look too tall
2023-06-28 09:56:59 -06:00
HHH-GH
17e1049973 Fix the links for Epic/Rare NFTs, previously mixed up
This bug spotted by Musashi13
2023-06-28 09:56:59 -06:00
HHH-GH
8667518ab7 Update the link for Become a Player
Sneaked into this PR by request of @peth-yursick
2023-06-28 09:56:59 -06:00
HHH-GH
046bebbfff Hide or show a tooltip or accordion for Quest dashboard widget info depending on screensize 2023-06-28 09:56:59 -06:00
HHH-GH
5cc307104a Implement responsive design for Create Quest button 2023-06-28 09:56:59 -06:00
HHH-GH
2ce0533e22 Add examples of edit and delete buttons
Clicking the buttons doesn't do anything
2023-06-28 09:56:59 -06:00
HHH-GH
7e12a3d1d1 Update Rewards text 2023-06-28 09:56:59 -06:00
HHH-GH
949451240a Add the Quest Status and Repetition tags to the Quest Details page
Changed the border radius and font size of the tags to better match the new design
2023-06-28 09:56:59 -06:00
HHH-GH
0e3be86c85 Make the Proposals heading match the rest of the design—font fam, weight, size, etc 2023-06-28 09:56:59 -06:00
HHH-GH
6be230c608 Fixes in Quest tiles: the text in the heading is clipped properly if it is longer than two lines, the quest image has a border radius on the top corners only, the Quest description is clipped to 3 lines 2023-06-28 09:56:59 -06:00
HHH-GH
f28c62b383 Add CSS rules to de-format the descriptions in the quest tiles in the Quests list
Because the descriptions are added by users and can have HTML and Markdown, and for e.g. if someone put in three headings right at the start of the description the description text would be huge and card would be really tall with the font size and margins and all that
2023-06-28 09:56:59 -06:00
HHH-GH
1d6059ce3d Use the new default quest image in the create and edit flows 2023-06-28 09:56:59 -06:00
HHH-GH
d2f11051a8 Border radius on Requirements and Rewards boxes matches the the Quest Image at 10px 2023-06-28 09:56:59 -06:00
HHH-GH
3c59194e5d The main image on the quest details is 1/1 ratio til md size, then 4/3 ratio after that 2023-06-28 09:56:59 -06:00
HHH-GH
062b27b225 A component to use Chakra AspectRatio for the Quest Tile image
Plus rounded corners for the Quest Images to match the Figma design
2023-06-28 09:56:59 -06:00
HHH-GH
aaaf14d373 Change the default quest image to match the Figma design 2023-06-28 09:56:59 -06:00
HHH-GH
5135022592 Fix alignment and grammar for the 'no proposals' message 2023-06-28 09:56:59 -06:00
HHH-GH
8981b73702 Typography for the Quest description matches the new design
Ref: https://www.figma.com/file/2yEeQUrgPOrLOq6DpC6Mb7/Quests-UI?node-id=519-2199&t=f7ABDY7Dw2Yxtrsc-0
2023-06-28 09:56:59 -06:00
HHH-GH
a758606bc6 Make the sub-titles into headings again
Ref: https://github.com/MetaFam/TheGame/pull/1461#issuecomment-1337893636
2023-06-28 09:56:59 -06:00
HHH-GH
7ec0d8a56b Quest Details page split into components, layout is finished
TODO(HHH-GH): some CSS rules to make the description match the new design, then remove the test text
2023-06-28 09:56:59 -06:00
HHH-GH
e30b2db8b6 Quest Explorer list shows 50 quests by default
TODO(HHH-GH): test this in an environment where there are more than 10 quests
2023-06-28 09:56:59 -06:00
HHH-GH
151ab18109 Remove the check for having a description
Placeholder text is added if there's no quest description, so there's always going to be a description
2023-06-28 09:56:59 -06:00
HHH-GH
0e5135257e Border radius on tags matches new design, skills and roles tags are both md size 2023-06-28 09:56:59 -06:00
HHH-GH
850df45f17 Put back the LinkOverlay so the whole card is a link target
BUT there needs to be a LinkOverlay for MetaTileHeader and MetaTileBody so that links inside the Quest Description don't cause hydration errors
2023-06-28 09:56:59 -06:00
HHH-GH
20660aed9e Update Quest Tiles layout
Change LinkOverlay to link
Pass a size to SquareImage
Style of heading matches new design
Take out the read more button and related code
Alignment of description, roles tags, and skills tags
TODO(HHH-GH): the hydration error, look at why a description can be blank
2023-06-28 09:56:59 -06:00
HHH-GH
b16f45d8d6 Tidy up the basic layout of the Quest Explorer page
Spacings, font sizes/weights, widths, etc
2023-06-28 09:56:59 -06:00
Seroxdesign
0ae1cead0f remove unused dep 2023-06-21 09:25:07 -06:00
Seroxdesign
eb9a31a017 comment 2023-06-21 09:25:07 -06:00
Sero
f3dacf1a26 Update JoinUs.tsx 2023-06-21 09:25:07 -06:00