mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
Merge pull request #31 from Permissionless-Software-Foundation/ct-unstable
Adding filters to Content Creators page
This commit is contained in:
@@ -117,6 +117,7 @@ function ContentCard (props) {
|
|||||||
refreshFollowList={refreshFollowList}
|
refreshFollowList={refreshFollowList}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className='btn btn-primary btn-sm rounded-pill px-3'
|
className='btn btn-primary btn-sm rounded-pill px-3'
|
||||||
style={{ fontSize: '0.875rem', minWidth: '100px' }}
|
style={{ fontSize: '0.875rem', minWidth: '100px' }}
|
||||||
@@ -124,6 +125,8 @@ function ContentCard (props) {
|
|||||||
<i className='bi bi-chat-dots me-1' />
|
<i className='bi bi-chat-dots me-1' />
|
||||||
Message
|
Message
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<small>Followers: {creator.followerCnt}</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect, useCallback } from 'react'
|
import React, { useState, useEffect, useCallback } from 'react'
|
||||||
import { Container, Spinner } from 'react-bootstrap'
|
import { Container, Spinner, Form } from 'react-bootstrap'
|
||||||
|
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
// Local libraries
|
// Local libraries
|
||||||
@@ -70,10 +70,19 @@ function ContentCreators (props) {
|
|||||||
<div className='mb-4'>
|
<div className='mb-4'>
|
||||||
<h2 className='text-center mb-3'>Content Creators</h2>
|
<h2 className='text-center mb-3'>Content Creators</h2>
|
||||||
<p className='text-center text-muted'>
|
<p className='text-center text-muted'>
|
||||||
Discover amazing content creators in the Bitcoin Cash ecosystem
|
Discover amazing creators tokenizing their content.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className='mb-4'>
|
||||||
|
<h3>Filters</h3>
|
||||||
|
<Form.Select>
|
||||||
|
<option>Most Followers</option>
|
||||||
|
<option>Most Tokens</option>
|
||||||
|
<option>Most Likes</option>
|
||||||
|
</Form.Select>
|
||||||
|
</div>
|
||||||
|
|
||||||
{!loaded && (
|
{!loaded && (
|
||||||
<div className='text-center text-muted py-5 bg-light rounded-4 shadow-sm'>
|
<div className='text-center text-muted py-5 bg-light rounded-4 shadow-sm'>
|
||||||
<Spinner animation='border' />
|
<Spinner animation='border' />
|
||||||
|
|||||||
+2
-1
@@ -14,7 +14,8 @@ const config = {
|
|||||||
ghRepo: 'https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2',
|
ghRepo: 'https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2',
|
||||||
radicleUrl: 'https://app.radicle.network/seeds/maple.radicle.garden/rad:git:hnrkd5cjwwb5tzx37hq9uqm5ubon7ee468xcy/remotes/hyyycncbn9qzqmobnhjq9rry6t4mbjiadzjoyhaknzxjcz3cxkpfpc',
|
radicleUrl: 'https://app.radicle.network/seeds/maple.radicle.garden/rad:git:hnrkd5cjwwb5tzx37hq9uqm5ubon7ee468xcy/remotes/hyyycncbn9qzqmobnhjq9rry6t4mbjiadzjoyhaknzxjcz3cxkpfpc',
|
||||||
|
|
||||||
dexServer: 'https://dex-api.fullstack.cash',
|
// dexServer: 'https://dex-api.fullstack.cash',
|
||||||
|
dexServer: 'http://localhost:5700',
|
||||||
|
|
||||||
nostrTopic: 'bch-dex-test-topic-02',
|
nostrTopic: 'bch-dex-test-topic-02',
|
||||||
nostrRelay: 'wss://nostr-relay.psfoundation.info'
|
nostrRelay: 'wss://nostr-relay.psfoundation.info'
|
||||||
|
|||||||
Reference in New Issue
Block a user