Skip to content

Commit

Permalink
Remove bom-builder page
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbah committed Apr 12, 2024
1 parent 64bbbb3 commit 0fb0fb9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 86 deletions.
5 changes: 5 additions & 0 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ module.exports = async phase => {
destination: '/:user/:repo*',
permanent: true,
},
{
source: '/bom-builder',
destination: 'https://github.com/kitspace/bom-builder',
permanent: false,
},
]
},
}
Expand Down
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"license": "AGPL-3.0",
"dependencies": {
"1-click-bom-minimal": "https://github.com/kitspace/npm-1-click-bom-minimal",
"@justinribeiro/lite-youtube": "^1.3.1",
"express": "^4.17.3",
"file-loader": "^6.0.0",
"highlight.js": "^11.6.0",
Expand Down
28 changes: 0 additions & 28 deletions frontend/src/components/LiteYouTube/index.jsx

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/components/LiteYouTube/index.module.scss

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/components/NavBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ const SiteMenuItems = () => {
Projects
</Menu.Item>
</Link>
<Link passHref href="/bom-builder">
<Menu.Item active={pathname === '/bom-builder'} as="a">
BOM Builder
</Menu.Item>
</Link>
<Link passHref href="/1-click-bom">
<Menu.Item active={pathname === '/1-click-bom'} as="a">
1-click BOM
Expand Down
7 changes: 1 addition & 6 deletions frontend/src/pages/1-click-bom.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react'
import Image from 'next/image'
import Link from 'next/link'

import Page from '@components/Page'

Expand Down Expand Up @@ -30,11 +29,7 @@ const OneClickBom = () => (
1-click BOM is a browser extension that fills your shopping carts for you on
sites like Digikey and Mouser. It lets you simply click on the &quot;buy
parts&quot; links on Kitspace to get the right parts. You can also use it
directly with your own spreadsheets or with our{' '}
<Link href="/bom-builder">
<a>BOM Builder</a>
</Link>{' '}
tool.
directly with your own spreadsheet.
</p>
<p>
<a href="https://github.com/kitspace/1clickBOM#readme">
Expand Down
41 changes: 0 additions & 41 deletions frontend/src/pages/bom-builder.jsx

This file was deleted.

0 comments on commit 0fb0fb9

Please sign in to comment.