-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #400 from Dark-Matter-Labs/staging
Internal Link and refactoring
- Loading branch information
Showing
11 changed files
with
352 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export default function ExplinationText({ selected }) { | ||
return ( | ||
<div className='sm:py-6 sm:ml-3 mt-5 mb-4 global-margin sm:m-0'> | ||
{selected === 'beleid' && ( | ||
<p className='p-base'>Vooral geïnteresseerd in het stimuleren van houtbouw via beleid?</p> | ||
)} | ||
{selected === 'inkoop' && ( | ||
<p className='p-base'> | ||
Bekijk hoe je via tenders en aanbestedingen houtbouw kunt stimuleren. | ||
</p> | ||
)} | ||
{selected === 'grondpositie' && ( | ||
<p className='p-base'> | ||
Ben je als overheid grondeigenaar? Bekijk de mogelijkheden om houtbouw af te dwingen. | ||
</p> | ||
)} | ||
{selected === 'subsidie' && ( | ||
<p className='p-base'>Bekijk hoe je via subsidies houtbouw kunt stimuleren.</p> | ||
)} | ||
{selected === 'fiscaal' && ( | ||
<p className='p-base'>Bekijk hoe je via fiscale maatregelen houtbouw kunt stimuleren.</p> | ||
)} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import DisplayInstruments from './display-instruments'; | ||
import ExpertisePageInstrument from './expertise-page-instrument'; | ||
|
||
export default function TabLayout({ selected, category, transitionAgenda, isPending }) { | ||
return ( | ||
<> | ||
<div className={`${isPending ? 'min-h-[1200px] bg-white' : ''}`}> | ||
{/* DISPLAY INSTRUMENTS DESKTOP */} | ||
<div className='flex flex-col'> | ||
<ul> | ||
{selected === 'beleid' && transitionAgenda === 'bouw' && ( | ||
<DisplayInstruments category={category} categoryName='beleid' /> | ||
)} | ||
</ul> | ||
<ul> | ||
{selected === 'beleid' && | ||
transitionAgenda !== 'bouw' && | ||
category.map((instrument) => ( | ||
<ExpertisePageInstrument key={instrument.titel} instrument={instrument} /> | ||
))} | ||
</ul> | ||
<ul> | ||
{selected === 'inkoop' && ( | ||
<DisplayInstruments category={category} categoryName='inkoop' /> | ||
)} | ||
</ul> | ||
<ul> | ||
{selected == 'grondpositie' && transitionAgenda === 'bouw' && ( | ||
<DisplayInstruments category={category} categoryName='grondpositie' /> | ||
)} | ||
</ul> | ||
<ul> | ||
{selected === 'grondpositie' && | ||
transitionAgenda !== 'bouw' && | ||
category.map((instrument) => ( | ||
<ExpertisePageInstrument key={instrument.titel} instrument={instrument} /> | ||
))} | ||
</ul> | ||
<ul className=''> | ||
{selected === 'subsidie' && | ||
category.map((instrument) => ( | ||
<ExpertisePageInstrument key={instrument.titel} instrument={instrument} /> | ||
))} | ||
</ul> | ||
<ul> | ||
{selected === 'fiscaal' && | ||
category.map((instrument) => ( | ||
<ExpertisePageInstrument key={instrument.titel} instrument={instrument} /> | ||
))} | ||
</ul> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
Oops, something went wrong.
babd179
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
circulaw – ./
circulaw-git-main-dark-matter-labs.vercel.app
www.circulaw.nl
circulaw-dark-matter-labs.vercel.app
circulaw.nl