Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Update ecosystem.js
Browse files Browse the repository at this point in the history
remove feature pages from individual categories
  • Loading branch information
nullmames committed May 13, 2022
1 parent 2a6863d commit a118f43
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/ecosystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ const EcosystemPage = (props) => {
<div className={'row'}>
{ecosystems.map((ecosystem,index) => {
return (
ecosystem.category === 'Dapp' && !ecosystem.featured ? (<div key={index} className={'col-6 col-md-3 p-2'}>
ecosystem.category === 'Dapp' && (<div key={index} className={'col-6 col-md-3 p-2'}>
<Ecosystem ecosystem={ecosystem}/>
</div>) : ''
</div>)
)
})}
</div>
Expand All @@ -171,9 +171,9 @@ const EcosystemPage = (props) => {
<div className={'row'}>
{ecosystems.map((ecosystem,index) => {
return (
ecosystem.category === 'Contracts' && !ecosystem.featured ? (<div key={index} className={'col-6 col-md-3 p-2'}>
ecosystem.category === 'Contracts' && (<div key={index} className={'col-6 col-md-3 p-2'}>
<Ecosystem ecosystem={ecosystem}/>
</div>) : ''
</div>)
)
})}
</div>
Expand All @@ -189,25 +189,25 @@ const EcosystemPage = (props) => {
<div className={'row'}>
{ecosystems.map((ecosystem,index) => {
return (
ecosystem.category === 'Tools' && !ecosystem.featured ? (<div key={index} className={'col-6 col-md-3 p-2'}>
ecosystem.category === 'Tools' && (<div key={index} className={'col-6 col-md-3 p-2'}>
<Ecosystem ecosystem={ecosystem}/>
</div>) : ''
</div>)
)
})}
</div>
</div>

<div className="tab-pane fade" id="nav-dao" role="tabpanel"
aria-labelledby="nav-dao-tab">
<div className={'row mt-5 d-none'}>
<div className={'row mt-5'}>
<div className={'col-12'}>
<h6 className={'mb-2'}>DAOs</h6>
</div>
</div>
<div className={'row d-none'}>
<div className={'row'}>
{daos.map((dao,index) => {
return (
!dao.featured && (<div key={index} className={'col-6 col-md-3 p-2'}>
dao.category === 'DAO' && (<div key={index} className={'col-6 col-md-3 p-2'}>
<Ecosystem ecosystem={dao}/>
</div>)
)
Expand Down

0 comments on commit a118f43

Please sign in to comment.