Added my own picture

The final piece to complete everything
This commit is contained in:
2025-05-08 15:41:54 +02:00
parent 7c629ddda3
commit a345b13373
5 changed files with 13 additions and 7 deletions

BIN
src/assets/img/me/full.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

BIN
src/assets/img/me/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -34,7 +34,7 @@
<div id="footer_right_div"> <div id="footer_right_div">
<div id="footer_picture"> <div id="footer_picture">
<img src="https://picsum.photos/50/50"> <img :src="meImg">
</div> </div>
<div id="language_selection_div"> <div id="language_selection_div">
<img :src="frFlagSvg" @click="changeLanguage('fr')"/> <img :src="frFlagSvg" @click="changeLanguage('fr')"/>
@@ -58,6 +58,8 @@
import social from './home/libs/social.vue'; import social from './home/libs/social.vue';
import music from './footer/music.vue'; import music from './footer/music.vue';
import meImg from '@/assets/img/me/full.png'
import mailSvg from '@/assets/img/mail.svg'; import mailSvg from '@/assets/img/mail.svg';
import lineImg from '@/assets/img/line.png'; import lineImg from '@/assets/img/line.png';
import githubSvg from '@/assets/img/github.svg'; import githubSvg from '@/assets/img/github.svg';
@@ -194,7 +196,7 @@
min-height: 100px; min-height: 100px;
margin-left: auto; margin-left: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: row; /* Change here to restore row of flags under the picture */
justify-content: center; justify-content: center;
gap: 20px; gap: 20px;
} }
@@ -202,19 +204,21 @@
text-align: center; text-align: center;
} }
#footer_picture > img{ #footer_picture > img{
/*height: 100px;*/
width: 100px; width: 100px;
height: 100px;
} }
#language_selection_div{ #language_selection_div{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
min-width: fit-content; /*min-width: fit-content;*/
width: 120px;/* Change here to restore row of flags under the picture */
gap: 7px; gap: 7px;
max-height: 100px;/* Change here to restore row of flags under the picture */
align-items: center;
} }
#language_selection_div img{ #language_selection_div img{
width: 50px; width: 50px;
height: 50px;
cursor: pointer; cursor: pointer;
} }

View File

@@ -3,7 +3,7 @@
<div id="header_content"> <div id="header_content">
<RouterLink to="/"> <RouterLink to="/">
<div id="header_picture"> <div id="header_picture">
<img src="https://picsum.photos/50/50"/> <img :src="meIcon"/>
</div> </div>
</RouterLink> </RouterLink>
</div> </div>
@@ -12,6 +12,7 @@
<script setup> <script setup>
import { RouterLink } from 'vue-router'; import { RouterLink } from 'vue-router';
import meIcon from '@/assets/img/me/icon.png';
</script> </script>
<style scoped> <style scoped>

View File

@@ -3,7 +3,7 @@
<!--<p id="random_citation">Random Sentence</p>--> <!--<p id="random_citation">Random Sentence</p>-->
<div class="" id="name_div"> <div class="" id="name_div">
<div id="profile_picture"><img src="https://picsum.photos/200" height="100%" width="100%"></div> <div id="profile_picture"><img :src="meIcon" height="100%" width="100%"></div>
<div id="name_div_right_container"> <div id="name_div_right_container">
<div class="" id="welcome_text_div"> <div class="" id="welcome_text_div">
@@ -31,6 +31,7 @@
import lineImg from '@/assets/img/line.png'; import lineImg from '@/assets/img/line.png';
import githubSvg from '@/assets/img/github.svg'; import githubSvg from '@/assets/img/github.svg';
import arrowSvg from '@/assets/svg/arrow_down.svg'; import arrowSvg from '@/assets/svg/arrow_down.svg';
import meIcon from '@/assets/img/me/icon.png';
const i18n = useI18n(); const i18n = useI18n();