Skip to content

Commit

Permalink
iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Jan 11, 2025
1 parent 85b1a93 commit f72b917
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
3 changes: 1 addition & 2 deletions web-app/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { AppLayout } from "components/layout/site/AppLayout";
import type { Metadata, Viewport } from "next";
import { Inter } from "next/font/google";
import { headers } from "next/headers";
Expand Down Expand Up @@ -60,7 +59,7 @@ export default function RootLayout({
return (
<html lang="en" id={page}>
<body className={inter.className}>
<AppLayout>{children}</AppLayout>
{children}
</body>
</html>
);
Expand Down
2 changes: 0 additions & 2 deletions web-app/src/components/new/AppHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";

import { useAuth } from "@/context/AuthContext";
import Image from "next/image";
import { useRouter, useSearchParams } from "next/navigation";
import { useState, useEffect } from "react";
Expand All @@ -9,7 +8,6 @@ import Button from "./Button";
const AppHeader = () => {
const router = useRouter();
const query = useSearchParams();
const { connect } = useAuth();
const [allowed, setAllowed] = useState(false);
const [isMenuOpen, setIsMenuOpen] = useState(false);

Expand Down
2 changes: 0 additions & 2 deletions web-app/src/components/sections/landing/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import Button from "@/components/new/Button";
import { useAuth } from "@/context/AuthContext";
import Image from "next/image";
import { useRouter, useSearchParams } from "next/navigation";
import { useMemo } from "react";

const HeroSection = () => {
const router = useRouter();
const query = useSearchParams();
const { connect } = useAuth();

const allowed = useMemo(() => {
return query.get("allowed") === "true";
Expand Down
22 changes: 16 additions & 6 deletions web-app/src/components/sections/landing/Partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,40 @@ const PartnersSection = () => {
height={30}
/>
</a>
<a href="https://fleek.network/" target="_blank">
<Image
src="/images/partners/ic_fleek.png"
alt="Fleek Network"
width={200}
height={50}
/>
</a>

</div>

<div className="flex flex-col md:flex-row items-center justify-center gap-4 md:gap-[108px]">
<a href="https://olas.network/" target="_blank">
<Image
src="/images/partners/ic_olas.png"
alt="Intuition"
alt="Olas Network"
width={90}
height={50}
/>
</a>
<a href="https://disco.xyz/" target="_blank">

<a href="https://opengradient.ai/" target="_blank">
<Image
src="/images/partners/ic_disco.png"
alt="Intuition"
width={50}
src="/images/partners/ic_opengradient.png"
alt="Opengradient"
width={200}
height={50}
/>
</a>

<a href="https://www.ver.ax/" target="_blank">
<Image
src="/images/partners/ic_verax.png"
alt="Intuition"
alt="Verax"
width={132}
height={50}
/>
Expand Down

0 comments on commit f72b917

Please sign in to comment.