Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore page header #110

Closed
grod220 opened this issue Oct 24, 2024 · 1 comment · Fixed by #133
Closed

Explore page header #110

grod220 opened this issue Oct 24, 2024 · 1 comment · Fixed by #133
Assignees

Comments

@grod220
Copy link
Contributor

grod220 commented Oct 24, 2024

Desktop Skeleton:

Screenshot 2024-10-24 at 4 55 30 PM

Desktop Loaded state:
Screenshot 2024-10-24 at 4 55 50 PM

Mobile skeleton:

Screenshot 2024-10-24 at 4 56 29 PM

Mobile Loaded state:

Screenshot 2024-10-24 at 4 56 45 PM

Add penumbra background image as well 🌔

Reference: https://www.figma.com/design/xWsVprkEgEihweVN9isrGQ/DEX-(Incl.-UI-Lib)?node-id=3658-145100&node-type=canvas&t=NYogohDveZXB9V4J-0

@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Penumbra web Oct 24, 2024
@grod220 grod220 moved this to 📝 Todo in Labs web Oct 24, 2024
@grod220 grod220 added this to Labs web Oct 24, 2024
@cronokirby
Copy link
Contributor

at a first glance we can calculate these with simple queries of the pindexer summary table (take the max over all pairs, sum over all pairs, etc.), except for the number of trades, that's missing (can be added).

However, there's a genuine bit of exploration / thinking about how exactly we put things into a common numeraire (in this mockup, dollars). e.g. for the UM / OSMO pair, there's a volume in terms of UM or in terms of OSMO (the volume measures how much is trading in one direction or the other, so not just symmetrized over the price). In general, a pair might exist without there being a known price in terms of USDC; we could ignore these for the summary, but we should be cognizant that we're doing so.

@grod220 grod220 moved this from 📝 Todo to 🗄️ Backlog in Labs web Oct 24, 2024
@grod220 grod220 moved this from 🗄️ Backlog to 📝 Todo in Labs web Nov 7, 2024
@VanishMax VanishMax self-assigned this Nov 13, 2024
VanishMax added a commit that referenced this issue Nov 21, 2024
# Conflicts:
#	src/widgets/header/ui/header.tsx
#	tailwind.config.ts
VanishMax added a commit that referenced this issue Nov 27, 2024
* feat: #110: add PenumbraWaves SVG to the header

* feat: #110: add markup for the explore page header

* feat: #111: add loading markup for the pairs table

* feat: fill table with fake data

* feat: implement stats backend request

* feat: apply stats data to the explore page

* feat: #110: use server components to render the explore page

* fix: lint

* fix: move the constant out

* fix: add tablet layout
@github-project-automation github-project-automation bot moved this from 🗄️ Backlog to ✅ Done in Penumbra web Nov 27, 2024
@github-project-automation github-project-automation bot moved this from 🔎 In review to ✅ Done in Labs web Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants