diff --git a/website/app/jetbrains/[slug]/page.tsx b/website/app/jetbrains/[slug]/page.tsx index b23720b..a70df24 100644 --- a/website/app/jetbrains/[slug]/page.tsx +++ b/website/app/jetbrains/[slug]/page.tsx @@ -1,4 +1,5 @@ import type {Metadata} from 'next'; +import Image from 'next/image'; import Link from 'next/link'; import {notFound} from 'next/navigation'; import {ArrowLeft,Download,ExternalLink,Github} from 'lucide-react'; @@ -16,9 +17,9 @@ export async function generateMetadata({params}:{params:Promise<{slug:string}>}) if(!p) return {}; return { title:`${p.name} for JetBrains IDEs`, - description:`${p.summary} For ${JETBRAINS_IDES.slice(0,6).join(', ')} and every JetBrains IDE, version ${p.since} or newer. Free.`, + description:`${p.summary} ${p.ides?`For ${p.ides.join(' and ')}`:`For ${JETBRAINS_IDES.slice(0,6).join(', ')} and every JetBrains IDE`}, version ${p.since} or newer. Free.`, alternates:{canonical:`/jetbrains/${p.slug}`}, - openGraph:{url:`/jetbrains/${p.slug}`,title:`${p.name} for JetBrains IDEs`,description:p.tagline}, + openGraph:{url:`/jetbrains/${p.slug}`,title:`${p.name} for ${p.ides?.[0]??'JetBrains IDEs'}`,description:p.tagline}, }; } @@ -43,7 +44,7 @@ export default async function JetBrainsPluginPage({params}:{params:Promise<{slug {/* eslint-disable-next-line @next/next/no-img-element -- the plugin's own SVG icon */} {`${p.name}
- For JetBrains IDEs · {p.since}+ + For {p.ides?p.ides.join(' and '):'JetBrains IDEs'} · {p.since}+

{p.name.replace(/ Veyra$/,'')} Veyra

@@ -54,13 +55,27 @@ export default async function JetBrainsPluginPage({params}:{params:Promise<{slug :Download the plugin (.zip, {p.size})} Source code -
{JETBRAINS_IDES.map(ide=>{ide})}
+
{(p.ides??JETBRAINS_IDES).map(ide=>{ide})}
+ {p.shot&&
+
+
+ {p.shot.alt} +
+
+ SEE IT +

A real device, one click.

+

{p.shot.caption}

+

Every setting goes back with Reset, so your phone is never left in a strange state.

+
+
+
} +
-
FEATURES

What it does.

Version {p.version} · Free · MIT · Windows, macOS and Linux

+
FEATURES

What it does.

Version {p.version} · Free · MIT · Windows, macOS and Linux{p.ides?' · Android 8 and newer, emulators and real phones':''}

{p.features.map(f=>

{f.title}

{f.copy}

)}
diff --git a/website/app/jetbrains/jetbrains.css b/website/app/jetbrains/jetbrains.css index 39abf2a..d2965f2 100644 --- a/website/app/jetbrains/jetbrains.css +++ b/website/app/jetbrains/jetbrains.css @@ -83,3 +83,13 @@ @media (max-width:900px){.jb-steps,.jb-features{grid-template-columns:1fr 1fr}.jb-plugin-hero{grid-template-columns:1fr}} @media (max-width:560px){.jb-hero{padding:104px 0 50px}.jb-steps,.jb-features{grid-template-columns:1fr}.jb-grid{grid-template-columns:1fr}} @media (prefers-reduced-motion:reduce){.jb-fields i{animation:none}.jb-card,.jb-btn{transition:none}} + +/* A real screenshot next to its story (Device Lab) */ +.jb-shot{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:56px;align-items:center} +.jb-shot figure{margin:0;padding:10px;border-radius:34px;background:linear-gradient(160deg,#2b2b36,#0b0b0f);border:1px solid var(--jb-line);box-shadow:0 30px 80px #0009} +.jb-shot img{display:block;width:100%;height:auto;border-radius:26px} +.jb-shot small{color:var(--jb-dim);font:600 12px/1 var(--font-mono,monospace);letter-spacing:.14em} +.jb-shot h2{margin:12px 0 0;font-size:clamp(30px,4vw,48px);letter-spacing:-.03em} +.jb-shot p{margin:18px 0 0;max-width:520px;color:#d6d6e0;font-size:17px;line-height:1.65} +.jb-shot p.jb-dim{color:var(--jb-dim);font-size:15px} +@media (max-width:760px){.jb-shot{grid-template-columns:1fr;gap:28px}.jb-shot figure{max-width:280px;margin:0 auto}} diff --git a/website/lib/jetbrains.ts b/website/lib/jetbrains.ts index ae56ffe..f84560b 100644 --- a/website/lib/jetbrains.ts +++ b/website/lib/jetbrains.ts @@ -24,6 +24,10 @@ export type JetBrainsPlugin = { features: { title: string; copy: string }[]; /** Where to find it in the IDE. */ where: string[]; + /** The IDEs it is made for, when not every JetBrains IDE. */ + ides?: string[]; + /** A real screenshot of what it does. */ + shot?: { src: string; width: number; height: number; alt: string; caption: string }; }; export const JETBRAINS_IDES = ['IntelliJ IDEA', 'WebStorm', 'PyCharm', 'GoLand', 'PhpStorm', 'Rider', 'CLion', 'RubyMine', 'RustRover', 'DataGrip', 'Android Studio']; @@ -52,6 +56,31 @@ export const JETBRAINS_PLUGINS: JetBrainsPlugin[] = [ ], where: ['View → Tool Windows → Ports', 'Tools → Show Ports in Use', 'Tools → Free a Port…', 'The “N ports” counter in the status bar'], }, + { + slug: 'device-lab', + name: 'Device Lab Veyra', + tagline: 'Test your Android app the way your users really use it.', + summary: 'A control panel for your phone or emulator in Android Studio: dark theme, the largest font, Arabic and right-to-left, slow animations, airplane mode, permissions and deep links, each in one click.', + version: '1.0.0', + file: '/downloads/jetbrains/device-lab-veyra-1.0.0.zip', + size: '97 KB', + icon: '/device-lab-jetbrains.svg', + since: '2024.3', + marketplace: null, + source: 'https://github.com/fcopensource/jetbrains-plugins/tree/main/device-lab-veyra', + released: '2026-11-15', + features: [ + { title: 'Worst case, in one click', copy: 'The largest font, the largest display size, right-to-left and dark theme at once: the hardest screen your layout will ever meet. Reset puts the phone back exactly as it was.' }, + { title: 'Every look your users have', copy: 'Light, dark or auto theme, font size up to 200 %, display size from Small to Largest. Find cut-off text and hard-coded colours in seconds.' }, + { title: 'Any language, right-to-left', copy: 'Switch only your app to Arabic, Hebrew, German, Thai, Japanese and more (Android 13+), or Android’s pseudolocales to spot text you forgot to translate.' }, + { title: 'Permissions with a checkbox', copy: 'Grant or revoke each runtime permission your app asks for, to test every “permission denied” path without reinstalling.' }, + { title: 'Your deep links, ready to open', copy: 'Reads the links in your AndroidManifest.xml and Navigation graphs. Open one and see which screen opened, cold or warm, and how fast.' }, + { title: 'Debug switches and screenshots', copy: 'Animations off to 10× slower, layout bounds, show taps, airplane mode, and a clean 12:00 status bar for store screenshots, saved straight into the editor.' }, + ], + where: ['View → Tool Windows → Device Lab (right side)', 'Tools → Open Device Lab', 'Tools → Device Lab: Set adb Path… (only if your Android SDK is somewhere unusual)'], + ides: ['Android Studio', 'IntelliJ IDEA'], + shot: { src: '/device-lab-worst-case.png', width: 1080, height: 2400, alt: 'An Android emulator showing Settings in Arabic, right-to-left, dark theme, with the largest font and layout bounds', caption: 'One click on Worst case, then Layout bounds and a clean status bar: Settings on an Android 16 emulator in Arabic, right-to-left, dark, at 200 % font.' }, + }, ]; export const jetbrainsPlugin = (slug: string) => JETBRAINS_PLUGINS.find(p => p.slug === slug); diff --git a/website/public/device-lab-jetbrains.svg b/website/public/device-lab-jetbrains.svg new file mode 100644 index 0000000..5420499 --- /dev/null +++ b/website/public/device-lab-jetbrains.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/website/public/device-lab-worst-case.png b/website/public/device-lab-worst-case.png new file mode 100644 index 0000000..d9534ea Binary files /dev/null and b/website/public/device-lab-worst-case.png differ diff --git a/website/public/downloads/jetbrains/device-lab-veyra-1.0.0.zip b/website/public/downloads/jetbrains/device-lab-veyra-1.0.0.zip new file mode 100644 index 0000000..8bf8fa5 Binary files /dev/null and b/website/public/downloads/jetbrains/device-lab-veyra-1.0.0.zip differ