diff --git a/CHANGELOG.md b/CHANGELOG.md index 87dc4b7..2b0a370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,30 @@ Versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Changed — homepage shows seven quick actions; "More tools" box removed + +Before a file was chosen, the homepage's tool card offered no concrete +operation — just the Convert/Compress toggle and an empty target-format +dropdown — and on the homepage the PDF tools (split, extract, compress) +appeared only as small text links in a "More tools" box below the fold (plus +the footer). This is the first visible step of surfacing operations earlier. + +The tool card now shows, under the drop zone, seven secondary "chip" links +under an "Or choose directly" label — Compress PDF, JPG to PDF, Word to PDF, +Split PDF, Extract PDF pages, HEIC to JPG and Compress image (KB/MB) — +followed by an "All tools →" link. All seven point at pages that already +exist; "(KB/MB)" signals file size, not pixel dimensions. They render only on +the homepage — the same tool card is shared by `/compress` and the 12 +`/convert/` pages, which would otherwise show self-links — and step +aside while files are selected, returning when the selection is cleared. The +"More tools" box is gone; its links now live in the chips and the "All tools" +link. The subline above the tool gains "PDF". Redact is no longer teased on +the homepage — it still appears in the footer and on /tools when AI +operations are enabled. + +`scripts/i18n.py update` now passes `--ignore-obsolete`, so removed strings +are dropped from the catalogs instead of piling up as `#~` blocks. + ### Fixed — FAQ, `/llms.txt`, JSON-LD and README listed an outdated set of formats The homepage FAQ answer "Which file formats can I convert?" (DE and EN), the diff --git a/app/api/routes/pages.py b/app/api/routes/pages.py index 256232b..0da0aa3 100644 --- a/app/api/routes/pages.py +++ b/app/api/routes/pages.py @@ -140,6 +140,10 @@ async def index(request: Request): plans={p.tier: p for p in pricing_mod.saas_plans(locale)}, saas_prices_configured=pricing_mod.saas_prices_configured(), price_currency=pricing_mod.price_currency(), + # Homepage-only chip row inside the shared convert_tool.html partial + # (docs-internal/operations-visibility-konzept.md) — no other route + # sets this. + show_quick_actions=True, ) diff --git a/app/static/css/tailwind.86732528.css b/app/static/css/tailwind.86732528.css new file mode 100644 index 0000000..4fb4891 --- /dev/null +++ b/app/static/css/tailwind.86732528.css @@ -0,0 +1 @@ +*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.-top-3{top:-.75rem}.bottom-0{bottom:0}.left-1\/2{left:50%}.right-0{right:0}.top-10{top:2.5rem}.z-40{z-index:40}.z-50{z-index:50}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-5{margin-left:1.25rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.max-h-32{max-height:8rem}.max-h-48{max-height:12rem}.min-h-11{min-height:2.75rem}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.max-w-page{max-width:64rem}.max-w-prose-narrow{max-width:42rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:5rem}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-4{row-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.125rem*var(--tw-space-y-reverse));margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.375rem*var(--tw-space-y-reverse));margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2.5rem*var(--tw-space-y-reverse));margin-top:calc(2.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.625rem*var(--tw-space-y-reverse));margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))}.space-y-20>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(5rem*var(--tw-space-y-reverse));margin-top:calc(5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.25rem*var(--tw-space-y-reverse));margin-top:calc(1.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.space-y-section-y>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(5rem*var(--tw-space-y-reverse));margin-top:calc(5rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-800>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(31 41 55/var(--tw-divide-opacity,1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl,.rounded-card{border-radius:1rem}.rounded-control{border-radius:.625rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-900\/50{border-color:rgba(120,53,15,.5)}.border-brand{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.border-brand\/30{border-color:rgba(99,102,241,.3)}.border-brand\/40{border-color:rgba(99,102,241,.4)}.border-emerald-700{--tw-border-opacity:1;border-color:rgb(4 120 87/var(--tw-border-opacity,1))}.border-emerald-800{--tw-border-opacity:1;border-color:rgb(6 95 70/var(--tw-border-opacity,1))}.border-emerald-900\/50{border-color:rgba(6,78,59,.5)}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\/60{border-color:rgba(31,41,55,.6)}.border-hairline{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-hairline\/50{border-color:rgba(31,41,55,.5)}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-red-900{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity,1))}.border-sky-900\/50{border-color:rgba(12,74,110,.5)}.border-sky-900\/60{border-color:rgba(12,74,110,.6)}.bg-amber-950{--tw-bg-opacity:1;background-color:rgb(69 26 3/var(--tw-bg-opacity,1))}.bg-amber-950\/40{background-color:rgba(69,26,3,.4)}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/70{background-color:rgba(0,0,0,.7)}.bg-brand{--tw-bg-opacity:1;background-color:rgb(99 102 241/var(--tw-bg-opacity,1))}.bg-brand\/10{background-color:rgba(99,102,241,.1)}.bg-brand\/20{background-color:rgba(99,102,241,.2)}.bg-brand\/5{background-color:rgba(99,102,241,.05)}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity,1))}.bg-emerald-950{--tw-bg-opacity:1;background-color:rgb(2 44 34/var(--tw-bg-opacity,1))}.bg-emerald-950\/40{background-color:rgba(2,44,34,.4)}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\/40{background-color:rgba(31,41,55,.4)}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\/50{background-color:rgba(17,24,39,.5)}.bg-gray-950{--tw-bg-opacity:1;background-color:rgb(3 7 18/var(--tw-bg-opacity,1))}.bg-red-950{--tw-bg-opacity:1;background-color:rgb(69 10 10/var(--tw-bg-opacity,1))}.bg-red-950\/40{background-color:rgba(69,10,10,.4)}.bg-sky-950\/40{background-color:rgba(8,47,73,.4)}.bg-sky-950\/50{background-color:rgba(8,47,73,.5)}.bg-surface-raised{--tw-bg-opacity:1;background-color:rgb(23 25 34/var(--tw-bg-opacity,1))}.bg-surface-sunken{--tw-bg-opacity:1;background-color:rgb(10 12 16/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8,.p-card-pad-lg{padding:2rem}.p-card-pad-md{padding:1.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-12{padding-bottom:3rem;padding-top:3rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-2{padding-bottom:.5rem}.pl-4{padding-left:1rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-8xl{font-size:6rem;line-height:1}.text-\[10px\]{font-size:10px}.text-base{font-size:1rem;line-height:1.5rem}.text-eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.08em;line-height:1rem}.text-h-page{font-size:1.875rem;font-weight:700;line-height:2.25rem}.text-h-sect{font-size:1.5rem;font-weight:700;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.text-brand{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.text-brand-light{--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.text-emerald-200{--tw-text-opacity:1;color:rgb(167 243 208/var(--tw-text-opacity,1))}.text-emerald-300{--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.text-emerald-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-ink{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-ink-faint{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-ink-muted{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.text-sky-200{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.text-sky-300{--tw-text-opacity:1;color:rgb(125 211 252/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.accent-brand{accent-color:#6366f1}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-card{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-card{--tw-shadow:0 1px 0 hsla(0,0%,100%,.03),0 8px 32px rgba(0,0,0,.45);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color),0 8px 32px var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.placeholder\:text-ink-faint::-moz-placeholder{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.placeholder\:text-ink-faint::placeholder{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.hover\:border-brand:hover{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.hover\:border-red-500:hover{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.hover\:border-red-700:hover{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity,1))}.hover\:bg-brand-dark:hover{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity,1))}.hover\:bg-emerald-500:hover{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity,1))}.hover\:bg-emerald-900:hover{--tw-bg-opacity:1;background-color:rgb(6 78 59/var(--tw-bg-opacity,1))}.hover\:bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.hover\:bg-gray-800:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.hover\:bg-gray-800\/50:hover{background-color:rgba(31,41,55,.5)}.hover\:text-amber-300:hover{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.hover\:text-brand:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.hover\:text-gray-300:hover{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.hover\:text-gray-400:hover{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.hover\:text-ink:hover{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\:text-red-300:hover{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.hover\:text-red-400:hover{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.hover\:text-sky-200:hover{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-brand:focus{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-brand:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity,1))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-brand:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity,1))}.focus-visible\:ring-gray-600:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity,1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:text-brand{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.group:hover .group-hover\:opacity-100{opacity:1}@media (min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:p-10{padding:2.5rem}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}}@media (min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}} \ No newline at end of file diff --git a/app/static/css/tailwind.8be3407b.css b/app/static/css/tailwind.8be3407b.css deleted file mode 100644 index 999e35c..0000000 --- a/app/static/css/tailwind.8be3407b.css +++ /dev/null @@ -1 +0,0 @@ -*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.-top-3{top:-.75rem}.bottom-0{bottom:0}.left-1\/2{left:50%}.right-0{right:0}.top-10{top:2.5rem}.z-40{z-index:40}.z-50{z-index:50}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-5{margin-left:1.25rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.h-full{height:100%}.max-h-32{max-height:8rem}.max-h-48{max-height:12rem}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.max-w-page{max-width:64rem}.max-w-prose-narrow{max-width:42rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:5rem}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-1{row-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-4{row-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.125rem*var(--tw-space-y-reverse));margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.375rem*var(--tw-space-y-reverse));margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)))}.space-y-10>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2.5rem*var(--tw-space-y-reverse));margin-top:calc(2.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.625rem*var(--tw-space-y-reverse));margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))}.space-y-20>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(5rem*var(--tw-space-y-reverse));margin-top:calc(5rem*(1 - var(--tw-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.75rem*var(--tw-space-y-reverse));margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.25rem*var(--tw-space-y-reverse));margin-top:calc(1.25rem*(1 - var(--tw-space-y-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.space-y-section-y>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(5rem*var(--tw-space-y-reverse));margin-top:calc(5rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-800>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(31 41 55/var(--tw-divide-opacity,1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl,.rounded-card{border-radius:1rem}.rounded-control{border-radius:.625rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-900\/50{border-color:rgba(120,53,15,.5)}.border-brand{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.border-brand\/30{border-color:rgba(99,102,241,.3)}.border-brand\/40{border-color:rgba(99,102,241,.4)}.border-emerald-700{--tw-border-opacity:1;border-color:rgb(4 120 87/var(--tw-border-opacity,1))}.border-emerald-800{--tw-border-opacity:1;border-color:rgb(6 95 70/var(--tw-border-opacity,1))}.border-emerald-900\/50{border-color:rgba(6,78,59,.5)}.border-gray-700{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity,1))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-gray-800\/60{border-color:rgba(31,41,55,.6)}.border-hairline{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity,1))}.border-hairline\/50{border-color:rgba(31,41,55,.5)}.border-red-800{--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.border-red-900{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity,1))}.border-sky-900\/50{border-color:rgba(12,74,110,.5)}.border-sky-900\/60{border-color:rgba(12,74,110,.6)}.bg-amber-950{--tw-bg-opacity:1;background-color:rgb(69 26 3/var(--tw-bg-opacity,1))}.bg-amber-950\/40{background-color:rgba(69,26,3,.4)}.bg-black\/30{background-color:rgba(0,0,0,.3)}.bg-black\/70{background-color:rgba(0,0,0,.7)}.bg-brand{--tw-bg-opacity:1;background-color:rgb(99 102 241/var(--tw-bg-opacity,1))}.bg-brand\/10{background-color:rgba(99,102,241,.1)}.bg-brand\/20{background-color:rgba(99,102,241,.2)}.bg-brand\/5{background-color:rgba(99,102,241,.05)}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity,1))}.bg-emerald-950{--tw-bg-opacity:1;background-color:rgb(2 44 34/var(--tw-bg-opacity,1))}.bg-emerald-950\/40{background-color:rgba(2,44,34,.4)}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-gray-800\/40{background-color:rgba(31,41,55,.4)}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity,1))}.bg-gray-900\/50{background-color:rgba(17,24,39,.5)}.bg-gray-950{--tw-bg-opacity:1;background-color:rgb(3 7 18/var(--tw-bg-opacity,1))}.bg-red-950{--tw-bg-opacity:1;background-color:rgb(69 10 10/var(--tw-bg-opacity,1))}.bg-red-950\/40{background-color:rgba(69,10,10,.4)}.bg-sky-950\/40{background-color:rgba(8,47,73,.4)}.bg-sky-950\/50{background-color:rgba(8,47,73,.5)}.bg-surface-raised{--tw-bg-opacity:1;background-color:rgb(23 25 34/var(--tw-bg-opacity,1))}.bg-surface-sunken{--tw-bg-opacity:1;background-color:rgb(10 12 16/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8,.p-card-pad-lg{padding:2rem}.p-card-pad-md{padding:1.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-12{padding-bottom:3rem;padding-top:3rem}.py-16{padding-bottom:4rem;padding-top:4rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-2{padding-bottom:.5rem}.pl-4{padding-left:1rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-8xl{font-size:6rem;line-height:1}.text-\[10px\]{font-size:10px}.text-base{font-size:1rem;line-height:1.5rem}.text-eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.08em;line-height:1rem}.text-h-page{font-size:1.875rem;font-weight:700;line-height:2.25rem}.text-h-sect{font-size:1.5rem;font-weight:700;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.text-brand{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.text-emerald-200{--tw-text-opacity:1;color:rgb(167 243 208/var(--tw-text-opacity,1))}.text-emerald-300{--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.text-emerald-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-ink{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.text-ink-faint{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-ink-muted{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.text-sky-200{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.text-sky-300{--tw-text-opacity:1;color:rgb(125 211 252/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.accent-brand{accent-color:#6366f1}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-card{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-card{--tw-shadow:0 1px 0 hsla(0,0%,100%,.03),0 8px 32px rgba(0,0,0,.45);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color),0 8px 32px var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.placeholder\:text-ink-faint::-moz-placeholder{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.placeholder\:text-ink-faint::placeholder{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.hover\:border-brand:hover{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.hover\:border-red-500:hover{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.hover\:border-red-700:hover{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity,1))}.hover\:bg-brand-dark:hover{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity,1))}.hover\:bg-emerald-500:hover{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity,1))}.hover\:bg-emerald-900:hover{--tw-bg-opacity:1;background-color:rgb(6 78 59/var(--tw-bg-opacity,1))}.hover\:bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.hover\:bg-gray-800:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.hover\:bg-gray-800\/50:hover{background-color:rgba(31,41,55,.5)}.hover\:text-amber-300:hover{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.hover\:text-brand:hover{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.hover\:text-gray-300:hover{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.hover\:text-gray-400:hover{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.hover\:text-ink:hover{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity,1))}.hover\:text-red-300:hover{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.hover\:text-red-400:hover{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.hover\:text-sky-200:hover{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-brand:focus{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-brand:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity,1))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-brand:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity,1))}.focus-visible\:ring-gray-600:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity,1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:text-brand{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.group:hover .group-hover\:opacity-100{opacity:1}@media (min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:p-10{padding:2.5rem}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}}@media (min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}} \ No newline at end of file diff --git a/app/static/js/app.js b/app/static/js/app.js index 3e71f99..2933a2a 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -232,6 +232,7 @@ function setFiles(files) { document.getElementById('drop-idle').classList.add('hidden'); document.getElementById('drop-selected').classList.remove('hidden'); + setQuickActionsVisible(false); renderFileList(); // Single-file flow: populate the standalone dropdown from the first file's @@ -329,6 +330,16 @@ function renderFileList() { // point at the dedicated split/extract/compress tools instead. #pdf-tools-hint // is absent on pair pages (partials/convert_tool.html gates it on // `preset_source`), hence the null-guard. +// Homepage quick-action chips (partials/quick_actions.html) are an idle-state +// shortcut: once files are chosen they would sit between the file list and +// the Convert button, so hide them until the selection is cleared again. +// Server-rendered, so the links stay in the initial HTML. Null-guarded — +// only the homepage renders #quick-actions. +function setQuickActionsVisible(visible) { + const nav = document.getElementById('quick-actions'); + if (nav) nav.classList.toggle('hidden', !visible); +} + function updatePdfToolsHint() { const hint = document.getElementById('pdf-tools-hint'); if (!hint) return; @@ -358,6 +369,7 @@ function clearAllFiles(event) { document.getElementById('file-input').value = ''; document.getElementById('drop-idle').classList.remove('hidden'); document.getElementById('drop-selected').classList.add('hidden'); + setQuickActionsVisible(true); document.getElementById('target-format').innerHTML = ''; document.getElementById('quality-section').classList.add('hidden'); diff --git a/app/templates/index.html b/app/templates/index.html index 7f00d21..f71c632 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -13,7 +13,7 @@

{{ _('Convert & Compress Files') }}

- {{ _('Images · Documents · Audio · Video · Spreadsheets') }} + {{ _('Images · PDF · Documents · Audio · Video · Spreadsheets') }}

@@ -66,27 +66,6 @@

{{ _('Run FileMorph on your own i - {# More tools — IA rework PR 3 (docs-internal/ia-navigation-konzept.md): - merges what used to be two separate teasers (gated Redact + ungated - PDF tools) into one tile row, closed by a link to the full /tools hub. - Redact stays gated on ai_operations_enabled — same rule as the - footer's Tools group and the /tools hub's Redact card — so a - self-host / inert build (where the redact route 404s) never links - it. Jinja comment on purpose: never shipped over the wire. #} -
-

{{ _('More tools') }}

-

{{ _('Dedicated tools beyond the converter above: split, extract, or compress a PDF, and more.') }}

- -
- {% if pricing_enabled %}
diff --git a/app/templates/partials/quick_actions.html b/app/templates/partials/quick_actions.html new file mode 100644 index 0000000..50bfd57 --- /dev/null +++ b/app/templates/partials/quick_actions.html @@ -0,0 +1,95 @@ +{# Homepage quick actions (docs-internal/operations-visibility-konzept.md, + section "Startseite"): 7 secondary chip links shown before any file is + picked, replacing the old "More tools" box further down the page. Every + chip targets an existing page — IA rule "every promoted operation has a + URL first" — so nothing here teases an unbuilt feature. Server-rendered, + no JS involved, so link visibility can never differ from the initial + HTML (IA invariant G6). Redact is a paid/gated operation and is + deliberately never one of these idle chips (product-ux.md #3 — free + path before any upsell); it stays in the footer and on /tools when + ai_operations_enabled is set. #} + diff --git a/locale/de/LC_MESSAGES/messages.mo b/locale/de/LC_MESSAGES/messages.mo index 05b0395..bdb2910 100644 Binary files a/locale/de/LC_MESSAGES/messages.mo and b/locale/de/LC_MESSAGES/messages.mo differ diff --git a/locale/de/LC_MESSAGES/messages.po b/locale/de/LC_MESSAGES/messages.po index 1ee5443..3915731 100644 --- a/locale/de/LC_MESSAGES/messages.po +++ b/locale/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: FileMorph VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-09-25 19:23+0200\n" +"POT-Creation-Date: 2026-09-25 19:53+0200\n" "PO-Revision-Date: 2026-05-08 11:00+0200\n" "Last-Translator: FileMorph \n" "Language: de\n" @@ -551,6 +551,9 @@ msgstr "PDF verkleinern" msgid "Compress a PDF →" msgstr "PDF verkleinern →" +msgid "Compress image (KB/MB)" +msgstr "Bild verkleinern (KB/MB)" + msgid "Compress to a target size" msgstr "Auf eine Zielgröße komprimieren" @@ -757,13 +760,6 @@ msgstr "Auftragsverarbeitungs-Vertrag (AVV)" msgid "Deactivated" msgstr "Deaktiviert" -msgid "" -"Dedicated tools beyond the converter above: split, extract, or compress a" -" PDF, and more." -msgstr "" -"Spezielle Tools zusätzlich zum Konverter oben: PDF aufteilen, Seiten " -"extrahieren, PDF verkleinern — und mehr." - msgid "Delete account" msgstr "Konto löschen" @@ -1206,6 +1202,9 @@ msgstr "" msgid "Got it" msgstr "Verstanden" +msgid "HEIC to JPG" +msgstr "HEIC in JPG" + msgid "Hetzner's privacy policy" msgstr "Hetzners Datenschutzerklärung" @@ -1388,8 +1387,8 @@ msgstr "" " (MP3, WAV, FLAC, OGG, M4A, AAC, WMA, Opus) und Video (MP4, MOV, AVI, " "MKV, WebM, FLV, WMV)." -msgid "Images · Documents · Audio · Video · Spreadsheets" -msgstr "Bilder · Dokumente · Audio · Video · Tabellen" +msgid "Images · PDF · Documents · Audio · Video · Spreadsheets" +msgstr "Bilder · PDF · Dokumente · Audio · Video · Tabellen" msgid "Impressum" msgstr "Impressum" @@ -1459,6 +1458,9 @@ msgstr "" msgid "JPEG / WebP only." msgstr "Nur JPEG / WebP." +msgid "JPG to PDF" +msgstr "JPG in PDF" + msgid "Joined" msgstr "Beigetreten" @@ -1563,9 +1565,6 @@ msgstr "" "Begrenzung, damit ein Batch nicht den ganzen Worker-Pool blockiert — " "Anfragen über dem Limit erhalten" -msgid "More tools" -msgstr "Weitere Tools" - msgid "Most popular" msgstr "Am beliebtesten" @@ -1667,6 +1666,9 @@ msgstr "Öffnen →" msgid "Operator staff with the" msgstr "Betreiber-Mitarbeiter mit der" +msgid "Or choose directly" +msgstr "Oder direkt wählen" + msgid "Or open the dashboard manually and click \"Manage billing\":" msgstr "Oder öffne das Dashboard manuell und klicke auf „Abrechnung verwalten“:" @@ -2990,6 +2992,9 @@ msgstr "Warum eine Compliance-Edition?" msgid "Why →" msgstr "Warum →" +msgid "Word to PDF" +msgstr "Word in PDF" + msgid "" "Yes. FileMorph can compress JPEG and WebP images to a target size (for " "example 5 MB) using a binary search, hitting the target within about ±3 " diff --git a/locale/en/LC_MESSAGES/messages.mo b/locale/en/LC_MESSAGES/messages.mo index 61d85e8..9de94d2 100644 Binary files a/locale/en/LC_MESSAGES/messages.mo and b/locale/en/LC_MESSAGES/messages.mo differ diff --git a/locale/en/LC_MESSAGES/messages.po b/locale/en/LC_MESSAGES/messages.po index 6be3514..103c6cd 100644 --- a/locale/en/LC_MESSAGES/messages.po +++ b/locale/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: FileMorph VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-09-25 19:23+0200\n" +"POT-Creation-Date: 2026-09-25 19:53+0200\n" "PO-Revision-Date: 2026-05-07 13:43+0200\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -485,6 +485,9 @@ msgstr "" msgid "Compress a PDF →" msgstr "" +msgid "Compress image (KB/MB)" +msgstr "" + msgid "Compress to a target size" msgstr "" @@ -672,11 +675,6 @@ msgstr "" msgid "Deactivated" msgstr "" -msgid "" -"Dedicated tools beyond the converter above: split, extract, or compress a" -" PDF, and more." -msgstr "" - msgid "Delete account" msgstr "" @@ -1045,6 +1043,9 @@ msgstr "" msgid "Got it" msgstr "Got it" +msgid "HEIC to JPG" +msgstr "" + msgid "Hetzner's privacy policy" msgstr "" @@ -1162,7 +1163,7 @@ msgid "" "AVI, MKV, WebM, FLV, WMV)." msgstr "" -msgid "Images · Documents · Audio · Video · Spreadsheets" +msgid "Images · PDF · Documents · Audio · Video · Spreadsheets" msgstr "" msgid "Impressum" @@ -1220,6 +1221,9 @@ msgstr "" msgid "JPEG / WebP only." msgstr "" +msgid "JPG to PDF" +msgstr "" + msgid "Joined" msgstr "" @@ -1309,9 +1313,6 @@ msgid "" "starve the whole worker pool — requests past the cap return" msgstr "" -msgid "More tools" -msgstr "" - msgid "Most popular" msgstr "" @@ -1407,6 +1408,9 @@ msgstr "" msgid "Operator staff with the" msgstr "" +msgid "Or choose directly" +msgstr "" + msgid "Or open the dashboard manually and click \"Manage billing\":" msgstr "" @@ -2495,6 +2499,9 @@ msgstr "" msgid "Why →" msgstr "" +msgid "Word to PDF" +msgstr "" + msgid "" "Yes. FileMorph can compress JPEG and WebP images to a target size (for " "example 5 MB) using a binary search, hitting the target within about ±3 " diff --git a/locale/messages.pot b/locale/messages.pot index 34bf500..5c93f1e 100644 --- a/locale/messages.pot +++ b/locale/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: FileMorph 1.1.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-09-25 19:23+0200\n" +"POT-Creation-Date: 2026-09-25 19:53+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -477,6 +477,9 @@ msgstr "" msgid "Compress a PDF →" msgstr "" +msgid "Compress image (KB/MB)" +msgstr "" + msgid "Compress to a target size" msgstr "" @@ -664,11 +667,6 @@ msgstr "" msgid "Deactivated" msgstr "" -msgid "" -"Dedicated tools beyond the converter above: split, extract, or compress a" -" PDF, and more." -msgstr "" - msgid "Delete account" msgstr "" @@ -1034,6 +1032,9 @@ msgstr "" msgid "Got it" msgstr "" +msgid "HEIC to JPG" +msgstr "" + msgid "Hetzner's privacy policy" msgstr "" @@ -1151,7 +1152,7 @@ msgid "" "AVI, MKV, WebM, FLV, WMV)." msgstr "" -msgid "Images · Documents · Audio · Video · Spreadsheets" +msgid "Images · PDF · Documents · Audio · Video · Spreadsheets" msgstr "" msgid "Impressum" @@ -1209,6 +1210,9 @@ msgstr "" msgid "JPEG / WebP only." msgstr "" +msgid "JPG to PDF" +msgstr "" + msgid "Joined" msgstr "" @@ -1298,9 +1302,6 @@ msgid "" "starve the whole worker pool — requests past the cap return" msgstr "" -msgid "More tools" -msgstr "" - msgid "Most popular" msgstr "" @@ -1396,6 +1397,9 @@ msgstr "" msgid "Operator staff with the" msgstr "" +msgid "Or choose directly" +msgstr "" + msgid "Or open the dashboard manually and click \"Manage billing\":" msgstr "" @@ -2482,6 +2486,9 @@ msgstr "" msgid "Why →" msgstr "" +msgid "Word to PDF" +msgstr "" + msgid "" "Yes. FileMorph can compress JPEG and WebP images to a target size (for " "example 5 MB) using a binary search, hitting the target within about ±3 " diff --git a/scripts/i18n.py b/scripts/i18n.py index a750bf7..39c69f2 100644 --- a/scripts/i18n.py +++ b/scripts/i18n.py @@ -97,7 +97,9 @@ def cmd_update() -> int: rc = cmd_extract() if rc: return rc - return _pybabel(["update", "-i", str(POT_FILE), "-d", str(LOCALE_DIR)]) + # --ignore-obsolete: removed msgids are dropped instead of kept as "#~" + # blocks (the catalogs carry none since c8fc734; they only add noise). + return _pybabel(["update", "--ignore-obsolete", "-i", str(POT_FILE), "-d", str(LOCALE_DIR)]) def cmd_compile() -> int: diff --git a/tests/test_homepage_more_tools.py b/tests/test_homepage_more_tools.py deleted file mode 100644 index 7b9acb7..0000000 --- a/tests/test_homepage_more_tools.py +++ /dev/null @@ -1,148 +0,0 @@ -# SPDX-License-Identifier: AGPL-3.0-or-later -"""Homepage "More tools" section + Plans/Developers heading fix — IA rework -PR 3 (docs-internal/ia-navigation-konzept.md). - -Guards: - - The old gated Redact teaser and the ungated PDF-tools teaser are merged - into one section (single h2 "More tools" / "Weitere Tools"), closed by a - link to the /tools hub. Redact stays gated on ai_operations_enabled only - — same rule as the footer's Tools group and the /tools hub's Redact card - (tests/test_footer_nav_structure.py, tests/test_tools_hub_page.py) — so - a self-host / inert build (where /redact 404s) never links it. - - WCAG 1.3.1: the Plans and For-Developers blocks now use a real

- instead of a decorative eyebrow

, with the exact same classes (visual - no-op, no copy change). -""" - -from __future__ import annotations - -import re - -import pytest - -from app.core.config import settings -from app.core.templates import templates - - -@pytest.fixture -def pricing_enabled(monkeypatch): - """Mirrors tests/test_footer_nav_structure.py's fixture of the same - name — flips both the runtime setting and the Jinja global via - monkeypatch so both revert automatically regardless of test order.""" - monkeypatch.setattr(settings, "pricing_page_enabled", True) - monkeypatch.setitem(templates.env.globals, "pricing_enabled", True) - - -def _main(html: str) -> str: - """Slice the page's

block — asserts must not pass just because - base.html's navbar/footer links the same URL.""" - return html[html.index("")] - - -def _more_tools_section(html: str) -> str: - """Slice the "More tools"
itself — link asserts must not pass - just because the footer's Tools group links the same URLs. Anchored on - the section's own (locale-agnostic) class attribute rather than its - translated heading text, so this works on /de/ too.""" - start = html.index('
') - end = html.index("
", start) - section = html[start:end] - assert "/pdf/split" in section, "anchor matched the wrong section" - return section - - -# ── section presence + heading ─────────────────────────────────────────── - - -def test_more_tools_section_renders_with_h2(client): - main = _main(client.get("/en/").text) - assert '

More tools

' in main - - -def test_more_tools_section_localized_on_de(client): - main = _main(client.get("/de/").text) - assert '

Weitere Tools

' in main - - -# ── links inside the section ───────────────────────────────────────────── - - -def test_more_tools_section_links_pdf_tools_and_hub(client): - section = _more_tools_section(client.get("/en/").text) - for path in ("/en/pdf/split", "/en/pdf/extract", "/en/pdf/compress", "/en/tools"): - assert f'href="{path}"' in section, f"More-tools section missing {path}" - - -def test_more_tools_section_localises_links_on_de(client): - section = _more_tools_section(client.get("/de/").text) - for path in ("/de/pdf/split", "/de/pdf/extract", "/de/pdf/compress", "/de/tools"): - assert f'href="{path}"' in section, f"More-tools section missing {path}" - - -# ── Redact tile — flag-gated only ──────────────────────────────────────── - - -def test_more_tools_section_omits_redact_when_flag_off(client): - section = _more_tools_section(client.get("/en/").text) - assert 'href="/en/redact"' not in section - - -def test_more_tools_section_includes_redact_when_flag_on(client, redact_enabled): - section = _more_tools_section(client.get("/en/").text) - assert 'href="/en/redact"' in section - - -# ── deployment-agnostic ─────────────────────────────────────────────────── - - -def test_more_tools_section_deployment_agnostic(client): - """Scoped to the new section, not the whole page — the pre-existing "For - Developers" curl example legitimately hardcodes filemorph.io.""" - section = _more_tools_section(client.get("/en/").text) - assert "filemorph.io" not in section - - -# ── heading hierarchy fix (WCAG 1.3.1): Plans + For Developers ─────────── - - -def test_plans_block_uses_h2(client, pricing_enabled): - html = client.get("/en/").text - assert ( - '

' - "Plans

" in html - ) - - -def test_for_developers_block_uses_h2(client): - html = client.get("/en/").text - assert ( - '

' - "For Developers

" in html - ) - - -def test_homepage_h2_count_default(client): - """Self-hosted, More tools, For Developers, Comparison, FAQ = 5 h2s with - pricing/AI both off. A future edit that silently drops or duplicates a - heading trips this guard.""" - html = client.get("/en/").text - assert len(re.findall(r"]", html)) == 5, ( - "homepage h2 outline changed — update this guard deliberately" - ) - - -def test_homepage_h2_count_with_pricing_enabled(client, pricing_enabled): - """Same 5, plus the Plans block's new h2 = 6.""" - html = client.get("/en/").text - assert len(re.findall(r"]", html)) == 6, ( - "homepage h2 outline changed — update this guard deliberately" - ) - - -def test_homepage_h2_count_unaffected_by_redact_flag(client, redact_enabled): - """Redact is a tile inside the existing More-tools section, not its own - heading — enabling the flag must not add an h2.""" - html = client.get("/en/").text - assert len(re.findall(r"]", html)) == 5, ( - "homepage h2 outline changed — update this guard deliberately" - ) diff --git a/tests/test_homepage_outline.py b/tests/test_homepage_outline.py new file mode 100644 index 0000000..e9d0b0c --- /dev/null +++ b/tests/test_homepage_outline.py @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +"""Homepage heading outline (WCAG 1.3.1). + +Moved out of the old tests/test_homepage_more_tools.py (IA rework PR 3) when +the "More tools" box was replaced by the quick-action chips — these guards +are about the page's heading hierarchy, not about any one section: + - The Plans and For-Developers blocks use a real

instead of a + decorative eyebrow

. + - The number of

s is pinned, so a future edit that silently drops or + duplicates a heading trips a test and gets updated deliberately. +""" + +from __future__ import annotations + +import re + +import pytest + +from app.core.config import settings +from app.core.templates import templates + + +@pytest.fixture +def pricing_enabled(monkeypatch): + """Mirrors tests/test_footer_nav_structure.py's fixture of the same + name — flips both the runtime setting and the Jinja global via + monkeypatch so both revert automatically regardless of test order.""" + monkeypatch.setattr(settings, "pricing_page_enabled", True) + monkeypatch.setitem(templates.env.globals, "pricing_enabled", True) + + +def test_plans_block_uses_h2(client, pricing_enabled): + html = client.get("/en/").text + assert ( + '

' + "Plans

" in html + ) + + +def test_for_developers_block_uses_h2(client): + html = client.get("/en/").text + assert ( + '

' + "For Developers

" in html + ) + + +def test_homepage_h2_count_default(client): + """Self-hosted, For Developers, Comparison, FAQ = 4 h2s with pricing/AI + both off (the "More tools" section is gone; Plans is conditional).""" + html = client.get("/en/").text + assert len(re.findall(r"]", html)) == 4, ( + "homepage h2 outline changed — update this guard deliberately" + ) + + +def test_homepage_h2_count_with_pricing_enabled(client, pricing_enabled): + """Same 4, plus the Plans block's h2 = 5.""" + html = client.get("/en/").text + assert len(re.findall(r"]", html)) == 5, ( + "homepage h2 outline changed — update this guard deliberately" + ) + + +def test_homepage_h2_count_unaffected_by_redact_flag(client, redact_enabled): + """Redact is never surfaced on the homepage (no gated idle chip) — + enabling the flag must not add or remove an h2.""" + html = client.get("/en/").text + assert len(re.findall(r"]", html)) == 4, ( + "homepage h2 outline changed — update this guard deliberately" + ) diff --git a/tests/test_homepage_quick_actions.py b/tests/test_homepage_quick_actions.py new file mode 100644 index 0000000..82be38b --- /dev/null +++ b/tests/test_homepage_quick_actions.py @@ -0,0 +1,163 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later +"""Homepage quick actions — Step 2 of the operations-visibility rework +(docs-internal/operations-visibility-konzept.md, section "Startseite"). + +Replaces tests/test_homepage_more_tools.py: the old "More tools" box is +gone, and its links now live in a 7-chip quick-actions row rendered inside +the shared partials/convert_tool.html, gated by show_quick_actions (set +only by pages.py::index so /compress and the 12 /convert/ pages, +which render the same partial, don't get self-links or a diluted row). +The heading-outline guards that used to live next to the old box moved to +tests/test_homepage_outline.py. + +Guards: + - Exactly the 7 chip hrefs in spec order, locale-prefixed, plus the + "All tools" link, inside
(not just anywhere on the page). + - Labels localized: German chip text on /de/, English on /en/, no + cross-language leakage inside the block. + - Absent on /compress and on a pair page (/convert/jpg-to-pdf). + - Every chip target actually resolves (HTTP 200) — no dead links. + - Deployment-agnostic (no hardcoded filemorph.io) and
never links + the gated /redact route, flag on or off (the footer may). + - The chips belong to the idle state: app.js hides the row once files are + chosen and shows it again when the selection is cleared. +""" + +from __future__ import annotations + +import re +from pathlib import Path + +import pytest + +_APP_JS = Path(__file__).resolve().parent.parent / "app" / "static" / "js" / "app.js" + +# Chip order + targets from docs-internal/operations-visibility-konzept.md +# ("Startseite" table): (url_path, EN label, DE label). +_CHIPS = ( + ("/pdf/compress", "Compress PDF", "PDF verkleinern"), + ("/convert/jpg-to-pdf", "JPG to PDF", "JPG in PDF"), + ("/convert/docx-to-pdf", "Word to PDF", "Word in PDF"), + ("/pdf/split", "Split PDF", "PDF aufteilen"), + ("/pdf/extract", "Extract PDF pages", "PDF-Seiten extrahieren"), + ("/convert/heic-to-jpg", "HEIC to JPG", "HEIC in JPG"), + ("/compress", "Compress image (KB/MB)", "Bild verkleinern (KB/MB)"), +) + + +def _main(html: str) -> str: + """Slice the page's
block — asserts must not pass just because + base.html's navbar/footer links the same URL.""" + return html[html.index("")] + + +def _quick_actions_block(html: str) -> str: + """Slice the quick-actions ") + return html[start:end] + + +def _js_function(source: str, name: str) -> str: + """Body of a top-level ``function name(`` in app.js, up to the next one.""" + start = source.index(f"function {name}(") + end = source.find("\nfunction ", start + 1) + return source[start : end if end != -1 else None] + + +# ── chip presence, order and hrefs ─────────────────────────────────────── + + +@pytest.mark.parametrize("prefix", ["/en", "/de"]) +def test_quick_actions_links_exact(client, prefix): + block = _quick_actions_block(_main(client.get(f"{prefix}/").text)) + expected = [f"{prefix}{path}" for path, *_ in _CHIPS] + [f"{prefix}/tools"] + assert re.findall(r'href="([^"]+)"', block) == expected + + +# ── localized labels ───────────────────────────────────────────────────── + + +def test_quick_actions_labels_localized_on_en(client): + block = _quick_actions_block(_main(client.get("/en/").text)) + assert "Or choose directly" in block + for _path, en_label, de_label in _CHIPS: + assert en_label in block + assert de_label not in block + assert "All tools →" in block + + +def test_quick_actions_labels_localized_on_de(client): + block = _quick_actions_block(_main(client.get("/de/").text)) + assert "Oder direkt wählen" in block + for _path, en_label, de_label in _CHIPS: + assert de_label in block + assert en_label not in block + assert "Alle Tools →" in block + + +# ── absent on the shared partial's other pages ──────────────────────────── + + +def test_quick_actions_absent_on_compress_page(client): + assert 'aria-labelledby="quick-actions-label"' not in client.get("/en/compress").text + + +def test_quick_actions_absent_on_pair_page(client): + html = client.get("/en/convert/jpg-to-pdf").text + assert 'aria-labelledby="quick-actions-label"' not in html + + +# ── old "More tools" section is gone ────────────────────────────────────── + + +def test_more_tools_heading_removed_on_en(client): + assert "More tools" not in _main(client.get("/en/").text) + + +def test_more_tools_heading_removed_on_de(client): + assert "Weitere Tools" not in _main(client.get("/de/").text) + + +# ── Redact never an idle homepage link, flag on or off ──────────────────── + + +def test_homepage_main_never_links_redact_flag_off(client): + assert "/redact" not in _main(client.get("/en/").text) + + +def test_homepage_main_never_links_redact_flag_on(client, redact_enabled): + assert "/redact" not in _main(client.get("/en/").text) + + +# ── deployment-agnostic ─────────────────────────────────────────────────── + + +def test_quick_actions_deployment_agnostic(client): + block = _quick_actions_block(_main(client.get("/en/").text)) + assert "filemorph.io" not in block + + +# ── every chip target resolves ───────────────────────────────────────────── + + +@pytest.mark.parametrize("path", [chip[0] for chip in _CHIPS] + ["/tools"]) +def test_quick_actions_targets_return_200(client, path): + assert client.get(f"/en{path}").status_code == 200 + + +# ── idle-state only: hidden while files are selected ────────────────────── + + +def test_quick_actions_nav_has_the_id_app_js_toggles(client): + block = _quick_actions_block(_main(client.get("/en/").text)) + assert 'id="quick-actions"' in block + + +def test_app_js_hides_quick_actions_once_files_are_chosen(): + source = _APP_JS.read_text(encoding="utf-8") + assert "getElementById('quick-actions')" in source + assert "setQuickActionsVisible(false)" in _js_function(source, "setFiles") + assert "setQuickActionsVisible(true)" in _js_function(source, "clearAllFiles") diff --git a/tests/test_redact_page.py b/tests/test_redact_page.py index 1c221fd..db314f8 100644 --- a/tests/test_redact_page.py +++ b/tests/test_redact_page.py @@ -57,7 +57,7 @@ def test_redact_footer_link_present_when_enabled_no_nav_slot(client, redact_enab def test_footer_and_seo_surfaces_present_when_enabled(client, redact_enabled): - assert "/redact" in client.get("/en/").text # footer link + homepage teaser + assert "/redact" in client.get("/en/").text # footer link (no homepage teaser) assert "/redact" in client.get("/sitemap.xml").text assert "/redact" in client.get("/llms.txt").text