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

(feature) Landing Page #138

Merged
merged 80 commits into from
Mar 5, 2021
Merged

(feature) Landing Page #138

merged 80 commits into from
Mar 5, 2021

Conversation

gabitoesmiapodo
Copy link
Contributor

@gabitoesmiapodo gabitoesmiapodo commented Mar 4, 2021

Closes #59

This includes the landing page and some extra fixes and enhancements that I needed to implement this (Overview section fixes and the auction's timer in Auction Details).

It's mostly static content, but there are also the Featured Auctions and the Active Auctions widget.

I'll fix the missing tokens' icons in another issue.

2021-03-04_17-29
2021-03-04_17-29_1

gabitoesmiapodo and others added 30 commits February 18, 2021 09:43
* develop:
  Add title to the current price item (#77)
  Fix checksum address (#79)
  Update text (#78)
* develop:
  Add some minor improvements (#76)

# Conflicts:
#	package.json
* develop:
  Fix chart, in case no order has been placed (#83)
  Changing contract to newest version, supporting allowLists (#86)
  addingg .env back (#87)
  Add improvement with useMemo (#81)

# Conflicts:
#	src/components/AuctionDetails/index.tsx
#	src/components/OrderbookBtn.tsx
#	src/components/OrderbookChart.tsx
#	src/components/OrderbookChartSmall.tsx
#	src/constants/index.ts
#	src/hooks/usePlaceOrderCallback.ts
* develop:
  Add zoom feature to chart (#85)

# Conflicts:
#	src/components/OrderbookBtn.tsx
#	src/components/OrderbookChart.tsx
* develop:
  Readme title change (#95)
* feature/#62-#74:
  Add engine
  Update yarn.lock
  Update linter config
  Fix some linter errors
* coolest-design-ever:
  Fix small typo (#112)
  Add improvements for typings (#111)

# Conflicts:
#	src/components/AuctionHeader/index.tsx
#	src/components/CurrencyInputPanel/index.tsx
#	src/components/PriceInputPanel/index.tsx
#	src/state/orderPlacement/hooks.ts
* coolest-design-ever:
  (Feature) Auction Details (#115)
  Fix import
  Allow the api to fetch data, even when account is not loaded (#116)
  fixes nasty error: tx arguments not correct (#117)
  [Issue-40] Warn users, if they want to place an order with an price, similar to another order of theirs. (#106)

# Conflicts:
#	src/components/auction/OrderPlacement/index.tsx
@gabitoesmiapodo gabitoesmiapodo changed the title feature/#59 (feature) Landing Page Mar 4, 2021
@gabitoesmiapodo gabitoesmiapodo self-assigned this Mar 4, 2021
@gabitoesmiapodo gabitoesmiapodo linked an issue Mar 5, 2021 that may be closed by this pull request
Copy link
Contributor

@mariano-aguero mariano-aguero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, We have some problems with the use of the default chain Id, but I think we can work on it in another issue so we can move forward, I will create an issue for tha

@mariano-aguero mariano-aguero merged commit 6317b84 into coolest-design-ever Mar 5, 2021
@mariano-aguero mariano-aguero deleted the feature/#59 branch March 5, 2021 13:29
export const FeaturedAuctions: React.FC<Props> = (props) => {
const { auctionsAmount = 3, ...restProps } = props
// We should think about how to get a network id without connection to metamask
const chainId = 4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is just a reference to this issue

gabitoesmiapodo added a commit that referenced this pull request Mar 11, 2021
* (Feature) New general layout (#100)

* (add) sanitize.css

* (fix) linting and general setup

* (add) common components

* (add) footer, header

* (fix) icon color

* (add) favicon

* (Add) header user not connected styles

* (fix) footer styles

* (add) header dropdown

* (add) user address

* (add) user dropdown changes

* (add) dropdown styles

* (add) connect modal

* (add) transactions modal

* (add) theme switch

* (remove) unused component

* (hide) theme toggle

* Fix some linter errors

* Update linter config

* Update yarn.lock

* Add engine

* Add test to clear cache

* Revert last commit

* Fix lint problems

* Fix more lint problems

* Fix typo

* Add getWalletName and disconnect

Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com>

* Auction page should load, even if web3 wallet is not yet connected. (#108)

* Add support to use the application offline

* Remove unused vars

* tiny corrections

Co-authored-by: josojo <josojo@hotmail.de>

* Add improvements for typings (#111)

* Improve typings

* Add env CI: false to test deploy

* Add ignore comments for the moment

* Fix small typo (#112)

* fixes nasty error: tx arguments not correct (#117)

* Allow the api to fetch data, even when account is not loaded (#116)

* Fix import

* (Feature) Auction Details (#115)

* (add) sanitize.css

* (fix) linting and general setup

* (add) common components

* (add) footer, header

* (fix) icon color

* (add) favicon

* (Add) header user not connected styles

* (fix) footer styles

* (add) header dropdown

* (add) user address

* (add) user dropdown changes

* (add) dropdown styles

* (add) connect modal

* (add) transactions modal

* (add) theme switch

* (remove) unused component

* (remove) more unused components

* (hide) theme toggle

* Fix some linter errors

* Update linter config

* Update yarn.lock

* Add engine

* (fix) linting

* (remove) unused component

* (add) title, subtitle, copy button

* (add) auction details values

* (add) tooltip

* (add) external link button

* (remove) unused dependency

* (add) token icons

* (add) separation

* (add) base timer

* (refactor) timer code

* (add) text format

* (add) timer and grid styles

* (fix) auction progress

* (add) orders table

* (add) status icons

* (fix) crash

* (add) missing auction state

* (fix) linting

* (fix) make the auctions page less messy

* (fix) several layout issues

* (add) spinner

* (add) buttons

* (add) token text

* (add) amount input

* (add) price input

* (add) some checking

* (add) spinner for chart

* (add) approval text

* (fix) fuckup

* (fix) validations

* (fix) validations and folder placement

* (add) error display

* (add) better errors

* Fix modal warning

Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com>

* Fix small problems in the console (#121)

* Fix problem with auction info card

* Fix division by zero (#123)

* Add continue when a buyAmount is zero

* Add console error

* [issues-98] Pulling in the tokenLogo (#127)

* pull logos from uniswap token list

* fetch all tokens at the same time

* Add new endpoint for auctions (#129)

* Add endpoint to fetch auction details

* Add hook to fetch auction details

* Fix bad use of useMemo

* Refactoring

* Update hook to use the new endpoint for auction details

* Apply update to use auctionStartDate and a setInterval instead of setTimeout

* (feature) Landing Page (#138)

* (add) sanitize.css

* (fix) linting and general setup

* (add) common components

* (add) footer, header

* (fix) icon color

* (add) favicon

* (Add) header user not connected styles

* (fix) footer styles

* (add) header dropdown

* (add) user address

* (add) user dropdown changes

* (add) dropdown styles

* (add) connect modal

* (add) transactions modal

* (add) theme switch

* (remove) unused component

* (remove) more unused components

* (hide) theme toggle

* Fix some linter errors

* Update linter config

* Update yarn.lock

* Add engine

* (fix) linting

* (remove) unused component

* (add) title, subtitle, copy button

* (add) auction details values

* (add) tooltip

* (add) external link button

* (remove) unused dependency

* (add) token icons

* (add) separation

* (add) base timer

* (refactor) timer code

* (add) text format

* (add) timer and grid styles

* (fix) auction progress

* (add) orders table

* (add) status icons

* (fix) crash

* (add) missing auction state

* (fix) linting

* (fix) make the auctions page less messy

* (fix) several layout issues

* (add) spinner

* (add) buttons

* (add) token text

* (add) amount input

* (add) price input

* (add) some checking

* (add) spinner for chart

* (add) approval text

* (fix) fuckup

* (fix) validations

* (fix) validations and folder placement

* (add) error display

* (add) better errors

* (add) some routes and placeholder sections

* (update) gitignore

* (fix) gitignore

* (add) featured auctions loading spinner

* (add) landing page contents

* (add) landing page contents

* (add) featured auctions card styles

* (update) yarn.lock

* (add) featured actions progress bar

* (fix) auction progress

* (fix) scroll

Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com>

* Solution to several issues (#139)

* Update lock file

* Add check for undefined

* Add loading and claiming state

* Add symbol tokens

* Add new property

* Fix perfomance issue

* Add loading validation

* Add improvement to hook using auction details endpoint

* Revert config redux

* Fix validations

* Fix decimals (#145)

* Allow to fetch all highlighted auctions from all networks (#146)

* (Feature) Claiming (#149)

* (add) claiming section styles

* (fix) make paths windows compatible

* (fix) Invalid network error (#154)

* fix invalid netwrok error

* (remove) console statement

Co-authored-by: Gabriel Rodriguez Alsina <gabriel.rodriguez@altoros.com>

* Add improvement for order cancellation (#155)

* Add improvements to the chart (#153)

* Add improvements to the chart

* Add proper validation for tokens

* Remove unused component, add more grids

* (Feature) Several fixes (#156)

* (add) text gradient

* (add) token logo

* (add) token placeholder for missing token's images

* (fix) logo font

* (add) Auction's network to featured auctions cards.

* (fix) token symbol font size

* (add) network name to auction details

* (remove) text

* (add) better text description

Co-authored-by: Gabriel Rodríguez Alsina <gabitoesmiapodo@users.noreply.github.com>
Co-authored-by: josojo <josojo@hotmail.de>
Co-authored-by: Jose A. Ramirez C <jarcodallo@gmail.com>
Co-authored-by: Gabriel Rodriguez Alsina <gabriel.rodriguez@altoros.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] Landing page UI implementation
2 participants