diff --git a/src/site/landing.ts b/src/site/landing.ts index 56ac625..c098457 100644 --- a/src/site/landing.ts +++ b/src/site/landing.ts @@ -15,8 +15,6 @@ export const landing = { secondary: 'How it works', cta: 'Open the editor — no sign-up', promise: 'No uploads. It runs in this tab.', - heroCaption: 'twelve-apostles.jpg after exposure, colour and clarity. The before is with the examples below.', - heroAlt: 'Twelve Apostles sea stacks after exposure and colour adjustments in Lightframes', results: { h2: 'Before and after, from the sample photos', lead: 'These are the sample photos shipped with the editor, processed with the same code. Nothing here is a mockup.', @@ -78,8 +76,6 @@ export const landing = { secondary: 'Cómo funciona', cta: 'Abrir el editor — sin registro', promise: 'Sin subir archivos. Se ejecuta en esta pestaña.', - heroCaption: 'twelve-apostles.jpg tras exposición, color y claridad. El antes está con los ejemplos de abajo.', - heroAlt: 'Los stacks de los Twelve Apostles tras ajustar exposición y color en Lightframes', results: { h2: 'Antes y después, con las fotos de ejemplo', lead: 'Son las fotos de ejemplo que trae el editor, procesadas con el mismo código. No hay maquetas.', diff --git a/src/site/results.ts b/src/site/results.ts index 1ebab1d..1c99ca8 100644 --- a/src/site/results.ts +++ b/src/site/results.ts @@ -227,10 +227,3 @@ export function resultExamples(lang: Lang): ResultExample[] { export function exampleForTool(toolKey: string, lang: Lang): ResultExample | undefined { return resultExamples(lang).find((example) => example.toolKey === toolKey) } - -/** The adjusted sample used as the hero result. Same file as the develop “after”. */ -export function heroResult(lang: Lang): Still { - const example = exampleForTool('raw-to-jpg', lang)! - const after = example.shots[1]! - return { ...after, label: lang === 'es' ? 'Resultado' : 'Result', priority: true } -} diff --git a/src/site/styles/site.css b/src/site/styles/site.css index 526894f..7e94ba6 100644 --- a/src/site/styles/site.css +++ b/src/site/styles/site.css @@ -502,7 +502,7 @@ a { margin-top: 0; } - .hero__result { + .hero__video { order: 4; } @@ -528,14 +528,6 @@ a { gap: 56px; padding-block: 64px 48px; } - - .hero__result .ba__shot { - flex-basis: 100%; - } -} - -.promo-band { - padding-bottom: clamp(8px, 2vw, 24px); } /* Before / after stills. Same idea as the free-presets pack: labeled frames in a row. */ diff --git a/src/site/views/LandingView.astro b/src/site/views/LandingView.astro index 3a93790..168b374 100644 --- a/src/site/views/LandingView.astro +++ b/src/site/views/LandingView.astro @@ -6,7 +6,7 @@ import { SITE, absoluteUrl } from '../config' import { entryPath, getFaq, getPosts, getTools } from '../content' import { editorPath, formatDate, href, sectionAlternates, ui, type Lang } from '../i18n' import { landing } from '../landing' -import { heroResult, resultExamples } from '../results' +import { resultExamples } from '../results' import { xmpLandingPath } from '../xmpLanding' import Base from '../layouts/Base.astro' import { faqPage, publishingOrganization, videoObject, webApplication, webPage } from '../schema' @@ -24,7 +24,6 @@ const allTools = await getTools(lang) const tools = allTools.filter((tool) => tool.data.featured) const faq = (await getFaq(lang)).slice(0, 6) const posts = (await getPosts(lang)).slice(0, 3) -const hero = heroResult(lang) const examples = resultExamples(lang) --- @@ -56,7 +55,7 @@ const examples = resultExamples(lang) if (matchMedia('(display-mode: standalone)').matches) location.replace(editorHref) - +
@@ -75,13 +74,7 @@ const examples = resultExamples(lang)

-
- -
-
- -
-
+