Compare commits
1 Commits
cpp
...
blazor_web
| Author | SHA1 | Date | |
|---|---|---|---|
| e1053844c0 |
Binary file not shown.
BIN
.cache/jb/UpdateWork.dat
Normal file
BIN
.cache/jb/UpdateWork.dat
Normal file
Binary file not shown.
1
.cache/jb/version.txt
Normal file
1
.cache/jb/version.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
(ssh://git@git.jetbrains.team/llvm/llvm-project.git f4157ca9dd49181f6d35eaf6d324ffa84a40f01b based on LLVM 31f1590e4fb324c43dc36199587c453e27b6f6fa revision)
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,4 +6,4 @@ CMakeCache.txt
|
|||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
# Executable
|
# Executable
|
||||||
server.out
|
douwco_web
|
||||||
|
|||||||
15
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/.gitignore
generated
vendored
Normal file
15
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/contentModel.xml
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/modules.xml
|
||||||
|
/.idea.DouwcoWebsite.iml
|
||||||
|
# Ignored default folder with query files
|
||||||
|
/queries/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
4
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/encodings.xml
generated
Normal file
4
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/encodings.xml
generated
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||||
|
</project>
|
||||||
8
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/indexLayout.xml
generated
Normal file
8
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/indexLayout.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/vcs.xml
generated
Normal file
6
.idea_DouwcoWebsite/.idea.DouwcoWebsite.dir/.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
10
.vscode/launch.json
vendored
Normal file
10
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@@ -1,5 +1,3 @@
|
|||||||
{
|
{
|
||||||
"clangd.arguments": [
|
"cmake.sourceDirectory": "/home/douwe/Nextcloud/Projects/douwco.be"
|
||||||
"--query-driver=/usr/bin/g++-15"
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
10
App.razor
Normal file
10
App.razor
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Router AppAssembly="typeof(App).Assembly">
|
||||||
|
<Found Context="routeData">
|
||||||
|
<RouteView RouteData="routeData" />
|
||||||
|
<FocusOnNavigate RouteData="routeData" Selector="h1" />
|
||||||
|
</Found>
|
||||||
|
<NotFound>
|
||||||
|
<PageTitle>Not found</PageTitle>
|
||||||
|
<p role="alert">Sorry, there's nothing at this address.</p>
|
||||||
|
</NotFound>
|
||||||
|
</Router>
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.10)
|
|
||||||
project(douwco_website)
|
|
||||||
|
|
||||||
# Set the C++ standard (e.g., C++17)
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
||||||
|
|
||||||
# Add your executable
|
|
||||||
add_executable(server.out
|
|
||||||
server/main.cpp
|
|
||||||
)
|
|
||||||
18
Dockerfile
18
Dockerfile
@@ -1,18 +0,0 @@
|
|||||||
FROM debian:stable-slim
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y \
|
|
||||||
g++ \
|
|
||||||
cmake \
|
|
||||||
libboost-all-dev
|
|
||||||
|
|
||||||
WORKDIR /webserver
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN mkdir -p build && \
|
|
||||||
cd build && \
|
|
||||||
cmake .. && \
|
|
||||||
make
|
|
||||||
|
|
||||||
ENTRYPOINT ["./build/server.out"]
|
|
||||||
15
DouwcoWebsite.csproj
Normal file
15
DouwcoWebsite.csproj
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.0" PrivateAssets="all" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
21
DouwcoWebsite.sln
Normal file
21
DouwcoWebsite.sln
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DouwcoWebsite", "DouwcoWebsite.csproj", "{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{694925D6-4EC4-41C4-A53D-E2EB3B80A0F7}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
compose.yaml = compose.yaml
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{CCF6B1B7-9CEB-485C-BDE4-BB6A2D1BC9A5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
40
Pages/Index.razor
Normal file
40
Pages/Index.razor
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
@page "/"
|
||||||
|
@inject ScrollService ScrollService
|
||||||
|
|
||||||
|
<PageTitle>Douwco</PageTitle>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<NavMenu />
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="scroll_container">
|
||||||
|
<section id="home" class="scroll_section observed" data-section-name="home">
|
||||||
|
<HomeSection />
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="about_me" class="scroll_section observed" data-section-name="about_me">
|
||||||
|
<AboutMeSection />
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="apps" class="scroll_section observed" data-section-name="apps">
|
||||||
|
<AppsSection />
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="games" class="scroll_section observed" data-section-name="games">
|
||||||
|
<GamesSection />
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<Footer />
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||||
|
{
|
||||||
|
if (firstRender)
|
||||||
|
{
|
||||||
|
await ScrollService.InitializeAsync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Program.cs
Normal file
12
Program.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using Microsoft.AspNetCore.Components.Web;
|
||||||
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||||
|
using DouwcoWebsite;
|
||||||
|
|
||||||
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||||
|
builder.RootComponents.Add<App>("#app");
|
||||||
|
builder.RootComponents.Add<HeadOutlet>("head::after");
|
||||||
|
|
||||||
|
// Register the scroll service for navigation
|
||||||
|
builder.Services.AddScoped<ScrollService>();
|
||||||
|
|
||||||
|
await builder.Build().RunAsync();
|
||||||
49
Services/ScrollService.cs
Normal file
49
Services/ScrollService.cs
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
using Microsoft.JSInterop;
|
||||||
|
|
||||||
|
namespace DouwcoWebsite;
|
||||||
|
|
||||||
|
public class ScrollService : IDisposable
|
||||||
|
{
|
||||||
|
private readonly IJSRuntime _jsRuntime;
|
||||||
|
private DotNetObjectReference<ScrollService>? _dotNetObjectReference;
|
||||||
|
private IJSObjectReference? _module;
|
||||||
|
|
||||||
|
public event Action<string>? OnSectionChanged;
|
||||||
|
|
||||||
|
public ScrollService(IJSRuntime jsRuntime)
|
||||||
|
{
|
||||||
|
_jsRuntime = jsRuntime;
|
||||||
|
_dotNetObjectReference = DotNetObjectReference.Create(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task InitializeAsync()
|
||||||
|
{
|
||||||
|
_module = await _jsRuntime.InvokeAsync<IJSObjectReference>(
|
||||||
|
"import", "./js/scrollService.js");
|
||||||
|
|
||||||
|
await _module.InvokeVoidAsync("initialize", _dotNetObjectReference);
|
||||||
|
}
|
||||||
|
|
||||||
|
[JSInvokable]
|
||||||
|
public void HandleSectionChange(string sectionId)
|
||||||
|
{
|
||||||
|
OnSectionChanged?.Invoke(sectionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task ScrollToSection(string sectionId)
|
||||||
|
{
|
||||||
|
if (_module != null)
|
||||||
|
{
|
||||||
|
await _module.InvokeVoidAsync("scrollToSection", sectionId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
_dotNetObjectReference?.Dispose();
|
||||||
|
if (_module != null)
|
||||||
|
{
|
||||||
|
_module.InvokeVoidAsync("dispose");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
82
Shared/AboutMeSection.razor
Normal file
82
Shared/AboutMeSection.razor
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
<div class="vert_container start">
|
||||||
|
<img class="image stick small" src="/img/me_img.png" alt="Image" />
|
||||||
|
<div class="panel">
|
||||||
|
<h1>Hi, I'm Douwe</h1>
|
||||||
|
<p>
|
||||||
|
A <span style="color: var(--green-clr);">PhD student</span> at KU Leuven with a passion for game development and software independence.
|
||||||
|
<br /><br />
|
||||||
|
Currently I'm working on:
|
||||||
|
</p>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/rollability.png" alt="RollAbility" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">RollAbility</span> <br />
|
||||||
|
For my PhD research at KU Leuven, I'm developing RollAbility a therapeutic exergame that bridges player autonomy with clinical guidelines to enhance wheelchair training.
|
||||||
|
<br /><br />Developed in collaboration with therapists, RollAbility is a game build onto a clinical protocol
|
||||||
|
and controlled by an actual powered wheelchair. The game connects to the RollAbility App which allows therapists
|
||||||
|
to control the training session in real-time.
|
||||||
|
<br /><br /><a href="https://dl.acm.org/doi/abs/10.1145/3748621" target="_blank">Read the paper</a> or <a href="https://www.youtube.com/watch?v=8y9XFdSN_04" target="_blank">Watch the video</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/alcove.png" alt="Alcove" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Alcove</span> <br />
|
||||||
|
Alcove is a interreg project between Flemish, Walloon and French universities and hospitals that aims to build a device that detects lung cancer through a breath test.
|
||||||
|
<br /><br />My role is to create a user interface for the device. This UI has to work on both android phones as on embedded linux devices.
|
||||||
|
<br /><br /><a href="https://alcove.crosss3.eu/nl/" target="_blank">Read more about Alcove</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p><span style="color: var(--green-clr);">However</span> in the past I also worked on:</p>
|
||||||
|
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/godot_addons.png" alt="Godot tools" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Godot Addons</span> <br />
|
||||||
|
I published two small addons to the godot asset library.
|
||||||
|
<br /><br />One addon called <a href="https://godotengine.org/asset-library/asset/3505">Godot Visual Studio Debugger</a> which allows you to dynammicaly run the current scene open in the Godot editor directly in Visual Studio Debugger.
|
||||||
|
<br /><br />The second addons called <a href="https://godotengine.org/asset-library/asset/3420">Godot Test Scenes</a> extends the Godot editor with an additional run mode, this mode runs a associated test scene to the currently open one in the editor.
|
||||||
|
<br /><br />They are both open source:
|
||||||
|
<br /><a href="https://github.com/DouweRavers/godot_test_scene">Godot Test Scenes</a> and <a href="https://github.com/DouweRavers/godot_visualstudio_debugger/tree/main">Godot Visual Studio Debugger</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/kingfisher.png" alt="Kingfisher" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Kingfisher</span> <br />
|
||||||
|
The project <a href="https://kingfisher-game.com/">Kingfisher</a> is a game build by <a>PossilbyPixels</a> that rises awareness about Autism. It is a storybased action / puzzle game for PC and mobile.
|
||||||
|
<br /><br />My role in the project was to build minigames that occur throughout the story and also to develop tools to help development.
|
||||||
|
<br /><br />One of the tools I made for this project was a suburban neigborhood generator. This tool allowed us to draw streets in the editor which then were automaticly filled with procedural generated houses and gardens. You can see a demo in <a href="/vid/procedural_streets.mp4">this video</a>.
|
||||||
|
<br /><br />You can wishlist the game on <a href="https://store.steampowered.com/app/4197280/Kingfisher_An_Autism_Tale/">Steam</a>!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/ludum_dare.png" alt="Ludum Dare" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Ludum Dare</span> <br />
|
||||||
|
Between 2019 and 2024, I participated regulary into the Ludum Dare Event. This event was all about creating games under tight deadlines of 48 hours and with no external resources such as audio or 3D art.
|
||||||
|
<br /><br />After each event I published my game on <a href="https://coffeeplanet.itch.io/">Itch.io</a> where they are still availble for play. In the future I want to migrate them to this website.
|
||||||
|
<br /><br />I want to especially highlight <a href="https://coffeeplanet.itch.io/ludum-dare-51">Cobor goes farming</a> and <a href="https://coffeeplanet.itch.io/windy-the-indie">Windy the Indy</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/thesis_tool.png" alt="Planet Tool" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Masterthesis: Planet Tool</span> <br />
|
||||||
|
For my Masterthesis at Group T KU Leuven I made a tool for Unity that creates a procedural planet terrain.
|
||||||
|
<br /><br />The main challenge of this project was to optimize the algorithm to work as fast as possible. For this I leveraged GPU compute shaders to process large chunks of data at once.
|
||||||
|
<br /><br />You can find the tool and my thesis paper <a href="https://github.com/DouweRavers/ThesisProject-ThePlanetEngine/tree/main">here</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="content-box">
|
||||||
|
<img class="project-thumb" src="/img/wizard_gloves.png" alt="Wizard Gloves" />
|
||||||
|
<p>
|
||||||
|
<span class="intro-text">Masterproject: Wizard Gloves</span> <br />
|
||||||
|
In another project during my masters we explored gesture-based interactions in virtual environments.
|
||||||
|
<br /><br />For this project we developed a prototype using Unity and custom wearable hardware to enable magic-like hand gestures for interfacing with a story game.
|
||||||
|
<br /><br />See the game <a href="/vid/wizard_gloves.mp4">here</a> or you can find the game and paper <a href="https://github.com/DouweRavers/MasterProject-WizardsGlovesAdventure/tree/main">here</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@@ -3,4 +3,4 @@
|
|||||||
<p>
|
<p>
|
||||||
Under construction...
|
Under construction...
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
8
Shared/Footer.razor
Normal file
8
Shared/Footer.razor
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<div class="vert_container">
|
||||||
|
<p id="copyright">© @currentYear - douwco.be</p>
|
||||||
|
<p>Made and hosted in EU</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
private string currentYear = DateTime.Now.Year.ToString();
|
||||||
|
}
|
||||||
@@ -3,4 +3,4 @@
|
|||||||
<p>
|
<p>
|
||||||
Under construction...
|
Under construction...
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<div class="vert_container revert start">
|
<div class="vert_container revert start">
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="section-title">
|
<div class="section-title">
|
||||||
<img class="icon large toggle" src="/img/douwco_logo.png" alt="Image">
|
<img class="icon large toggle" src="/img/douwco_logo.png" alt="Image" />
|
||||||
<div class="text-section">
|
<div class="text-section">
|
||||||
<h1 class="title">Douwco</h1>
|
<h1 class="title">Douwco</h1>
|
||||||
<div class="tagline">
|
<div class="tagline">
|
||||||
@@ -12,14 +12,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
<p>
|
<p>
|
||||||
<span class="intro-text">Welcome to the Douwco website.</span> <br>
|
<span class="intro-text">Welcome to the Douwco website.</span> <br />
|
||||||
Ever wondered what machine the website you are visiting is run on? Well this time you know, just look to the image.
|
Ever wondered what machine the website you are visiting is run on? Well this time you know, just look to the image.
|
||||||
This small homeserver hosts several open-source services like Nextcloud, Gitea, Overleaf community and ofcourse this
|
This small homeserver hosts several open-source services like Nextcloud, Gitea, Overleaf community and of course this
|
||||||
website. <br> <br>
|
website. <br /> <br />
|
||||||
Here I showcase my portfolio and all the games I've created over the years. If you are
|
Here I showcase my portfolio and all the games I've created over the years. If you are
|
||||||
a family member you can also find the different services in the Douwco Apps tab.
|
a family member you can also find the different services in the Douwco Apps tab.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img class="image stick large" src="/img/server_image.png" alt="Image">
|
<img class="image stick large" src="/img/server_image.png" alt="Image" />
|
||||||
</div>
|
</div>
|
||||||
47
Shared/NavMenu.razor
Normal file
47
Shared/NavMenu.razor
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
<nav>
|
||||||
|
<div class="vert_container centered">
|
||||||
|
<a class="nav_option @(currentSection == "home" ? "active" : "")" href="#home" @onclick:preventDefault @onclick="ScrollToHome">
|
||||||
|
<img class="icon medium" src="/img/douwco_logo.png" />
|
||||||
|
</a>
|
||||||
|
<a class="nav_option @(currentSection == "about_me" ? "active" : "")" href="#about_me" @onclick:preventDefault @onclick="ScrollToAboutMe">
|
||||||
|
<img class="icon small" src="/img/icons/user.png" alt="Icon" />
|
||||||
|
<p>About <span>Me</span></p>
|
||||||
|
</a>
|
||||||
|
<a class="nav_option @(currentSection == "apps" ? "active" : "")" href="#apps" @onclick:preventDefault @onclick="ScrollToApps">
|
||||||
|
<img class="icon small" src="/img/icons/projects_icon.png" alt="Icon" />
|
||||||
|
<p>Douwco <span>Apps</span></p>
|
||||||
|
</a>
|
||||||
|
<a class="nav_option @(currentSection == "games" ? "active" : "")" href="#games" @onclick:preventDefault @onclick="ScrollToGames">
|
||||||
|
<img class="icon small" src="/img/icons/devicegamepad2.png" alt="Icon" />
|
||||||
|
<p>My <span>Games</span></p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
[Inject]
|
||||||
|
private ScrollService ScrollService { get; set; } = default!;
|
||||||
|
|
||||||
|
private string currentSection = "home";
|
||||||
|
|
||||||
|
protected override async Task OnInitializedAsync()
|
||||||
|
{
|
||||||
|
ScrollService.OnSectionChanged += HandleSectionChange;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void HandleSectionChange(string sectionId)
|
||||||
|
{
|
||||||
|
currentSection = sectionId;
|
||||||
|
StateHasChanged();
|
||||||
|
}
|
||||||
|
|
||||||
|
private async Task ScrollToHome() => await ScrollService.ScrollToSection("home");
|
||||||
|
private async Task ScrollToAboutMe() => await ScrollService.ScrollToSection("about_me");
|
||||||
|
private async Task ScrollToApps() => await ScrollService.ScrollToSection("apps");
|
||||||
|
private async Task ScrollToGames() => await ScrollService.ScrollToSection("games");
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
ScrollService.OnSectionChanged -= HandleSectionChange;
|
||||||
|
}
|
||||||
|
}
|
||||||
9
_Imports.razor
Normal file
9
_Imports.razor
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
@using System.Net.Http
|
||||||
|
@using System.Net.Http.Json
|
||||||
|
@using Microsoft.AspNetCore.Components
|
||||||
|
@using Microsoft.AspNetCore.Components.Web
|
||||||
|
@using Microsoft.AspNetCore.Components.WebAssembly
|
||||||
|
@using Microsoft.AspNetCore.Components.Routing
|
||||||
|
@using Microsoft.JSInterop
|
||||||
|
@using DouwcoWebsite
|
||||||
|
@using DouwcoWebsite.Shared
|
||||||
BIN
bin/Debug/net10.0/DouwcoWebsite.dll
Normal file
BIN
bin/Debug/net10.0/DouwcoWebsite.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net10.0/DouwcoWebsite.pdb
Normal file
BIN
bin/Debug/net10.0/DouwcoWebsite.pdb
Normal file
Binary file not shown.
51
bin/Debug/net10.0/DouwcoWebsite.runtimeconfig.json
Normal file
51
bin/Debug/net10.0/DouwcoWebsite.runtimeconfig.json
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net10.0",
|
||||||
|
"includedFrameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "10.0.7"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wasmHostProperties": {
|
||||||
|
"perHostConfig": [
|
||||||
|
{
|
||||||
|
"name": "browser",
|
||||||
|
"host": "browser"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"Microsoft.AspNetCore.Components.Routing.RegexConstraintSupport": false,
|
||||||
|
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
|
||||||
|
"System.ComponentModel.DefaultValueAttribute.IsSupported": false,
|
||||||
|
"System.ComponentModel.Design.IDesignerHost.IsSupported": false,
|
||||||
|
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
|
||||||
|
"System.ComponentModel.TypeDescriptor.IsComObjectDescriptorSupported": false,
|
||||||
|
"System.Data.DataSet.XmlSerializationIsSupported": false,
|
||||||
|
"System.Diagnostics.Metrics.Meter.IsSupported": false,
|
||||||
|
"System.Diagnostics.Tracing.EventSource.IsSupported": false,
|
||||||
|
"System.GC.Server": true,
|
||||||
|
"System.Globalization.Invariant": false,
|
||||||
|
"System.TimeZoneInfo.Invariant": false,
|
||||||
|
"System.Linq.Enumerable.IsSizeOptimized": true,
|
||||||
|
"System.Net.Http.EnableActivityPropagation": false,
|
||||||
|
"System.Net.Http.WasmEnableStreamingResponse": true,
|
||||||
|
"System.Net.SocketsHttpHandler.Http3Support": false,
|
||||||
|
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||||
|
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
|
||||||
|
"System.Resources.UseSystemResourceKeys": true,
|
||||||
|
"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported": true,
|
||||||
|
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
|
||||||
|
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
|
||||||
|
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
|
||||||
|
"System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop": false,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
|
||||||
|
"System.StartupHookProvider.IsSupported": false,
|
||||||
|
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false,
|
||||||
|
"System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault": true,
|
||||||
|
"System.Threading.Thread.EnableAutoreleasePool": false,
|
||||||
|
"Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Authorization.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Authorization.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.Forms.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.Forms.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.Web.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.Web.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.WebAssembly.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.WebAssembly.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Components.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Metadata.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.AspNetCore.Metadata.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.CSharp.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.CSharp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.DotNet.HotReload.WebAssembly.Browser.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.DotNet.HotReload.WebAssembly.Browser.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Binder.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Binder.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Json.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.Json.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Configuration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.DependencyInjection.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Diagnostics.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileProviders.Physical.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileProviders.Physical.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Logging.Abstractions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Logging.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Logging.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Logging.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Options.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Options.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Primitives.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Primitives.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Extensions.Validation.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Extensions.Validation.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.JSInterop.WebAssembly.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.JSInterop.WebAssembly.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.JSInterop.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.JSInterop.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.VisualBasic.Core.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.VisualBasic.Core.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.VisualBasic.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.VisualBasic.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Win32.Primitives.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Win32.Primitives.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/Microsoft.Win32.Registry.dll
Executable file
BIN
bin/Debug/net10.0/Microsoft.Win32.Registry.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.AppContext.dll
Executable file
BIN
bin/Debug/net10.0/System.AppContext.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Buffers.dll
Executable file
BIN
bin/Debug/net10.0/System.Buffers.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Collections.Concurrent.dll
Executable file
BIN
bin/Debug/net10.0/System.Collections.Concurrent.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Collections.Immutable.dll
Executable file
BIN
bin/Debug/net10.0/System.Collections.Immutable.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Collections.NonGeneric.dll
Executable file
BIN
bin/Debug/net10.0/System.Collections.NonGeneric.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Collections.Specialized.dll
Executable file
BIN
bin/Debug/net10.0/System.Collections.Specialized.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Collections.dll
Executable file
BIN
bin/Debug/net10.0/System.Collections.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.Annotations.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.Annotations.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.DataAnnotations.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.DataAnnotations.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.EventBasedAsync.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.EventBasedAsync.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.Primitives.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.Primitives.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.TypeConverter.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.TypeConverter.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.ComponentModel.dll
Executable file
BIN
bin/Debug/net10.0/System.ComponentModel.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Configuration.dll
Executable file
BIN
bin/Debug/net10.0/System.Configuration.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Console.dll
Executable file
BIN
bin/Debug/net10.0/System.Console.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Core.dll
Executable file
BIN
bin/Debug/net10.0/System.Core.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Data.Common.dll
Executable file
BIN
bin/Debug/net10.0/System.Data.Common.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Data.DataSetExtensions.dll
Executable file
BIN
bin/Debug/net10.0/System.Data.DataSetExtensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Data.dll
Executable file
BIN
bin/Debug/net10.0/System.Data.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.Contracts.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.Contracts.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.Debug.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.Debug.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.DiagnosticSource.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.DiagnosticSource.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.FileVersionInfo.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.FileVersionInfo.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.Process.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.Process.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.StackTrace.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.StackTrace.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.TextWriterTraceListener.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.TextWriterTraceListener.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.Tools.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.Tools.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.TraceSource.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.TraceSource.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Diagnostics.Tracing.dll
Executable file
BIN
bin/Debug/net10.0/System.Diagnostics.Tracing.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Drawing.Primitives.dll
Executable file
BIN
bin/Debug/net10.0/System.Drawing.Primitives.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Drawing.dll
Executable file
BIN
bin/Debug/net10.0/System.Drawing.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Dynamic.Runtime.dll
Executable file
BIN
bin/Debug/net10.0/System.Dynamic.Runtime.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Formats.Asn1.dll
Executable file
BIN
bin/Debug/net10.0/System.Formats.Asn1.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Formats.Tar.dll
Executable file
BIN
bin/Debug/net10.0/System.Formats.Tar.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Globalization.Calendars.dll
Executable file
BIN
bin/Debug/net10.0/System.Globalization.Calendars.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Globalization.Extensions.dll
Executable file
BIN
bin/Debug/net10.0/System.Globalization.Extensions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.Globalization.dll
Executable file
BIN
bin/Debug/net10.0/System.Globalization.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net10.0/System.IO.Compression.Brotli.dll
Executable file
BIN
bin/Debug/net10.0/System.IO.Compression.Brotli.dll
Executable file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user