Commit Graph
10 Commits
Author SHA1 Message Date
Matt Godbolt cfb3dc54c7 Sponsorship changes (#4274)
Rotate sponsors on the top of the page:
- `topIcon` -> `topIconShowEvery`
- `Sponsors` becomes an interface with methods to get levels, pick sponsors etc
- A somewhat acceptable algorithm for generating a "fair choice" of sponsors given the constraints:
  - "show at least 1 in N times"
  - don't unfairly show one sponsor more than any other at the same level
 - Sponsor icons are loaded dynamically via a "bits" handler (introducing a short delay in them appearing), but this means the index.html doesn't change on every load, so it's still cacheable
2022-11-13 10:35:39 -06:00
Matt Godbolt ca0bfdf22b Support multiple sponsor descripts (#4200)
* Support multiple sponsor descripts
2022-10-26 07:33:48 -05:00
RabsRincon fe5882fc26 Give some breathing room to icons in links 2021-03-19 21:26:18 +01:00
Patrick Quist 32aadc90e7 [#RandomThingsNobodyAskedFor] Noscript pages (#2120)
* hello world again

* alt texts for sponsor icons

* lintfixes

* moved noscript alongside normal views and things

* language listitems

* offer link to noscript version when needed

* filter fixes and add execution output to text output

* reuse more things, add special css, support filters and execution to noscript

* bugfix

* bugfixes

* add icons because why not

* main sponsor urls

* support noscript z links

* start of better mobile view in noscript mode

* move files to noscript folder, fixes

* try to run script in mobile

* script works now

* refactoring

* scale textarea when theres css

* fix sponsorlink

* hide hidden compilers

* duplicate change from trunk
2020-08-29 21:33:37 +02:00
Matt Godbolt e28e3df9ec Tweaks for PVS Studio 2020-08-13 22:20:20 -05:00
Matt Godbolt d953a00732 Rename sponsor to ces in te CSS to alleviate blocker woes. Closes #2023 2020-06-12 09:10:34 -05:00
Matt Godbolt 453bef9a56 Adding another sponsor; PVS Studio 2020-05-22 08:49:16 -05:00
Austin Morton 4792a12283 Fix minor height difference of sponsor menu item 2020-05-14 20:04:35 -04:00
Matt Godbolt e9441f38ec Add first corporate sponsor 2020-05-07 22:14:37 -05:00
Matt Godbolt ecffaefaab Read thanks/sponsors on demand.
Implement @apmorton's idea. Not sure about either `partial`, `_partial` or
the `bits` I went with...thoughts welcomed!
2020-04-12 18:12:08 -05:00