Skip to content

Commit

Permalink
Restoring photo and name on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoLnx committed Mar 20, 2024
1 parent bf94b52 commit 3dfac26
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/pages/index/+Page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@
</h1>

<div class="overview-page-sections">
<section class="overview-subsection content-container profile-section">
<h2 class="title page-section-subtitle profile-title">
Profile
</h2>
<div class="profile">
<figure class="image is-128x128">
<img
class="is-rounded"
width="128"
height="128"
src="../../img/me-128-compressed.jpg"
>
</figure>
<p class="title dev-title">
{{ dev.name }}
</p>
<p class="subtitle dev-position">
{{ dev.position }}
</p>
</div>
</section>

<section class="overview-subsection content-container introduction-section">
<h2 class="title page-section-subtitle introduction-title">
Hello and welcome
Expand Down Expand Up @@ -144,6 +166,30 @@ const bulletListIconClasses = 'fa-regular fa-circle-check has-text-success';
// Introduction Styling
.overview-page-section {
.profile-section {
display: flex;
flex-flow: column nowrap;
gap: 1rem;
.profile {
display: flex;
flex-flow: column nowrap;
align-items: center;
}
@include from(450px) {
.profile-section {
.dev-title.title {
font-size: $size-3;
}
.dev-position.subtitle {
font-size: $size-4;
}
}
}
}
.introduction-section {
display: flex;
flex-flow: column nowrap;
Expand Down Expand Up @@ -370,4 +416,10 @@ const bulletListIconClasses = 'fa-regular fa-circle-check has-text-success';
.overview-page-section {
@include box-hover-on-children();
}
.overview-page-section {
.title.page-section-subtitle.profile-title {
@include semantic-hide;
}
}
</style>

0 comments on commit 3dfac26

Please sign in to comment.