Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,5 @@ yarn-error.log*
.vercel

*.tsbuildinfo
next-env.d.ts
next-env.d.ts
server
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">

![IRIS Neural OS Documentation Banner](./assets/docs_banner.jpeg)
![IRIS Neural OS Documentation Banner](./assets/docs_banner-old.jpeg)

## The Autonomous Neural OS Agent

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ We are highly interested in reports regarding:

## Bug Bounties

IRIS is a labor of love and an open-source initiative. There is currently no bug bounty program and no budget for paid reports. Please still disclose responsibly so we can secure the engine for the community. The best way to help the project right now is by responsibly disclosing and submitting PRs.
IRIS is a labor of love and an open-source initiative. There is currently no bug bounty program and no budget for paid reports. Please still disclose responsibly so we can secure the engine for the community. The best way to help the project right now is by responsibly disclosing and submitting PRs.
File renamed without changes
28 changes: 15 additions & 13 deletions client/app/Components/UI/IrisHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ export default function IrisHero({
className="hero-section sticky top-0 h-screen w-full flex flex-col justify-center items-center z-0 overflow-hidden bg-black"
>
<div className="hidden md:block w-full h-full absolute inset-0 z-0 bg-black">
<FloatingLines
enabledWaves={["top", "middle", "bottom"]}
lineCount={6}
lineDistance={8}
bendRadius={8}
bendStrength={-2}
interactive
parallax={true}
animationSpeed={1}
linesGradient={["#24d307", "#144f01", "#2a8f2c"]}
/>
{isHeroActive && (
<FloatingLines
enabledWaves={["top", "middle", "bottom"]}
lineCount={6}
lineDistance={8}
bendRadius={8}
bendStrength={-2}
interactive
parallax={true}
animationSpeed={1}
linesGradient={["#24d307", "#144f01", "#2a8f2c"]}
/>
)}
</div>
<div
className={`
Expand All @@ -44,7 +46,7 @@ export default function IrisHero({
`}
style={{ display: isHeroActive ? undefined : "none" }}
>
<GhostEther className="block" />
{isHeroActive && <GhostEther className="block" />}
</div>

<div className="relative z-20 flex flex-col items-center justify-center text-center px-6 w-full max-w-5xl gap-0">
Expand Down Expand Up @@ -105,7 +107,7 @@ export default function IrisHero({
<div className="flex md:flex-row flex-col justify-center items-center gap-5 w-full sm:w-auto">
<Link href="/download">
<MagneticButton
title="Download for Windows"
title="Download IRIS AI"
subtitle="Get Early Access"
iconLeft={<Command className="w-6 h-6" />}
iconRight={
Expand Down
25 changes: 14 additions & 11 deletions client/app/Landing/IRIS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import gsap from "gsap";
import { useGSAP } from "@gsap/react";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import Header from "../Components/Header";
import { useRef, useState, useEffect } from "react";
import { useRef, useState } from "react";
import Footer from "../Components/Footer";
import Image from "next/image";
import LogoLoop from "../utils/LogoLoop";
Expand Down Expand Up @@ -40,16 +40,6 @@ const IRIS = () => {
const [isHeroVisible, setIsHeroVisible] = useState(true);
const [isHeroActive, setIsHeroActive] = useState(true);

useEffect(() => {
let timeout: NodeJS.Timeout;
if (isHeroVisible) {
setIsHeroActive(true);
} else {
timeout = setTimeout(() => setIsHeroActive(false), 700);
}
return () => clearTimeout(timeout);
}, [isHeroVisible]);

const actualTechLogos = [
{
node: <RiGeminiFill className="text-4xl text-white cursor-pointer" />,
Expand Down Expand Up @@ -131,6 +121,19 @@ const IRIS = () => {
start: "top top",
onEnter: () => setIsHeroVisible(false),
onLeaveBack: () => setIsHeroVisible(true),
onRefresh: (self) => {
setIsHeroVisible(self.scroll() < self.start);
},
});

ScrollTrigger.create({
trigger: contentRef.current,
start: "top -100%",
onEnter: () => setIsHeroActive(false),
onLeaveBack: () => setIsHeroActive(true),
onRefresh: (self) => {
setIsHeroActive(self.scroll() < self.start);
},
});
},
{ scope: containerRef },
Expand Down
2 changes: 1 addition & 1 deletion client/config/AxiosInstacne.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const AxiosInstance = axios.create({
withCredentials: true,
});

export default AxiosInstance;
export default AxiosInstance;
3 changes: 1 addition & 2 deletions server/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ import app from "../src/index.js";

export default function handler(req: Request, res: Response) {
return app(req, res);
}

}
Loading