Merge pull request 'add resume, update/cleanup' (#9) from dev into main
All checks were successful
deploy / deploy (push) Successful in 49s

Reviewed-on: #9
This commit is contained in:
Nick Seguin 2024-06-17 16:44:17 -05:00
commit 46039dc7f1
5 changed files with 695 additions and 416 deletions

View file

@ -32,7 +32,7 @@
<div class="w-6 h-6">
<HeroIcon Kind="HeroIcon.DocumentText"/>
</div>
Resumé
<a href="/static/resume.pdf">Resumé</a>
</span>
</a>
<a

View file

@ -10,11 +10,9 @@ public partial class HeroIcon : ComponentBase
private Task<string>? _loadSvgTask;
private string? _rawSvg;
[Parameter]
public HeroIconKind? Kind { get; set; }
[Parameter] public HeroIconKind? Kind { get; set; }
[Parameter]
public HeroIconVariant Variant { get; set; }
[Parameter] public HeroIconVariant Variant { get; set; }
private string? RawSvg => _rawSvg;
@ -30,7 +28,7 @@ public partial class HeroIcon : ComponentBase
throw new InvalidOperationException("Kind cannot be null.");
}
var parameters = new HeroIconParameters(kind, Variant);
HeroIconParameters parameters = new(kind, Variant);
_loadSvgTask = parameters.GetSvgAsync();
if (_loadSvgTask.IsCompletedSuccessfully)
{
@ -39,10 +37,7 @@ public partial class HeroIcon : ComponentBase
else
{
_loadSvgTask.ContinueWith(
task =>
{
TrySetRawSvg(task.Result);
});
task => TrySetRawSvg(task.Result));
}
}

View file

@ -1,8 +1,6 @@
{
"name": "nseguin.dev.web",
"type": "module",
"devDependencies": {
},
"peerDependencies": {
"typescript": "^5.0.0"
},
@ -11,11 +9,11 @@
"css:watch": "pnpm tailwindcss -i ./wwwroot/css/site.css -o ./wwwroot/css/styles.css -c ./tailwind.config.ts --watch"
},
"dependencies": {
"tailwindcss": "^3.4.1",
"@tailwindcss/typography": "^0.5.10",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"tailwind-nord": "^1.3.0"
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"tailwind-nord": "^1.3.0",
"tailwindcss": "^3.4.4"
}
}

File diff suppressed because it is too large Load diff

Binary file not shown.