Skip to content

Commit

Permalink
more data
Browse files Browse the repository at this point in the history
  • Loading branch information
PleatherStarfish committed Dec 10, 2024
1 parent 454fc12 commit 9ea2a78
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 10 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SKU,Farads,Farads Unit,Voltage,Tolerance,Manufacturer,Size,Mounting Style,Price,Link,Category
A-7528,0.01,μF,100V,10%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/10nf-100v-10-polyester-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7219,33.0,pF,1000V,5%,WIMA,Radial,th,0.45,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/33pf-1000v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7224,47.0,pF,1000V,5%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/47pf-1000v-5-polyester-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7003,100.0,pF,100V,5%,WIMA,Radial,th,0.29,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/100pf-100v-5-polypropylene-film-foil-box-type.html,Polypropylene Capacitors
A-7005,1000.0,pF,100V,5%,WIMA,Radial,th,0.32,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/1000pf-100v-2-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7218,1500.0,pF,1000V,5%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/1500pf-1000v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7220,220.0,pF,100V,5%,WIMA,Radial,th,0.40,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/220pf-100v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7222,3300.0,pF,63V,5%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/3300pf-63v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7526,220.0,pF,1000V,5%,WIMA,Radial,th,0.35,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/220pf-1000v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7221,470.0,pF,100V,5%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/470pf-100v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7225,2200.0,pF,100V,5%,WIMA,Radial,th,0.32,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/2200pf-100v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7004,470.0,pF,1000V,5%,WIMA,Radial,th,0.28,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/470pf-1000v-5-polypropylene-film-foil-box-type.html,Polypropylene Capacitors
A-7223,4700.0,pF,100V,10%,WIMA,Radial,th,0.42,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/4700pf-100v-10-polyester-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7525,6800.0,pF,63V,5%,WIMA,Radial,th,0.39,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/6800pf-63v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
A-7527,680.0,pF,1000V,5%,WIMA,Radial,th,0.39,https://www.taydaelectronics.com/capacitors/polypropylene-film-foil-capacitors/680pf-1000v-5-polypropylene-film-foil-box-type-capacitor.html,Polypropylene Capacitors
37 changes: 37 additions & 0 deletions backend/core/management/commands/tantalum_capacitors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
SKU,Farads,Farads Unit,Voltage,Tolerance,Manufacturer,Size,Mounting Style,Price,Link,Category
A-1606,0.1,μF,35V,,AVX,Radial,th,0.11,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-1uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-1607,0.1,μF,50V,,AVX,Radial,th,0.11,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-1uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-412,0.22,μF,50V,,AVX,Radial,th,0.13,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-22uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-1608,0.33,μF,50V,,AVX,Radial,th,0.13,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-33uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5100,0.33,μF,35V,,AVX,Radial,th,0.15,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-33-uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-415,0.47,μF,35V,,AVX,Radial,th,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-47uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5101,0.47,μF,50V,,AVX,Radial,th,0.15,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-47uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-1610,0.68,μF,50V,,AVX,Radial,th,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/0-68uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-265,1.0,μF,35V,,AVX,Radial,th,0.13,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-622,1.0,μF,50V,,AVX,Radial,th,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1uf-50v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-6429,1.0,μF,50V,,JB CAPACITORS,Radial,th,0.29,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1uf-50v-radial-tantalum-capacitor-jta.html,Tantalum Capacitors
A-5222,1.0,μF,25V,20%,ROHM,1206,smt,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1-uf-25v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-5099,1.0,μF,16V,,AVX,Radial,th,0.11,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5221,1.5,μF,16V,20%,ROHM,1206,smt,0.07,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/1-5-uf-16v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-416,2.2,μF,25V,,AVX,Radial,th,0.14,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/2-2uf-25v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-4771,2.2,μF,16V,10%,AVX,1206,smt,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/2-2uf-16v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-417,3.3,μF,25V,,AVX,Radial,th,0.14,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/3-3uf-25v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-1609,4.7,μF,25V,,AVX,Radial,th,0.16,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/4-7uf-25v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-4774,4.7,μF,16V,20%,ROHM,1206,smt,0.08,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/4-7-uf-16-v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-1611,6.8,μF,25V,,AVX,Radial,th,0.19,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/6-8uf-25v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5223,6.8,μF,16V,20%,ROHM,1206,smt,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/6.8-uf-16v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-6428,10.0,μF,16V,,JB CAPACITORS,Radial,th,0.15,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/10uf-16v-radial-tantalum-capacitor-jta.html,Tantalum Capacitors
A-266,10.0,μF,16V,,AVX,Radial,th,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/10uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-4770,10.0,μF,16V,10%,AVX,1206,smt,0.12,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/10uf-16v-tantalum-chip-capacitor-1411.html,Tantalum Capacitors
A-5226,10.0,μF,35V,,AVX,Radial,th,0.40,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/10-uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5224,15.0,μF,16V,,AVX,Radial,th,0.23,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/15-uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5230,15.0,μF,10V,20%,ROHM,1206,smt,0.07,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/15uf-10-v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-633,22.0,μF,16V,,AVX,Radial,th,0.23,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/22uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5220,22.0,μF,10V,20%,ROHM,1206,smt,0.13,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/22uf-10v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-422,33.0,μF,16V,,AVX,Radial,th,0.31,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/33uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-4772,33.0,μF,3V,10%,AVX,1206,smt,0.15,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/33uf-6-3-v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-4436,47.0,μF,35V,,AVX,Radial,th,1.00,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/47uf-35v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-5200,47.0,μF,3V,20%,ROHM,1206,smt,0.07,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/47uf-6-3-v-tantalum-chip-capacitor-1206.html,Tantalum Capacitors
A-5227,68.0,μF,25V,,AVX,Radial,th,0.75,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/68-uf-25v-radial-tantalum-capacitor.html,Tantalum Capacitors
A-4773,100.0,μF,16V,10%,AVX,2917,smt,0.50,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/100uf-16-v-tantalum-chip-capacitor-2917.html,Tantalum Capacitors
A-5225,100.0,μF,16V,,AVX,Radial,th,0.57,https://www.taydaelectronics.com/capacitors/tantalum-capacitors/100-uf-16v-radial-tantalum-capacitor.html,Tantalum Capacitors
2 changes: 1 addition & 1 deletion backend/static/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/static/js/main.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/src/styles/styles.css

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions frontend/src/ui/HeaderWithButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {useState, useEffect, useRef} from "react";
import { useInView } from "react-intersection-observer";
import { useSpring, animated } from "@react-spring/web";
import { ArrowDownOnSquareIcon } from "@heroicons/react/24/outline";

import cv from "classnames"

interface HeaderWithButtonProps {
title: string;
Expand Down Expand Up @@ -60,13 +60,15 @@ const HeaderWithButton: React.FC<HeaderWithButtonProps> = ({
<div className="w-full border-t border-gray-300" />
</div>

<div className="relative flex items-center justify-between">
<h1 className="pr-3 text-3xl font-semibold text-gray-900 bg-white font-display">
{title}
</h1>
<div className={isNear ? "animate-bounce" : ""} ref={buttonRef}>
<div className="relative flex flex-wrap items-center justify-between gap-y-4 md:flex-nowrap">
<div className="w-full md:w-auto">
<h1 className="pr-3 text-3xl font-semibold text-center text-gray-900 bg-white font-display">
{title}
</h1>
</div>
<div className={cv("flex justify-center w-full md:w-auto", {"animate-bounce": isNear})} ref={buttonRef}>
<animated.button
className="inline-flex items-center gap-x-1.5 rounded-full bg-[#588a6d] px-3 py-1.5 text-md font-semibold shadow-md text-white hover:text-white hover:bg-[#588a6d] transition-all duration-500"
className={cv("justify-center md:justify-start text-gray-600 hover:bg-gray-600 ring-gray-600 inline-flex items-center gap-x-1.5 rounded-md md:rounded-full bg-white px-3 py-1.5 text-md ring-1 ring-inset font-semibold shadow-sm hover:text-white transition-all duration-500 w-full mt-10 md:mt-0 md:w-auto", {"text-pink-600 hover:bg-pink-600 ring-pink-600": isNear})}
onClick={onButtonClick}
ref={ref}
style={styles}
Expand Down

0 comments on commit 9ea2a78

Please sign in to comment.