diff options
Diffstat (limited to 'src/components/Profile.astro')
| -rw-r--r-- | src/components/Profile.astro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Profile.astro b/src/components/Profile.astro index d174a9c..ba51fb6 100644 --- a/src/components/Profile.astro +++ b/src/components/Profile.astro @@ -1,5 +1,6 @@ --- import UserProfileImage from '../assets/user-profile-image.png' +import dataList from '../data/user.json'; --- <header class="profile"> @@ -9,8 +10,8 @@ import UserProfileImage from '../assets/user-profile-image.png' </figure> </div> <div class="profile-data"> - <h1 class="profile-name">Kelly Bowlin</h1> - <p class="profile-profession">Web Designer</p> + <h1 class="profile-name">{dataList.name}</h1> + <p class="profile-profession">{dataList.profession}</p> </div> </header> |
