Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions app/contact/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ export const metadata: Metadata = {
export default function ContactPage() {
return (
<>
<PageHeader
eyebrow="Get involved"
title="Help shape distributed quality management"
description="Whether you'd like to ask a question or participate in the research, we'd like to hear from you."
/>
<PageHeader title="Help shape distributed quality management" description="" />
<ContactChoices />
</>
);
Expand Down
7 changes: 4 additions & 3 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3932,13 +3932,13 @@ textarea:focus-visible,
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(32px, 6vw, 80px);
margin-top: 40px;
margin-top: 32px;
}
.contact-path {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16px;
gap: 12px;
}
.contact-path-icon {
display: grid;
Expand All @@ -3959,12 +3959,13 @@ textarea:focus-visible,
color: var(--muted);
}
.contact-path .contact-email {
margin: 0;
color: var(--grape);
text-decoration: underline;
text-underline-offset: 4px;
}
.contact-path .button {
margin-top: auto;
margin-top: 0;
}
.connect-section {
padding-block: 48px 24px;
Expand Down
10 changes: 9 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ export const metadata: Metadata = {
description:
"OpenDQM is building an open, shared, trusted ecosystem for distributed quality management.",
applicationName: "OpenDQM",
icons: { icon: [{ url: assetPath("/favicon.svg"), type: "image/svg+xml" }] },
icons: {
icon: [
{ url: assetPath("/images/favicon/favicon.ico"), sizes: "any" },
{ url: assetPath("/images/favicon/favicon-96x96.png"), type: "image/png", sizes: "96x96" },
{ url: assetPath("/images/favicon/favicon.svg"), type: "image/svg+xml", sizes: "any" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid serving full-resolution rasters in the favicon SVG

Modern browsers selecting this SVG download an 862 KB file containing two embedded 2000×2000 PNGs merely to render a tiny tab icon; the previous favicon was about 150 KB and the new PNG fallback is only 5 KB. This adds roughly 700 KB to a first visit and substantial raster decode work, so the adaptive asset should use actual vector paths or appropriately downsampled embedded images.

Useful? React with 👍 / 👎.

],
apple: [{ url: assetPath("/images/favicon/apple-touch-icon.png"), sizes: "180x180" }]
},
manifest: assetPath("/images/favicon/site.webmanifest"),
keywords: [
"OpenDQM",
"distributed quality management",
Expand Down
3 changes: 0 additions & 3 deletions components/ContactChoices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ export function ContactChoices() {
<section className="section contact-choices" aria-labelledby="connect-title">
<div className="container">
<h2 id="connect-title">Connect with the team</h2>
<p className="connect-intro">Choose how you’d like to get involved.</p>
<div className="contact-paths">
<article className="contact-path">
<span className="contact-path-icon">
<BrandIcon kind="mail" />
</span>
<h3>Email the team</h3>
<p>Ask a question or start a conversation.</p>
<a className="contact-email" href="mailto:info@opendqm.org">
info@opendqm.org
</a>
Expand All @@ -49,7 +47,6 @@ export function ContactChoices() {
<BrandIcon kind="calendar" />
</span>
<h3>Schedule an Interview</h3>
<p>Share your experience and help inform the research.</p>
<button
className="button button-primary"
type="button"
Expand Down
10 changes: 1 addition & 9 deletions components/InterviewForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ export function InterviewForm() {
>
<div className="container interview-panel">
<h2 id="interview-title">Schedule an Interview</h2>
<p>
Share your experience and help shape OpenDQM research. Tell us when you’re available; the
team will contact you to arrange an interview.
</p>
<p>Share your experience and help shape OpenDQM research.</p>
<div ref={feedback} tabIndex={-1} role={errors.length ? "alert" : "status"}>
{errors.length > 0 && (
<ul className="form-errors">
Expand Down Expand Up @@ -151,13 +148,8 @@ export function InterviewForm() {
maxLength={2000}
rows={5}
placeholder="I'm usually available Oct. 15-18 after 2 PM, Friday mornings, or Tuesday Oct. 20 between 10 AM and 1 PM."
aria-describedby="availability-help"
/>
</label>
<p id="availability-help" className="form-help">
Tell us what works for you in your own words. The team will follow up to confirm a
time.
</p>
<label className="timezone-field">
Your time zone
<input
Expand Down
Binary file added public/images/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/favicon/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/favicon/favicon.ico
Binary file not shown.
17 changes: 17 additions & 0 deletions public/images/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/images/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "OpenDQM",
"short_name": "OpenDQM",
"icons": [
{
"src": "web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Stop marking the unpadded logos as maskable

On platforms that apply a mask to installed-app icons, both supplied images can be visibly cropped because their foreground extends nearly edge-to-edge (x=2–187 in the 192px image and x=5–499 in the 512px image) on a transparent canvas, outside the maskable safe zone. Provide opaque, padded maskable variants or declare these files with purpose any so the platform adds the required padding.

Useful? React with 👍 / 👎.

},
{
"src": "web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading