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 69032e6 commit c0844ec
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 9,814 deletions.
Binary file added web-app/public/images/partners/ic_fleek.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9,630 changes: 0 additions & 9,630 deletions web-app/src/app/[...id]/app.css

This file was deleted.

68 changes: 0 additions & 68 deletions web-app/src/app/[...id]/page.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions web-app/src/app/new/page.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions web-app/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ const Landing = () => {
borderBottom: "1px solid rgba(110, 191, 244, 0.2)",
}}
>
{true && <UseCasesSection />}
{false && <UseCasesSection />}
</div>
<HowItWorksSection />
{false && <HowItWorksSection />}
<div
style={{
background: "rgba(110, 191, 244, 0.07)",
Expand Down
28 changes: 8 additions & 20 deletions web-app/src/components/new/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ const AppHeader = () => {
HOME
</a>
</li>
<li>
<a
href="#"
onClick={() => scrollIntoSection("UseCases")}
className="hover:underline"
>
USE CASES
</a>
</li>

<li>
<a
target="_blank"
Expand All @@ -79,11 +71,15 @@ const AppHeader = () => {
</a>
</li>
</ul>
<Button onClick={connect}>Connect</Button>
<Button onClick={() => {
router.push("https://testflight.apple.com/join/e6sekS5x");
}}>Download Beta App</Button>
</div>

<div className="md:hidden flex flex-row gap-4 items-center">
<Button onClick={connect}>Connect</Button>
<Button onClick={() => {
router.push("https://testflight.apple.com/join/e6sekS5x");
}}>Download Beta App</Button>
<button
className="text-white"
onClick={() => setIsMenuOpen(!isMenuOpen)}
Expand Down Expand Up @@ -114,15 +110,7 @@ const AppHeader = () => {
HOME
</a>
</li>
<li>
<a
onClick={() => scrollIntoSection("UseCases")}
href="#"
className="hover:underline"
>
USE CASES
</a>
</li>

<li>
<a href="https://blog.index.network" className="hover:underline">
BLOG
Expand Down
4 changes: 3 additions & 1 deletion web-app/src/components/sections/landing/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const HeroSection = () => {
discovery experiences across the web.
</p>
<div className="flex gap-4">
<Button onClick={connect}>Connect</Button>
<Button onClick={() => {
router.push("https://testflight.apple.com/join/e6sekS5x");
}}>Download Beta App</Button>
<Button
variant="outline"
onClick={() => {
Expand Down
9 changes: 1 addition & 8 deletions web-app/src/components/sections/landing/Partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@ const PartnersSection = () => {
height={30}
/>
</a>
<a href="https://fluence.dev/" target="_blank">
<Image
src="/images/partners/ic_fluence.png"
alt="IPFS"
width={117}
height={50}
/>
</a>

</div>

<div className="flex flex-col md:flex-row items-center justify-center gap-4 md:gap-[108px]">
Expand Down
8 changes: 8 additions & 0 deletions web-app/src/context/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,16 @@ export const AppContextProvider = ({ children }: AppContextProviderProps) => {
);

useEffect(() => {

if (path) {
router.push('/');
return;
}

if (isLanding || !apiReady) return;



if (isConversation) {
console.log("fetching conversation");
fetchAndStoreConversation();
Expand Down

0 comments on commit c0844ec

Please sign in to comment.