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
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-toastify": "^9.1.1",
"react-type-animation": "^2.1.2",
"styled-components": "^5.3.8",
"twilio": "^4.8.0",
"use-metamask": "^1.3.3",
Expand Down
Binary file added src/assets/BorrowSs.jpeg
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/DashImg.jpeg
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/GroupCoin.jpeg
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/LandingImg.jpeg
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/LendingSs.jpeg
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/ethLogo.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/token.png
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/undraw_join_re_w1lh.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/undraw_sharing_knowledge_03vp.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/undraw_warning_re_eoyh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions src/components/Background.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import React from "react";
import Spline from "@splinetool/react-spline";
import LendingSs from "../assets/lendingSs.jpeg";
import Image from "next/Image";
import BorrowSs from "../assets/borrowSs.jpeg";
import { TypeAnimation } from "react-type-animation";

const Background = () => {
return (
<>
<div className="z-[0] absolute top-0 h-[95vh] w-screen ">
<Spline
scene="https://prod.spline.design/R7u20LxCiHGFBQGE/scene.splinecode"
className="z-[0]"
/>
</div>

<div className="flex flex-row items-center ">
<div className="z-[2] w-[80px] flex-1 m-16 relative font-extrabold text-transparent text-5xl bg-clip-text bg-gradient-to-r from-[#362DB5] to-[#A047B0]">
<TypeAnimation
// Same String at the start will only be typed once, initially
sequence={[
"Make the most of your MATIC",
2000,
"Make the most of your ETH",
2000,
"Make the most of your USDT",
2000,
]}
speed={50} // Custom Speed from 1-99 - Default Speed: 40
style={{ fontSize: "2em" }}
wrapper="span" // Animation will be rendered as a <span>
repeat={Infinity} // Repeat this Animation Sequence infinitely
/>
</div>
<div className="z-[2] w-1/2 flex-1 m-16 mr-0 relative overflow-x-clip">
<Image
src={LendingSs}
alt="gg"
className=" h-5/6 w-5/6 opacity-75 drop-shadow-xl rounded-lg"
/>
<Image
src={BorrowSs}
alt=""
className="absolute h-5/6 w-5/6 top-[50%] ml-[-35%] right-[35%] opacity-80 drop-shadow-xl rounded-lg overflow-hidden z-[-1]"
/>
</div>
</div>
</>
);
};

export default Background;
15 changes: 15 additions & 0 deletions src/components/DashImg.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import Image from "next/Image";
import React from "react";
import DImg from "../assets/DashImg.jpeg";

export const DashImg = () => {
return (
<div className="flex justify-center">
<Image
src={DImg}
alt="DashBoardImg"
className="h-[35rem] w-max drop-shadow-[0_15px_20px_rgba(54,45,101,0.7)] rounded-2xl hover:scale-125 transition-all duration-500"
/>
</div>
);
};
Loading