Skip to content

Commit

Permalink
Revert "Update strategyGuides based on window.EXCLUDE_FILES value"
Browse files Browse the repository at this point in the history
This reverts commit 076cf42.
  • Loading branch information
ioanSL committed Mar 19, 2024
1 parent af4d3e2 commit 93d7e7f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const dAppGuides = [
},
]

export const strategyGuides = window.EXCLUDE_FILES === 'false' ? [
export const strategyGuides = [
{
title: 'LUSD Strategy',
to: '/docs/concepts/strategies/lusd',
Expand All @@ -72,12 +72,7 @@ export const strategyGuides = window.EXCLUDE_FILES === 'false' ? [
to: '/docs/concepts/strategies/liquidStaking',
text: 'Learn how to stake ETH',
}
] : [
{
title: 'LUSD Strategy',
to: '/docs/concepts/strategies/lusd',
text: 'Learn how to borrow LUSD',
}

]

const IconWrapper = styled.div`
Expand Down Expand Up @@ -245,11 +240,6 @@ export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout title={'Nimbora Docs | Nimbora Yield Dex'} description='Welcome to Nimbora Docs! Learn more about how to use Nimbora. Get informed about Nimbora mechanism, SDK and more'>
<head>
<script>
window.EXCLUDE_FILES = htmlWebpackPlugin.options.EXCLUDE_FILES;
</script>
</head>
<Container>
<DocsHeader>
<div
Expand Down

0 comments on commit 93d7e7f

Please sign in to comment.