Skip to content

Commit

Permalink
Adds start page
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgingras committed Jun 13, 2024
1 parent 61a9767 commit 5c3fcac
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/claim/components/ClaimFlow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ClaimStage from "../stages/Claim";

const ClaimFlow = () => {
const { address, isConnecting } = useAccount();
const [stage, setStage] = useState<number>(1);
const [stage, setStage] = useState<number>(0);
const [values, setValues] = useState<string[]>([]);

// loading case
Expand Down
27 changes: 26 additions & 1 deletion src/app/claim/stages/Start.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
import React from "react";
import Image from "next/image";
import { Button } from "../../../components/ui/button";

const StartStage = ({ onSuccess }: { onSuccess: () => void }) => {
return <div>starting</div>;
return (
<div className="w-[700px] mx-auto space-y-4">
<div className="w-full h-[525px] relative">
<Image
src="/images/scroll/scroll-welcome.png"
alt="People around a circle of eth, yellow, blue, colorful"
fill
/>
</div>
<h1 className="font-black text-[40px] text-center mt-[-48px]">
Govern the Scroll Protocol
</h1>
<p className="text-center text-agora-stone-700">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eu
lectus dignissim, porta tortor nec.Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Aliquam eu lectus dignissim, porta tortor
nec.
</p>
<Button className="w-full">Connect</Button>
<Button className="w-full" variant="secondary">
Apply for organizational grant
</Button>
</div>
);
};

export default StartStage;

0 comments on commit 5c3fcac

Please sign in to comment.