Skip to content

Commit

Permalink
Fixed Broken Mobile Screen
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-mutkure committed Feb 27, 2024
1 parent b0aee37 commit 4d8939c
Showing 1 changed file with 9 additions and 29 deletions.
38 changes: 9 additions & 29 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ function NavLink(
{...props}
target={props.target ?? "_blank"}
rel="noreferrer"
className={cn("btn btn-ghost hover:underline", props.className)}
className={cn(
"btn btn-ghost hover:underline text-[18px]",
props.className
)}
>
{props.children}
</a>
Expand Down Expand Up @@ -82,29 +85,6 @@ function ActionButton(
);
}

// const getStartedData = [
// ["explore contract templates", "or begin from scratch"],
// [],
// ["deploy locally", "or on the mainnet"],
// [],
// ["test for bugs on local deployment"],
// ];

// const aoBookData = [
// {
// title: "Familiar Efficiency",
// desc: "Efficiency of Google Colab, providing a familiar structure for on-chain computations with ease.",
// },
// {
// title: "Ease of Usability",
// desc: "User-friendly interface, designed for effortless navigation and coding.",
// },
// {
// title: "Streamlined Workflows",
// desc: "Thoughtfully streamlined workflows for maximum productivity and creativity.",
// },
// ];

function App() {
const nameRef = useRef<HTMLInputElement>(null);
const queryRef = useRef<HTMLTextAreaElement>(null);
Expand Down Expand Up @@ -160,7 +140,7 @@ function App() {
role="button"
className="btn btn-ghost lg:hidden"
>
<img className="" src="/logo.png" />
<img className="w-20 h-auto" src="/logo.png" />
</div>
</div>

Expand Down Expand Up @@ -193,7 +173,7 @@ function App() {
>
{/* Create a grid that has two rows on mobile and converts to single row on larger devices */}
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8 container">
<h1 className="text-[84px] z-20 font-bold text-center lg:text-left">
<h1 className="text-5xl lg:text-[84px] z-20 font-bold text-center lg:text-left">
One stop env <br />
for devs
<br /> on <span className="text-[var(--green)]">Arweave</span>
Expand Down Expand Up @@ -252,7 +232,7 @@ function App() {
<ActionButton className="w-fit">Get Started</ActionButton>
</div>

<div className="grid grid-cols-2 gap-4 justify-items-center max-w-[524px] self-center justify-self-end">
<div className="hidden lg:grid grid-cols-2 gap-4 justify-items-center max-w-[524px] self-center justify-self-end">
<div className="justify-self-center self-center">
<Card
label="Code"
Expand Down Expand Up @@ -324,11 +304,11 @@ function App() {

<section id="demo" className="w-full gap-24 py-24 px-8 bg-[#111111]">
<div className="container mx-auto flex flex-row justify-between items-center gap-8">
<div>
<div className="max-w-screen-sm">
<img
src="/ide.png"
alt="IDE Preview"
className="rounded-lg shadow-md max-w-screen-sm"
className="rounded-lg shadow-md max-w-full"
/>
</div>

Expand Down

0 comments on commit 4d8939c

Please sign in to comment.