Adding Updated Blazor Version
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
namespace Website.Data;
|
||||
|
||||
public static class PersonalInfo
|
||||
{
|
||||
public static Data Get()
|
||||
{
|
||||
return new Data
|
||||
{
|
||||
Info =
|
||||
[
|
||||
new Info
|
||||
{
|
||||
Name = "Location",
|
||||
Value = "Ottawa, ON"
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Email",
|
||||
Value = "jonmcc0723@gmail.com"
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Phone",
|
||||
Value = "613-277-8353",
|
||||
IsVisible = true
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Experience Length",
|
||||
Value = Math.Round((DateTime.Today - new DateTime(2012, 1, 1)).TotalDays / 360,
|
||||
MidpointRounding.ToNegativeInfinity)
|
||||
+ " years in tech, 3 in education"
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Education",
|
||||
Value = "Game Development (2012)"
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Awaiting Release",
|
||||
Value = "Path of Exile 2",
|
||||
IsVisible = false
|
||||
},
|
||||
new Info
|
||||
{
|
||||
Name = "Favourite Games",
|
||||
Value = "Armored Core 4: For Answers, Warcraft 3, TimeSplitters: Future Perfect, Mass Effect 2",
|
||||
IsVisible = false
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
public class Data
|
||||
{
|
||||
public required List<Info> Info { get; set; }
|
||||
}
|
||||
|
||||
public class Info
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
public required string Value { get; set; }
|
||||
public bool IsVisible { get; set; } = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user