Skip to content

Commit

Permalink
take down the pkg index
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 25, 2024
1 parent 58cac04 commit 9c5906f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pkgx.dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<Route path='/' element={<HomeFeed />} />
<Route path='/privacy-policy' element={<PrivacyPolicy/>} />
<Route path='/terms-of-use' element={<TermsOfUse/>} />
<Route path='/pkgs' element={<PackageShowcase />} />
<Route path='/pkgs/*' element={<PackageListing/>} />
</Routes>
<Footer/>
</Stack>
Expand Down
2 changes: 2 additions & 0 deletions src/pkgx.dev/HomeFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ function FeedItemBox(item: FeedItem) {
const { url, title, image, description, type } = item
const text_style: CSSProperties = {whiteSpace: 'nowrap', textOverflow: 'ellipsis', overflow: 'hidden'}

if (type == 'pkg') return

const color = (() => {
switch (type) {
case 'blog': return 'secondary'
Expand Down

0 comments on commit 9c5906f

Please sign in to comment.