From 8cd909f2533246310a0f678efebc8a377c2f66a6 Mon Sep 17 00:00:00 2001 From: jheer Date: Wed, 26 Feb 2025 14:09:18 -0800 Subject: [PATCH 1/2] feat: Add donate page. --- src/routes/donate/+page.svelte | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/routes/donate/+page.svelte diff --git a/src/routes/donate/+page.svelte b/src/routes/donate/+page.svelte new file mode 100644 index 0000000..b927eff --- /dev/null +++ b/src/routes/donate/+page.svelte @@ -0,0 +1,35 @@ + + Donate to IDL + + +
Support the Interactive Data Lab
+ +
+

+ Join us to support cutting-edge research, student development, and impactful open source software. Make a gift to the Interactive Data Lab! +

+ +
+ + + +

+ In addition to our research output and educational curricula, the Interactive Data Lab develops and contributes to popular open source software projects including Vega-Lite, Vega-Altair, D3.js, Arquero, and Mosaic. Your gift helps us enhance people's ability to understand and communicate data, including support for student researchers and open source development. +

+ +

+ 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 UW Giving Frequently Asked Questions. +

From aa517d26d133a9670c559672d060b00230573570 Mon Sep 17 00:00:00 2001 From: jheer Date: Wed, 26 Feb 2025 14:26:31 -0800 Subject: [PATCH 2/2] chore: Disable prettier. --- eslint.config.js | 2 -- src/routes/donate/+page.svelte | 20 ++++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 1ffeda4..f410f92 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,4 @@ // https://github.com/sveltejs/eslint-plugin-svelte/issues/732 -import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; import eslintPluginSvelte from 'eslint-plugin-svelte'; import js from '@eslint/js'; import svelteParser from 'svelte-eslint-parser'; @@ -15,7 +14,6 @@ export default [ js.configs.recommended, ...tsEslint.configs.strict, ...eslintPluginSvelte.configs['flat/recommended'], - eslintPluginPrettierRecommended, // must be last to override conflicting rules. { languageOptions: { globals: { diff --git a/src/routes/donate/+page.svelte b/src/routes/donate/+page.svelte index b927eff..1cbf354 100644 --- a/src/routes/donate/+page.svelte +++ b/src/routes/donate/+page.svelte @@ -6,12 +6,18 @@

- Join us to support cutting-edge research, student development, and impactful open source software. Make a gift to the Interactive Data Lab! + Join us to support cutting-edge research, student development, and impactful open source + software. Make a gift to the Interactive Data Lab!

Donate Now + 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" + >Donate Now
@@ -19,10 +25,16 @@
Donate Now + 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" + >Donate Now
- Join us to support cutting-edge research, successful students, and impactful open source software. Make a gift to the Interactive Data Lab! + Join us to support cutting-edge research, student development, and impactful open source + software. Make a gift to the Interactive Data Lab!