Skip to content

Commit

Permalink
Update packages and HTMX
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicMaas committed Oct 24, 2023
1 parent 2e593dd commit c65fa63
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 10 deletions.
12 changes: 10 additions & 2 deletions src/Website/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<section>
<p>
Hi! I'm a software developer specializing with the Windows GUI platform (such as WinUI 3, UWP and WPF). I also have experience with Xamarin Forms and really anything XAML related.
Hi, I'm a software developer specializing with the Windows GUI platform (such as WinUI 3, UWP and WPF). I also have experience with Xamarin Forms and really anything XAML related.
</p>
<p>
Professionally, I've built software for <a href="https://www.staffpad.net/">StaffPad</a> and <a href="https://www.inex.co.nz/">Independent Extrusions</a>.
Expand All @@ -21,7 +21,15 @@
In my own time I like to expand my skills by building things I don't usually work with, such as game mods, games, embedded software etc. You can take a look at the projects section of my website to see <a href="/projects">what I've worked on</a>.
While not programming, I enjoy running, biking, <a href="/photography">photography</a>, astronomy and rocketry.
</p>

</section>

<section>
<h2>Software Stack</h2>
<p>
This website is built using <a href="https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core">ASP.NET Razor Pages</a> and <a href="https://htmx.org">HTMX</a>. HTMX is used to provide an extra layer of interactivity, but is not required for the website to work.
</p>
<p>
This website is built using ASP.NET Razor Pages. I've tried to keep things simple and lightweight! Numerous design changes and tweaks, but I'm pretty happy where things are at the moment.
I've tried to keep things simple and light-weight! Numerous design changes and tweaks, but I'm pretty happy where things are at the moment.
</p>
</section>
2 changes: 1 addition & 1 deletion src/Website/Pages/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<p>Some quotes that particularly resonate with me</p>
</div>

<div class="card card-background">
<div class="card card-background" hx-boost="false">
<p class="card-title"><a href="/pages/pico-filesystem-littlefs">Raspberry Pi Pico File System via LittleFS</a></p>
<p>How to use the built in ROM of the Raspberry Pi Pico as a file system using LittleFS</p>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/Website/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@await RenderSectionAsync("Styles", required: false)
</head>
<body>
<div class="container">
<div class="container" hx-boost="true">
<!-- Page header -->
<div class="header">
<!-- Page title -->
Expand Down Expand Up @@ -110,5 +110,9 @@
</ul>
</footer>
</div>

<script src="~/js/htmx.min.js"></script>

@await RenderSectionAsync("Scripts", required: false)
</body>
</html>
8 changes: 4 additions & 4 deletions src/Website/Website.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

<ItemGroup>
<PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.2.2" />
<PackageReference Include="Azure.Identity" Version="1.10.0" />
<PackageReference Include="Azure.Identity" Version="1.10.3" />
<PackageReference Include="BuildBundlerMinifier" Version="3.2.449" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.10">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.12">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.12" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Website/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ nav ul {
}

nav ul li a:hover {
color: var(--color-text);
color: var(--color-link);
}

nav ul li .a:focus {
Expand Down
2 changes: 1 addition & 1 deletion src/Website/wwwroot/css/site.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Website/wwwroot/js/htmx.min.js

Large diffs are not rendered by default.

0 comments on commit c65fa63

Please sign in to comment.