Skip to content

Commit

Permalink
add placeholder sections for friends and Boards
Browse files Browse the repository at this point in the history
  • Loading branch information
randallard committed Nov 29, 2024
1 parent 76dc8e0 commit f5c2efc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ fn App() -> impl IntoView {
</button>
</>
})}
{move || (!show_form.get()).then(|| view! {
<div class="grid grid-cols-2 gap-8 w-full max-w-4xl px-4">
<div>
<h2 class="text-2xl font-bold mb-4">"Friends"</h2>
<a href="#" class="text-blue-400 hover:text-blue-300 block mb-2">"+ Invite a Friend"</a>
</div>
<div>
<h2 class="text-2xl font-bold mb-4">"Boards"</h2>
<a href="#" class="text-blue-400 hover:text-blue-300 block mb-2">"+ Create New Board"</a>
</div>
</div>
})}
</div>
}
}
Expand Down

0 comments on commit f5c2efc

Please sign in to comment.