Worked on text

This commit is contained in:
2025-03-21 00:28:38 +01:00
parent a75cfc1c31
commit e88972a3f6
3 changed files with 15 additions and 13 deletions

View File

@@ -12,9 +12,14 @@
"contactButton": "Contact", "contactButton": "Contact",
"features": { "features": {
"projects":{ "projects":{
"title": "Always working on some projects", "title": "Let's overview some types of projects I'm often dealing with",
"desc": "As you will see a little below, I'm always working on something.", "desc": "Be it for study, work or on my free time, I'm always working on something new. As I love to see how those lines of code can enhance daily life, or make Science moving forward, I strive to always imagine, create and maintain useful things.",
"buttonText": "See all projects" "buttonText": "See all projects"
},
"ai":{
"title": "Artificial Intelligence",
"desc": "How is it possible to...",
"buttonText": "IDK"
} }
} }
} }

View File

@@ -70,9 +70,11 @@
} }
.feature_text_div h2{ .feature_text_div h2{
margin-bottom: 5px; margin-bottom: 5px;
font-size: 1.8em;
} }
.feature_text_div article p{ .feature_text_div article p{
margin-top: 20px; margin-top: 20px;
font-size: 1.3em;
} }
.feature_button{ .feature_button{
background-color: aqua; background-color: aqua;

View File

@@ -6,7 +6,7 @@
:button-text="e.buttonText" :button-text="e.buttonText"
:link="e.link" :link="e.link"
:picture="e.picture" :picture="e.picture"
:side="i%2==0" :side="i%2==1"
/> />
</template> </template>
@@ -17,6 +17,7 @@
const i18n = useI18n(); const i18n = useI18n();
import projectsSvg from '@/assets/svg/projets.svg'; import projectsSvg from '@/assets/svg/projets.svg';
import aiSvg from '@/assets/svg/skills/AI.svg'
const features = [{ const features = [{
title: i18n.t("home.features.projects.title"), title: i18n.t("home.features.projects.title"),
@@ -25,16 +26,10 @@
picture: projectsSvg, picture: projectsSvg,
link: "#" link: "#"
},{ },{
title:"Hello World !", title: i18n.t("home.features.ai.title"),
desc: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin felis \ desc: i18n.t("home.features.ai.desc"),
lectus, feugiat in eros sit amet, venenatis euismod urna. Aliquam id \ buttonText: i18n.t("home.features.ai.buttonText"),
porttitor erat, vitae dapibus velit. Praesent id felis tincidunt, \ picture: aiSvg,
efficitur tortor eget, volutpat orci. Vestibulum ac lectus tincidunt, \
suscipit justo at, fringilla nisl. Aliquam tincidunt congue faucibus. Duis in nisi tortor. \
Nulla sit amet turpis nec turpis rhoncus venenatis. Sed nec malesuada quam. \
Aenean faucibus neque id nibh facilisis auctor. ",
buttonText: "Click me !",
picture: "https://picsum.photos/600/400",
link: "#" link: "#"
}]; }];
</script> </script>