Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
asskfnsd
Browse files Browse the repository at this point in the history
  • Loading branch information
aditansh committed Feb 25, 2024
1 parent e72030e commit 88bc714
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions devsoc24-landing/src/components/screen.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import screen from "@/assets/images/screen.svg"
import { StaticImport } from "next/dist/shared/lib/get-img-props";
import Image from "next/image";
import Image, { type StaticImageData } from "next/image";
import styles from "@/styles/screen.module.css"

const Screen = (props:{text:string}) => {

return (
<>
<div>
<Image src={screen as StaticImport} alt="screen" className=" z-1"/>
<Image src={screen as StaticImageData} alt="screen" className=" z-1"/>
<div className={`font-wreckside text-8xl w-54 h-54 -rotate-[5deg] absolute top-[20%] left-[33%] z-2`}>
<p className={`tracking-wide text-center w-min ${styles.flicker}`}>{props.text}</p>
</div>
Expand Down

0 comments on commit 88bc714

Please sign in to comment.