-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
206 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default function Cloud() { | ||
return <div> | ||
Cloud | ||
return <div className="h-full flex items-center justify-center"> | ||
<div>Cloud is a work in progress in this version of the IDE</div> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,40 @@ | ||
export default function Home() { | ||
return <div className="text-center h-full flex flex-col gap-1 items-center justify-center"> | ||
function ContractCard(){ | ||
return <div className="ring-1 rounded ring-white/50 p-2 px-3 flex flex-col gap-2 hover:bg-white/5"> | ||
<div className="text-lg">Contract name</div> | ||
<button className="relative bg-green-700/40 hover:bg-green-700/80 px-2 rounded hover:w-24 w-14 text-left transition-all duration-300"> | ||
open | ||
<div className="absolute right-2 w-full text-right text-transparent hover:text-white top-0">-></div> | ||
</button> | ||
</div> | ||
} | ||
|
||
return <div className=" h-full flex flex-col gap-1 items-center justify-center"> | ||
<div className="text-2xl">Welcome to BetterIDE! 🚀</div> | ||
<div className="text-lg">Your one stop solution for developing smart contracts on Arweave</div> | ||
|
||
<div className="flex flex-col gap-5 justify-start items-start w-full px-10"> | ||
<div> | ||
<div className="text-xl my-1">Recently opened contracts</div> | ||
<div className="flex gap-3"> | ||
<ContractCard/> | ||
<ContractCard/> | ||
<ContractCard/> | ||
<ContractCard/> | ||
</div> | ||
</div> | ||
<div> | ||
<div className="text-xl my-1">Explore contract templates</div> | ||
<div className="flex gap-3"> | ||
<ContractCard/> | ||
<ContractCard/> | ||
<ContractCard/> | ||
<ContractCard/> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
import areco from "../assets/arweave/ecosystem.svg" | ||
|
||
export default function Settings() { | ||
return <div> | ||
Settings | ||
return <div className="h-full flex flex-col gap-5 items-center justify-center"> | ||
<img src={areco} className="w-[269px]" draggable={false} /> | ||
<a href="https://github.com/ankushKun/betterIDE" target="_blank"> | ||
<div className="flex items-center gap-3 font-semibold text-2xl tracking-widest ring-1 rounded-lg ring-white/20 p-2 hover:bg-white/5"> | ||
<img src="https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" className="w-[60px] rounded-full" draggable={false} /> | ||
<div>View source<br /> on Github</div> | ||
</div> | ||
</a> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default function Showcase() { | ||
return <div> | ||
Showcase | ||
return <div className="h-full flex items-center justify-center"> | ||
<div>Showcase is a work in progress in this version of the IDE</div> | ||
</div> | ||
} |
Oops, something went wrong.