Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
YashDhirajOza authored Sep 15, 2024
1 parent eff46a2 commit e51f669
Show file tree
Hide file tree
Showing 47 changed files with 1,006 additions and 0 deletions.
Binary file added src/app/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
23 changes: 23 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import type { Metadata } from "next";
import { DM_Sans } from "next/font/google";
import clsx from "clsx";
import "./globals.css";

const dmSans = DM_Sans({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Saas Template - EldoraUI",
description: "Template for saas applications with dark theme",
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={clsx(dmSans.className, "antialiased")}>{children}</body>
</html>
);
}
33 changes: 33 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { Banner } from "@/components/Banner";
import { Navbar } from "@/components/Navbar";
import { Hero } from "@/components/Hero";
import { LogoTicker } from "@/components/LogoTicker";
import { Features } from "@/components/Features";
import { ProductShowcase } from "@/components/ProductShowcase";
import { FAQs } from "@/components/FAQs";
import { CallToAction } from "@/components/CallToAction";
import { Footer } from "@/components/Footer";
import { Pricing } from "@/components/Pricingdemo";


export default function Home() {
return (
<>
<div className="overflow-x-hidden">
<Banner />
<Navbar />
<Hero />
<LogoTicker />

<Features />

<ProductShowcase />
<FAQs />
<Pricing/>

<CallToAction />
</div>
<Footer />
</>
);
}
3 changes: 3 additions & 0 deletions src/assets/icons/arrow-w.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/ecosystem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/insta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/assets/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icons/menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/pinterest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/icons/plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/tiktok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/x-social.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icons/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/acme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/apex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/app-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/celestial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/cursor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/echo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/eldoraui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/emojistar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/helix2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/logosaas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/message.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/product.avif
Binary file not shown.
Binary file added src/assets/images/pulse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/quantum.png
28 changes: 28 additions & 0 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"use client";

import { ChevronRight } from "lucide-react";
import Link from "next/link";


export function Banner() {
return (
<div className="relative top-0 bg-black py-3 text-white md:py-0 border-b border-white/20">
<div className="container flex flex-col items-center justify-center gap-4 md:h-12 md:flex-row">
<Link
href="https://github.com/karthikmudunuri/eldoraui"
target="_blank"
className="group inline-flex items-center justify-center text-center text-sm leading-loose"
>
<span className="font-bold">
{" "}
⭐WEBSITE BY YASH OZA
</span>{" "}
<ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />
</Link>
</div>


</div>
);
}
43 changes: 43 additions & 0 deletions src/components/CallToAction.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"use client"
import HelixImage from '../assets/images/helix2.png'
import EmojiImage from '../assets/images/emojistar.png'
import Image from 'next/image';
import { motion, useScroll, useTransform } from 'framer-motion';
import { useRef } from 'react';

export const CallToAction = () => {
const containerRef = useRef<HTMLDivElement>(null);

const { scrollYProgress } = useScroll({
target: containerRef,
offset: ["start end", "end end"]
})

const translateY = useTransform(scrollYProgress, [0, 1], [50, -50]);

return (
<div className="bg-black text-white py-[72px] sm:py-24" ref={containerRef}>
<div className="container max-w-xl relative">
<motion.div style={{ translateY }}>
<Image src={HelixImage} alt="helix" className="absolute top-6 left-[calc(100%+36px)]" />
</motion.div>
<motion.div style={{ translateY }}>
<Image src={EmojiImage} alt="emoji" className="absolute -top-[120px] right-[calc(100%+30px)]" />
</motion.div>

<h2 className="font-bold text-5xl sm:text-6xl tracking-tighter">Maximize Your Solar Efficiency</h2>
<p className="text-xl text-white/70 mt-5">Discover how our cutting-edge solar tracking system can boost your energy output and save on costs. Sign up now to get started with the most advanced solar technology.</p>


<form className="mt-10 flex flex-col gap-2.5 max-w-sm mx-auto sm:flex-row">
<input
type="email"
placeholder=""
className="h-12 bg-white/20 rounded-lg px-5 font-medium placeholder:text-[#9CA3AF] sm:flex-1"
/>
<button className="bg-white text-black h-12 rounded-lg px-5">Get access</button>
</form>
</div>
</div>
)
};
72 changes: 72 additions & 0 deletions src/components/FAQs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
"use client"
import { useState } from "react";
import PlusIcon from "../assets/icons/plus.svg";
import MinusIcon from "../assets/icons/minus.svg";
import clsx from "clsx";
import {motion , AnimatePresence} from 'framer-motion';
const items = [
{
question: "What is the cost of installing the solar tracking system?",
answer:
"The cost of installation depends on several factors, including the size of your solar array and your specific location. Please contact our sales team for a customized quote based on your needs and location.",
},
{
question: "How does the solar tracking system improve efficiency?",
answer:
"Our solar tracking system automatically adjusts the angle of your solar panels to follow the sun’s path throughout the day. This ensures that your panels receive maximum sunlight exposure, increasing energy production by up to 30% compared to fixed systems.",
},
{
question: "Can I retrofit the solar tracker to my existing solar panels?",
answer:
"Yes, our solar tracking system is designed to be compatible with most existing solar panel setups. Our installation team will evaluate your current system and make any necessary adjustments to ensure a smooth integration.",
},
{
question: "What maintenance is required for the solar tracking system?",
answer:
"The solar tracking system is designed for minimal maintenance. Regular checks and occasional cleaning of the panels are recommended to ensure optimal performance. Our support team provides detailed maintenance guidelines and is available for assistance if needed.",
},
];

const AccordinationItem = ({question, answer}:{question:string, answer: string}) => {
const[isOpen, setIsOpen] = useState(false);
return(

<div className=" py-7 border-b border-white/30" onClick={() => setIsOpen(!isOpen)}>
<div className="flex items-center ">
<span className="flex-1 text-lg font-bold">{question}</span>
{isOpen ? <MinusIcon /> :<PlusIcon />}

</div>
<AnimatePresence>
{isOpen && (
<motion.div
initial={{opacity: 0, height: 0, marginTop: 0}}
animate={{opacity: 1, height: "auto" , marginTop:'16px'}}
exit={{opacity: 0, height: 0, marginTop: 0}}
>{answer}</motion.div>

)}
</AnimatePresence>

</div>


)
}

export const FAQs = () => {
return (
<div className="bg-black text-white py-[72px] sm:py-24 bg-gradient-to-b from-[#5D2CA8] to-black ">
<div className="container">
<h2 className="text-5xl sm:text-6xl sm:w-[648px] mx-auto text-center text-white tracking-tighter">
Frequently Asked Questions
</h2>
<div className="mt-12 max-w-[648px] mx-auto">
{items.map(({question, answer}) => (
<AccordinationItem question={question} answer={answer} key={question}/>
))}
</div>
</div>
</div>
)
};
Loading

0 comments on commit e51f669

Please sign in to comment.