Skip to content

Commit

Permalink
fads
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajrekwar committed Jun 15, 2024
1 parent 6f11b3a commit a52cf0f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 3 additions & 1 deletion app/components/BackgroundAurra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import { motion } from "framer-motion";
import React from "react";
import { AuroraBackground } from "./ui/aurora-background";
import HeroSection from "./heroSection";

export function AuroraBackgroundDemo() {
export function AuroraBackgroundHeroSection() {
return (
<AuroraBackground>
<motion.div
Expand All @@ -17,6 +18,7 @@ export function AuroraBackgroundDemo() {
}}
className="relative flex flex-col gap-4 items-center justify-center px-4"
>
<HeroSection />
<div className="text-3xl md:text-7xl font-bold dark:text-white text-center">
Background lights are cool you know.
</div>
Expand Down
6 changes: 3 additions & 3 deletions app/components/heroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ import Image from "next/image";
export function HeroSection() {
return (
<>
<section className="m-2 bg-white ">
<section className="bg-transparent ">
<div className="p-1">
<figure className="flex-1 sm:flex ">
<div className=" lg:w-[50vw] grid sm:justify-items-end justify-items-center md:w-[20vw] gi">
<div className=" lg:w-[50vw] h-[12rem] border-lime-600 grid items-center sm:justify-items-end justify-items-center md:w-[20vw] gi">
<Image
src="/me.jpg"
width={350}
height={350}
alt="Picture of the author"
className="rounded shadow-[0_2.8px_2.2px_rgba(0,_0,_0,_0.034),_0_6.7px_5.3px_rgba(0,_0,_0,_0.048),_0_12.5px_10px_rgba(0,_0,_0,_0.06),_0_22.3px_17.9px_rgba(0,_0,_0,_0.072),_0_41.8px_33.4px_rgba(0,_0,_0,_0.086),_0_100px_80px_rgba(0,_0,_0,_0.12)]"
className="rounded h-[8rem] w-[8rem] sm:w-auto sm:h-auto shadow-[0_2.8px_2.2px_rgba(0,_0,_0,_0.034),_0_6.7px_5.3px_rgba(0,_0,_0,_0.048),_0_12.5px_10px_rgba(0,_0,_0,_0.06),_0_22.3px_17.9px_rgba(0,_0,_0,_0.072),_0_41.8px_33.4px_rgba(0,_0,_0,_0.086),_0_100px_80px_rgba(0,_0,_0,_0.12)]"
/>
</div>
<div className="m-2 md:w-[70vw] self-end">
Expand Down
2 changes: 1 addition & 1 deletion app/components/ui/text-generate-effect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const TextGenerateEffect = ({
return (
<div className={cn("font-bold", className)}>
<div className="mt-4">
<div className=" dark:text-white text-[#5e716a] text-xl leading-snug tracking-wide">
<div className=" dark:text-white text-[#5e716a] text-base leading-snug tracking-wide">
{renderWords()}
</div>
</div>
Expand Down
9 changes: 4 additions & 5 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import Image from "next/image";
import FlipComponent from "./components/FlipComponent";
import React from "react";
import { AuroraBackgroundDemo } from "./components/BackgroundAurra";

import { FlipWordsDemo } from "./components/FlipWords";
import { LampDemo } from "./components/lampBar";
import HeroSection from "./components/heroSection";
import { AuroraBackgroundHeroSection } from "./components/BackgroundAurra";

export default function Home() {
return (
<main className="antialiased overflow-hidden">
<div className="">
<HeroSection />
</div>
<AuroraBackgroundDemo />
<div className=""></div>
<AuroraBackgroundHeroSection />
<div className="overflow-hidden h-screen">
<FlipWordsDemo />
<LampDemo />
Expand Down

0 comments on commit a52cf0f

Please sign in to comment.