Skip to content

Commit 6b3dd81

Browse files
authored
Merge branch 'main' into menu-list-visibility
2 parents 2c75fd8 + 760d903 commit 6b3dd81

File tree

10 files changed

+46
-22
lines changed

10 files changed

+46
-22
lines changed

src/components/DonorBoxWidget/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="overflow-hidden mt-md pb-0 max-w-[420px] min-w-[250px]">
44
<!-- @ts-expect-error -->
55
<iframe
6-
src="https://donorbox.org/embed/back-to-school-805292?"
6+
src="https://donorbox.org/embed/support-the-processing-foundation?hide_donation_meter=true"
77
name="donorbox"
88
allowpaymentrequest="allowpaymentrequest"
99
seamless="seamless"

src/components/Dropdown/styles.module.scss

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
width: 100%;
2121
height: 100%;
2222
cursor: pointer;
23-
&:hover {
24-
border: 1px solid var(--accent-color);
25-
background-color: var(--accent-type-color);
26-
color: var(--accent-color);
23+
@media (hover: hover) and (pointer: fine) {
24+
&:hover {
25+
border: 1px solid var(--accent-color);
26+
background-color: var(--accent-type-color);
27+
color: var(--accent-color);
28+
}
2729
}
2830
}
2931

@@ -93,10 +95,13 @@
9395
}
9496
}
9597

96-
li[aria-selected="false"]:hover .icon {
97-
svg {
98-
background: var(--accent-type-color);
99-
border-radius: 2rem;
98+
// Only apply hover styles on devices with true hover capability (not touch devices)
99+
@media (hover: hover) and (pointer: fine) {
100+
li[aria-selected="false"]:hover .icon {
101+
svg {
102+
background: var(--accent-type-color);
103+
border-radius: 2rem;
104+
}
100105
}
101106
}
102107

src/content/banner/en.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
# Give each new message a unique title so we know which one a user closed
3-
title: "beta-site"
4-
link: "https://beta.p5js.org"
3+
title: "donate-page"
4+
link: "https://processingfoundation.org/donate"
55
hidden: false
66
---
77

8-
Looking for the new version? Find p5.js 2.0 here!
8+
Donate Today! Support p5.js and the Processing Foundation.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Serial Bridge
2+
category: hardware
3+
description: A desktop application that bridges serial devices (Arduino, microcontrollers) with P5.js, enabling multiple simultaneous connections and real-time data streaming through a simple JavaScript API.
4+
sourceUrl: https://github.com/IrtizaNasar/SerialBridge
5+
featuredImage: ../images/SerialBridge.png
6+
featuredImageAlt: Serial Bridge Connection Manager interface showing a dark-themed desktop application with server URL, workspace, actions menu, and a prompt to add connections for streaming data to P5.js projects
7+
author:
8+
name: IrtizaNasar
9+
url: https://github.com/IrtizaNasar
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: every
2+
category: utils
3+
description: every simplifies using time in p5.js sketch to do things like scene changes or repetitive drawing.
4+
sourceUrl: https://github.com/mngyuan/every
5+
author:
6+
- name: Kevin Lee
7+
url: http://mngyuan.com/
8+
license: MIT
9+
featuredImage: ../images/every.png
10+
featuredImageAlt: The text "every" large with "time" written below in small.
492 KB
Loading
144 KB
Loading

src/content/text-detail/en/donate.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ import donate6 from "../images/donate-6.jpeg";
1818
class="max-w-[252px] md:max-w-[312px] lg:max-w-[480px]"
1919
/>
2020

21-
Did you know? Over [800 contributors](https://github.com/processing/p5.js?tab=readme-ov-file#contributors) have shaped p5.js over the years! We believe the most meaningful innovations are those built **by and with our community**.
21+
We need your help! p5.js is free, open-source software. You can support this work by making a donation to the Processing Foundation, the organization that supports p5.js. Your donation supports software development for p5.js, education resources like code examples and tutorials, fellowships, and community events. All of these efforts make our community as open and inclusive as possible.
2222

23-
p5.js is not just a software but a community. Contributors across continents work around the clock to make p5.js more accessible, playful, and enjoyable for learners, because we believe that innovations are extra meaningful when they’re built by our community.
24-
25-
Our software gets to stay **free and open-source** thanks to generous donors like you. If p5.js has brightened your day in any way, **will you consider making a monthly donation**?
26-
27-
Thanks to our supporters who donated to the 2024 fundraiser, we were able to compensate p5.js contributors like [Vivek Bopaliya](https://medium.com/@ProcessingOrg/building-the-private-sketch-feature-what-made-this-journey-so-special-7c4a6b0de8f9) to build the private sketch feature for the p5.js Editor.
23+
To donate using crypto, DAF, or stocks, visit our <strong><a href='https://www.every.org/processing-foundation?method=crypto,stocks,daf&success_url=https%3A%2F%2Fprocessing.org%2Fdonate&exit_url=https%3A%2F%2Fprocessing.org%2Fdonate&partner_metadata=eyJzb3VyY2UiOiAicHJvY2Vzc2luZy5vcmcifQ==#donate'>Every.org donation page</a></strong> instead.
2824

2925
<DonorBoxWidget />
3026

31-
27+
The Processing Foundation was established in 2012 after more than a decade of work with the original Processing software. The Foundation’s mission is to promote software learning within the arts, artistic learning within technology-related fields, and to celebrate the diverse communities that make these fields vibrant, liberatory, and innovative. Our goal is to support people of all backgrounds in learning how to program and make creative work with code, especially those who might not otherwise have access to tools and resources. We also believe that some of the most radical futures and innovative technologies are being built by communities that have been pushed to the margins by dominant tech. We hope to support those who have been marginalized by technology in continued self-determination by providing time, space, and resources.
3228

3329
<div class="mt-xl content-grid [&>*]:col-span-3 [&>*:first-child]:col-span-4 [&>*:last-child]:col-span-4 lg:[&>*:first-child]:col-span-6 lg:[&>*:last-child]:col-span-6 lg:w-[calc(100vw-300px)]">
3430
<Image src={donate1} alt="p5.js workshop participants coding while showing their projects on screen."/>

src/layouts/EventsLayout.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ setJumpToState(null);
2525
<BaseLayout title="Events" variant="item" topic="community">
2626
<section>
2727
<ul class="content-grid-simple">
28-
{entries.map((entry) => <GridItemEvent item={entry} />)}
28+
{entries.map((entry) => (
29+
<li>
30+
<GridItemEvent item={entry} />
31+
</li>
32+
))}
2933
</ul>
3034
<PaginationNav
3135
maxNumItems={totalNumEvents}

src/layouts/PeopleLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ setJumpToState(null);
5858
<Head title={"People"} locale={currentLocale} />
5959

6060
<BaseLayout title={title} variant="item" topic="about" className="about">
61-
<h3 class="mb-xl max-w-[770px]">
61+
<p class="mb-xl max-w-[770px] text-h3">
6262
{t("peoplePage", "PageDescription")}
63-
</h3>
63+
</p>
6464
{
6565
featuredEntries.map((category, i) => (
6666
<section>

0 commit comments

Comments
 (0)