├── runtime.txt ├── requirements.txt ├── netlify.toml ├── Makefile ├── images └── favicon.png ├── .pre-commit-config.yaml ├── README.md ├── company_page.jinja2 ├── contact.html ├── .gitignore ├── index.jinja2 ├── donations.yaml ├── css ├── normalize.css └── skeleton.css └── logos.py /runtime.txt: -------------------------------------------------------------------------------- 1 | 3.6 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | jinja2 2 | ruamel.yaml 3 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | command = "make" 3 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ./build_websites.py donations.yaml 3 | -------------------------------------------------------------------------------- /images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/katrielalex/fec-filings-analysis/HEAD/images/favicon.png -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | fail_fast: false 2 | 3 | repos: 4 | - repo: git://github.com/pre-commit/pre-commit-hooks 5 | sha: v1.1.1 6 | hooks: 7 | - id: check-case-conflict 8 | - id: check-executables-have-shebangs 9 | - id: check-symlinks 10 | - id: end-of-file-fixer 11 | - id: mixed-line-ending 12 | - id: trailing-whitespace 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # donationsfrom.tech 2 | 3 | This branch hosts https://donationsfrom.tech via Netlify's continuous integration. 4 | 5 | To build, `make`, which reads `donations.yaml` and renders it through `template.jinja2`. This happens automatically when netlify deploys. 6 | 7 | ## Contributing 8 | 9 | If you find some donations you think should be on here, please do make a pull request! Otherwise, you can send them to me via the contact form or by filing an issue, but it might take me a while to get around to them. 10 | 11 | Instructions: 12 | 13 | If the company logo is not in font-awesome: 14 | 15 | - find an SVG logo and add it to [logos.py](https://github.com/katrielalex/fec-filings-analysis/blob/gh-pages/logos.py). You'll probably need to twiddle with the bounding box and colors to make it look ok when rendered 16 | - add the company to the mapping at [the bottom of logos.py](https://github.com/katrielalex/fec-filings-analysis/blob/0aa82e9aeadee2c66b5067139b33a048858555e1/logos.py#L87) 17 | 18 | Either way: 19 | - add the new donations to [donations.yaml](https://github.com/katrielalex/fec-filings-analysis/blob/gh-pages/donations.yaml) 20 | -------------------------------------------------------------------------------- /company_page.jinja2: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 17 |
18 | 19 | 21 | 22 |Did you know that {{ company.title() }} has a PAC which donates money to various US candidates? Including: 56 |
60 | [ source ] 61 |
62 |63 | Tell your friends! 64 |
65 | 66 |53 |
64 | 65 |59 | In the United States, PACs are allowed to 60 | donate up to $5000 to political candidates each year. Many big tech companies have their 61 | own PAC and donate the maximum allowed. These donations are visible in the public 62 | record, so I looked up some of them. Pick your company above and check it out!
63 |64 | Didn't realise the company you worked for was doing this? Don't think that your company 65 | should have a PAC? Make your voice heard! 66 |
67 | 68 |
70 | Everyone else is doing it, why shouldn't we?
71 |
72 | Actually, is doing just
73 | fine without a PAC.
74 |
76 | But $MY_COMPANY donates to $SOMEONE as well!
77 |
78 | Two wrongs don't make a right. If they didn't have a PAC at all this wouldn't be a problem.
79 |
81 | Why are all the donations so... small?
82 |
83 | Legal
84 | limits on how much PACs can donate.
85 |
87 | Can I dig in more?
88 |
Absolutely! Check out the FEC pages (linked from each
89 | company),
90 | or PoliticalModeling.com.
91 |
93 | How can I help?
94 |
95 | Pull
96 | requests gratefully accepted, particularly to add more companies! Or
97 | just ping me.
98 |