File tree Expand file tree Collapse file tree 3 files changed +27
-7
lines changed
Expand file tree Collapse file tree 3 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ import {
1111 Vec3
1212} from "ogl" ;
1313import { useEffect , useRef } from "react" ;
14+ import { Overlay } from "../overlay" ;
1415
15- const DESKTOP_HEIGHT = 240 ;
16- const MOBILE_HEIGHT = 340 ;
16+ const DESKTOP_HEIGHT = 256 ;
17+ const MOBILE_HEIGHT = 356 ;
1718
1819export const HeroASCII = ( ) => {
1920 const containerRef = useRef < HTMLDivElement > ( null ) ;
@@ -235,9 +236,12 @@ void main() {
235236 } , [ ] ) ;
236237
237238 return (
238- < div
239- ref = { containerRef }
240- className = "w-[calc(100%-2rem)] mx-4 h-full overflow-clip"
241- > </ div >
239+ < div className = "w-full h-full overflow-clip" >
240+ < div
241+ ref = { containerRef }
242+ className = "w-[calc(100%-2rem)] mx-4 h-full overflow-clip"
243+ > </ div >
244+ < Overlay />
245+ </ div >
242246 ) ;
243247} ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Link from "next/link";
44
55export const Footer = ( ) => {
66 return (
7- < div className = "flex flex-col-reverse md:flex-row justify-between items-center m-4 mt-2 dashed-top dashed-bottom after:hidden md:after:block md:h-[84px]" >
7+ < div className = "flex flex-col-reverse md:flex-row justify-between items-center m-4 dashed-top dashed-bottom after:hidden md:after:block md:h-[84px]" >
88 < div className = "flex items-center gap-4 dashed-right after:hidden lg:after:block h-full pl-2 lg:px-10 py-8 pb-4 md:py-0" >
99 < span className = "text-sm font-mono text-white" >
1010 © { new Date ( ) . getFullYear ( ) } All rights reserved.
Original file line number Diff line number Diff line change 1+ export const Overlay = ( ) => {
2+ return (
3+ < div className = "absolute inset-0 z-50 flex items-center justify-center" >
4+ < div className = "w-full h-full relative" >
5+ < div className = "absolute top-12 right-12 text-white bg-black w-[264px] text-right font-mono text-sm pl-4 py-2" >
6+ Vortex is a highly performant, extensible columnar data format
7+ </ div >
8+
9+ < div className = "absolute bottom-1 left-14 text-white bg-black w-[324px] text-left font-mono text-sm px-4 py-2" >
10+ It's both a file format and a memory format, enabling compute
11+ over compressed data
12+ </ div >
13+ </ div >
14+ </ div >
15+ ) ;
16+ } ;
You can’t perform that action at this time.
0 commit comments