Skip to content

Commit

Permalink
Added splash page
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpreston24 committed Jul 2, 2024
1 parent 0f3f8fc commit 61cdcc1
Show file tree
Hide file tree
Showing 36 changed files with 1,251 additions and 490 deletions.
48 changes: 45 additions & 3 deletions Pages/Builder/Components/_Navbar.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
@model dynamic
<div class="navbar">
<div class="navbar-start m-2">
<a href="/">
<span class="text-xl text-white font-bold">lock n loadout</span>
</a>
</div>
@* <div class="navbar-center hidden lg:flex"> *@
@* <ul class="menu menu-horizontal px-1"> *@
@* <li> *@
@* <a>item 1</a> *@
@* </li> *@
@* <li> *@
@* <a>item 2</a> *@
@* </li> *@
@* </ul> *@
@* </div> *@

<div class="navbar bg-neutral text-neutral-content">
<button class="btn btn-ghost text-xl">daisyUI</button>
@* <li> *@
@* <a href="/">Homepage</a> *@
@* </li> *@
@* <li> *@
@* <a href="/builder"> *@
@* <button disabled>Build</button> *@
@* </a> *@
@* </li> *@
@* <li> *@
@* <a href="sandbox">Sandbox</a> *@
@* </li> *@
@* <li> *@
@* <a href="admin">Admin</a> *@
@* </li> *@
@* <li> *@
@* <a href="about">About</a> *@
@* </li> *@
<div class="navbar-end flex flex-row gap-4">
<div class="tooltip tooltip-bottom" data-tip="Coming soon!">
<span disabled class="btn btn-ghost">
<a href="/Pricing" class="">Pricing</a>
</span>
</div>
<div class="tooltip tooltip-bottom" data-tip="Coming soon!">
<span disabled class="btn btn-ghost">
<a href="/Login" class="">Login</a>
</span>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion Pages/Clones/Index.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page
@model nugsnet6.Pages.IndexModel
@model nugsnet6.Pages.Clones.IndexModel
@{
}

Expand Down
35 changes: 35 additions & 0 deletions Pages/Components/BentoCard.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<div class="bento bento-shadow-blue image-full rounded-lg card w-128 p-4 bg-transparent shadow-xl">
<figure>
@Model.Slot("image")
</figure>
<div class="card-body">
<h2 class="card-title">
@Model.Slot("title")
</h2>
@Model.Slot()
<div class="card-actions justify-end">
@Model.Slot("actions")
</div>
</div>
</div>

<style>
.bento {
/*Src: https://tailwindcss.com/docs/border-radius*/
border-radius: 1.5rem;
border-color: #444444;
box-shadow: #49ff18;
}
.bento-shadow-blue {
box-shadow: 0 .05rem .075rem #00caff;
}
.bento-shadow-green {
box-shadow: 0 .05rem .075rem #00ffca;
}
.bento-shadow-red {
box-shadow: 0 .05rem .075rem #ff00ca;
}
</style>
10 changes: 10 additions & 0 deletions Pages/Components/BentoCard.cshtml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using Hydro;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Razor.TagHelpers;

namespace nugsnet6.Pages.Components;

[HtmlTargetElement("bento-card")]
public class BentoCard : HydroView
{
}
1 change: 0 additions & 1 deletion Pages/Courses/Index.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@page
@model nugsnet6.Pages.IndexModel
@{
}

Expand Down
1 change: 0 additions & 1 deletion Pages/Guides/Index.cshtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@page
@model nugsnet6.Pages.IndexModel
@{
}

Expand Down
Loading

0 comments on commit 61cdcc1

Please sign in to comment.