Skip to content

Commit

Permalink
Bing verify
Browse files Browse the repository at this point in the history
  • Loading branch information
PleatherStarfish committed Dec 29, 2024
1 parent dd51411 commit 6b30bae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion backend/static/css/styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backend/static/js/main.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions backend/templates/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
name="author"
content="https://github.com/PleatherStarfish/bomsquad"
/>
<meta name="msvalidate.01" content="95FEDE6E344EF52D889F3DF08A6DDC39" />
<link
rel="shortcut icon"
type="image/x-icon"
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/pages/ModuleDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,38 +156,38 @@ const ModuleDetail: React.FC = () => {
<h2 className="py-4 text-xl font-semibold sr-only">Description</h2>
<p className="pt-8 pb-4 card-text">{module.description}</p>
<div role="list">
<a href={module.manufacturer_page_link} role="listitem">
{module.manufacturer_page_link && <a href={module.manufacturer_page_link} role="listitem">
<div className="flex justify-between w-full py-3 border-b border-gray-200 group">
<div className="text-gray-400 group-hover:text-gray-500">
Manufacturer page
</div>
<LinkIcon className="w-5 h-5 text-gray-400 opacity-0 group-hover:opacity-100 group-hover:text-gray-500" />
</div>
</a>
<a href={module.bom_link} role="listitem">
</a>}
{module.bom_link && <a href={module.bom_link} role="listitem">
<div className="flex justify-between w-full py-3 border-b border-gray-200 group">
<div className="text-gray-400 group-hover:text-gray-500">
Bill of materials
</div>
<LinkIcon className="w-5 h-5 text-gray-400 opacity-0 group-hover:opacity-100 group-hover:text-gray-500" />
</div>
</a>
<a href={module.manual_link} role="listitem">
</a>}
{module.manual_link && <a href={module.manual_link} role="listitem">
<div className="flex justify-between w-full py-3 border-b border-gray-200 group">
<div className="text-gray-400 group-hover:text-gray-500">
User manual
</div>
<LinkIcon className="w-5 h-5 text-gray-400 opacity-0 group-hover:opacity-100 group-hover:text-gray-500" />
</div>
</a>
<a href={module.modulargrid_link} role="listitem">
</a>}
{module.modulargrid_link && <a href={module.modulargrid_link} role="listitem">
<div className="flex justify-between w-full py-3 border-b border-gray-200 group">
<div className="text-gray-400 group-hover:text-gray-500">
Modulargrid link
</div>
<LinkIcon className="w-5 h-5 text-gray-400 opacity-0 group-hover:opacity-100 group-hover:text-gray-500" />
</div>
</a>
</a>}
</div>
</div>
{/* <div className="flex justify-between mt-6">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/styles/styles.css

Large diffs are not rendered by default.

0 comments on commit 6b30bae

Please sign in to comment.