Updated personal content and prepared async fetch to be more expandable and include more content rather than a single div.

This commit is contained in:
Luke Else 2023-09-06 20:42:07 +01:00
parent 7d7012eec6
commit 212103ab71
2 changed files with 18 additions and 10 deletions

View File

@ -53,11 +53,14 @@
</style> </style>
<div class="card">
{#await getJson('/json/me.json')} {#await getJson('/json/me.json')}
<div class="card">
<div class="card-header">
<h1>Loading...</h1> <h1>Loading...</h1>
</div>
</div>
{:then info} {:then info}
<div class="card">
<div class="card-header"> <div class="card-header">
<h1>{info.name}</h1> <h1>{info.name}</h1>
<h3 class="not-required">{info.job_title}</h3> <h3 class="not-required">{info.job_title}</h3>
@ -67,7 +70,12 @@
<img class="profile not-required" src={info.profile_photo} alt="{info.name}'s Profile Photo"> <img class="profile not-required" src={info.profile_photo} alt="{info.name}'s Profile Photo">
<p class="about">{@html info.about}</p> <p class="about">{@html info.about}</p>
</div> </div>
{:catch}
<h1>Unable to load portfolio overview data</h1>
{/await}
</div> </div>
{:catch}
<div class="card">
<div class="card-header">
<h1>Unable to load portfolio overview data</h1>
</div>
</div>
{/await}

View File

@ -19,5 +19,5 @@
"mastery": 10 "mastery": 10
} }
], ],
"about": "Hello! I'm a enthusiastic, dedicated software engineer passionate about backend development, networking, and embedded systems. I am currently employed at Thales UK and thrive on architecting robust backend solutions, optimizing data transmission, and crafting efficient embedded software. I love tackling complex challenges, collaborating with fellow professionals, and staying up-to-date with tech trends such as my current venture in learning <a href='https://rust-lang.org'>Rust-Lang</a>." "about": "Hello! I'm an enthusiastic, dedicated software engineer passionate about backend development, networking, and embedded systems. I am currently employed at Thales UK and thrive on architecting robust backend solutions, optimizing data transmission, and crafting efficient embedded software. I love tackling complex challenges, collaborating with fellow professionals, and staying up-to-date with tech trends such as my current venture in learning <a href='https://rust-lang.org'>Rust-Lang</a>."
} }