File tree Expand file tree Collapse file tree
app/(lander-docs)/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import { Background } from "@/components/ui/background" ;
44
55export function BrowserWithBackgroundLayer ( ) {
6- return (
7- < Background asciiOpacity = { 0.5 } fieldOpacity = { 0.14 } resolution = { 0.05 } />
8- ) ;
6+ return < Background fieldOpacity = { 0.14 } /> ;
97}
Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ export function Footer() {
103103 </ div >
104104 < div className = "flex flex-col items-center justify-between border-t border-dashed md:items-start" >
105105 < div className = "container-wrapper relative mx-auto" >
106- < div className = "absolute inset-x-0 top-0 z-50 flex justify-between gap-4 p-4" >
106+ < div className = "absolute inset-x-0 top-0 z-50 flex flex-col justify-between gap-4 p-4 md:flex-row " >
107107 < p className = "px-6 text-center font-mono text-foreground/60 text-sm md:text-left lg:px-0" >
108108 © 2025 cossistant. open source under GPL-3.0 license.
109109 </ p >
110- < div className = "mt-4 flex items-center space-x-6 px-6 md:mt-0 lg:px-0" >
110+ < div className = "mx-auto mt-4 flex items-center space-x-6 px-6 md:mx-0 md:mt-0 lg:px-0" >
111111 < Link
112112 className = "font-mono text-foreground/60 text-sm transition-colors hover:text-foreground"
113113 href = "/privacy"
@@ -133,17 +133,17 @@ export function Footer() {
133133 </ div >
134134 < div className = "pointer-events-none h-100 min-h-100 w-full" />
135135 < Background
136- asciiOpacity = { 1 }
137136 className = "absolute inset-0 z-0"
138137 fieldOpacity = { 0.06 }
139138 interactive = { true }
140139 pointerTrail = { true }
141- resolution = { 0.13 }
140+ pointerTrailRadius = { 0.2 }
142141 />
143142
144- < div className = "pointer-events-none absolute inset-x-0 top-0 z-0 h-40 w-full bg-linear-to-b from-background to-transparent" />
143+ < div className = "pointer-events-none absolute inset-x-0 top-0 z-0 h-100 w-full bg-linear-to-b from-background to-transparent md:h-40 " />
145144 < div className = "pointer-events-none absolute inset-x-0 top-0 z-0 h-20 w-full bg-linear-to-b from-background to-transparent" />
146- < LogoTextSVG className = "pointer-events-none absolute inset-x-0 bottom-20 z-50 w-full text-background" />
145+ < LogoTextSVG className = "pointer-events-none absolute inset-x-0 bottom-20 z-50 hidden w-full text-background md:block" />
146+ < Logo className = "pointer-events-none absolute inset-x-0 bottom-4 z-50 mx-auto block size-56 w-full text-background md:hidden" />
147147 </ div >
148148 </ div >
149149 </ footer >
Original file line number Diff line number Diff line change @@ -507,13 +507,7 @@ function PrecisionFlowRightPanel({ children }: { children: React.ReactNode }) {
507507 className = "relative flex h-full w-full flex-1 overflow-hidden bg-background dark:bg-background-50"
508508 data-precision-background-trail = "enabled"
509509 >
510- < Background
511- asciiOpacity = { 0.4 }
512- fieldOpacity = { 0.06 }
513- interactive = { true }
514- pointerTrail = { true }
515- resolution = { 0.05 }
516- />
510+ < Background fieldOpacity = { 0.06 } interactive = { true } pointerTrail = { true } />
517511 < div className = "pointer-events-none relative z-10 flex h-full w-full flex-1 px-4 pb-16 lg:px-8 lg:py-16 xl:px-1" >
518512 { children }
519513 </ div >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { Background } from "@/components/ui/background";
66function CossistantLandingSupport ( ) {
77 return (
88 < div className = "cossistant relative h-full w-full" >
9- < Background asciiOpacity = { 0.5 } fieldOpacity = { 0.14 } />
9+ < Background fieldOpacity = { 0.14 } />
1010 < FakeSupportWidget />
1111 </ div >
1212 ) ;
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export const MAX_BACKGROUND_FIELD_CELLS = 9000;
77export const MAX_BACKGROUND_ASCII_CELLS = 20_000 ;
88export const DEFAULT_BACKGROUND_DESKTOP_RESOLUTION = 0.06 ;
99export const DEFAULT_BACKGROUND_MOBILE_RESOLUTION = 0.08 ;
10- export const DEFAULT_BACKGROUND_DESKTOP_FPS = 12 ;
10+ export const DEFAULT_BACKGROUND_DESKTOP_FPS = 31 ;
1111export const DEFAULT_BACKGROUND_MOBILE_FPS = 8 ;
12- export const DEFAULT_BACKGROUND_POINTER_TRAIL_INTENSITY = 0.75 ;
13- export const DEFAULT_BACKGROUND_POINTER_TRAIL_RADIUS = 0.11 ;
12+ export const DEFAULT_BACKGROUND_POINTER_TRAIL_INTENSITY = 0.3 ;
13+ export const DEFAULT_BACKGROUND_POINTER_TRAIL_RADIUS = 0.05 ;
1414export const DEFAULT_BACKGROUND_POINTER_TRAIL_LIFETIME_MS = 1350 ;
1515export const MAX_BACKGROUND_POINTER_TRAIL_BLOBS = 20 ;
1616export const MIN_BACKGROUND_POINTER_TRAIL_DISTANCE_PX = 18 ;
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ function samplePointerTrailInfluence(
231231
232232export function Background ( {
233233 accentColorVar = "--cossistant-orange" ,
234- asciiOpacity = 0.62 ,
234+ asciiOpacity = 1 ,
235235 characterPalette = "detailed" ,
236236 characters,
237237 className = "" ,
@@ -246,7 +246,7 @@ export function Background({
246246 pointerTrailLifetimeMs = DEFAULT_BACKGROUND_POINTER_TRAIL_LIFETIME_MS ,
247247 pointerTrailRadius = DEFAULT_BACKGROUND_POINTER_TRAIL_RADIUS ,
248248 reactivity = 0.28 ,
249- resolution,
249+ resolution = 0.15 ,
250250 reverse = false ,
251251 seed,
252252 speed = 1 ,
You can’t perform that action at this time.
0 commit comments