Skip to content

Commit a4b12ef

Browse files
authored
feat: Add donate page. (#41)
* feat: Add donate page. * chore: Disable prettier.
1 parent 0ffe266 commit a4b12ef

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// https://github.com/sveltejs/eslint-plugin-svelte/issues/732
2-
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
32
import eslintPluginSvelte from 'eslint-plugin-svelte';
43
import js from '@eslint/js';
54
import svelteParser from 'svelte-eslint-parser';
@@ -15,7 +14,6 @@ export default [
1514
js.configs.recommended,
1615
...tsEslint.configs.strict,
1716
...eslintPluginSvelte.configs['flat/recommended'],
18-
eslintPluginPrettierRecommended, // must be last to override conflicting rules.
1917
{
2018
languageOptions: {
2119
globals: {

src/routes/donate/+page.svelte

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<svelte:head>
2+
<title>Donate to IDL</title>
3+
</svelte:head>
4+
5+
<div class="lead">Support the Interactive Data Lab</div>
6+
7+
<div class="md:hidden">
8+
<p>
9+
Join us to support cutting-edge research, student development, and impactful open source
10+
software. <a
11+
class="font-semibold"
12+
href="https://www.washington.edu/giving/make-a-gift/?page=make&code=FND-152008">Make a gift</a
13+
> to the Interactive Data Lab!
14+
</p>
15+
<div class="text-center pt-6 pb-8">
16+
<a
17+
href="https://www.washington.edu/giving/make-a-gift/?page=make&code=FND-152008"
18+
class="rounded-md bg-violet-800 px-3.5 py-2.5 text-2xl font-semibold text-white shadow-xs focus-visible:outline-2 focus-visible:outline-offset-2 hover:bg-violet-100 focus-visible:outline-violet"
19+
>Donate Now</a
20+
>
21+
</div>
22+
</div>
23+
24+
<div class="hidden md:flex flex py-5 items-center">
25+
<div class="w-48 flex-none text-center">
26+
<a
27+
href="https://www.washington.edu/giving/make-a-gift/?page=make&code=FND-152008"
28+
class="rounded-md bg-violet-800 px-3.5 py-2.5 text-lg font-semibold text-white shadow-xs focus-visible:outline-2 focus-visible:outline-offset-2 hover:bg-violet-100 focus-visible:outline-violet"
29+
>Donate Now</a
30+
>
31+
</div>
32+
<div class="flex-auto pr-10">
33+
Join us to support cutting-edge research, student development, and impactful open source
34+
software. <a
35+
class="font-semibold"
36+
href="https://www.washington.edu/giving/make-a-gift/?page=make&code=FND-152008">Make a gift</a
37+
> to the Interactive Data Lab!
38+
</div>
39+
</div>
40+
41+
<p>
42+
In addition to our <a class="font-semibold" href="papers">research output</a> and <a class="font-semibold" href="https://idl.uw.edu/visualization-curriculum/">educational curricula</a>, the Interactive Data Lab develops and contributes to popular <a class="font-semibold" href="https://github.com/uwdata/">open source software</a> projects including <a class="font-semibold" href="https://vega.github.io/vega-lite">Vega-Lite</a>, <a class="font-semibold" href="https://altair-viz.github.io/">Vega-Altair</a>, <a class="font-semibold" href="https://d3js.org">D3.js</a>, <a class="font-semibold" href="https://idl.uw.edu/arquero">Arquero</a>, and <a class="font-semibold" href="https://idl.uw.edu/mosaic">Mosaic</a>. Your gift helps us enhance people's ability to understand and communicate data, including support for student researchers and open source development.
43+
</p>
44+
45+
<p>
46+
Donations directly support the Interactive Data Lab and are processed by the UW Foundation (tax id 94-3079432). Your gift may be tax deductible as charitable contributions for U.S. federal tax purposes as allowed by IRS regulations. For more, see the <a class="font-semibold" href="https://www.washington.edu/giving/contacts/faq">UW Giving Frequently Asked Questions</a>.
47+
</p>

0 commit comments

Comments
 (0)