File tree 8 files changed +39
-45
lines changed
8 files changed +39
-45
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <NuxtLayout name =" card" >
3
+ <div class =" grid lg:grid-cols-4 items-center justify-between gap-3" >
4
+ <div class =" w-full" >
5
+ <p class =" text-stone-400" >{{ description }}</p >
6
+ </div >
7
+
8
+ <div
9
+ v-for =" (item, index) in contactItems"
10
+ :key =" index"
11
+ class =" flex items-center lg:justify-end"
12
+ >
13
+ <OptionsRedirect
14
+ :option =" item"
15
+ additional-class =" text-4xl font-bold !items-start w-full flex items-center"
16
+ />
17
+ </div >
18
+ </div >
19
+ </NuxtLayout >
20
+ </template >
21
+
22
+ <script setup lang="ts">
23
+ import { description , contactItems } from " ~/constants/contact-items" ;
24
+ </script >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<template >
2
- <NuxtLayout name =" card" >
2
+ <NuxtLayout name =" card" class = " min-h-60 " >
3
3
<div class =" relative h-full w-full flex justify-center" >
4
4
<div class =" flex items-center justify-center h-full w-full" >
5
5
<!-- Main line-->
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<NuxtLink
3
3
class =" flex text-white underline-link white-underline whitespace-nowrap items-center"
4
+ :class =" additionalClass"
4
5
:to =" option.link"
5
6
:download =" option.download"
6
7
target =" _blank"
@@ -19,5 +20,6 @@ import type { OptionsItem } from "~/constants/project-items";
19
20
20
21
defineProps <{
21
22
option: OptionsItem ;
23
+ additionalClass? : string ;
22
24
}>();
23
25
</script >
Original file line number Diff line number Diff line change 6
6
:to =" project.link"
7
7
target =" _blank"
8
8
>
9
- <img :src =" project.img" :alt =" project.title" loading =" lazy " />
9
+ <img :src =" project.img" :alt =" project.title" loading =" eager " />
10
10
</NuxtLink >
11
11
<div class =" flex flex-col gap-3 w-full bottom-0" >
12
12
<h3 class =" uppercase text-lime" >
Original file line number Diff line number Diff line change 1
- interface ContactItem {
2
- title : string ;
3
- link : string ;
4
- }
1
+ import type { OptionsItem } from "~/constants/project-items" ;
5
2
6
3
export const contactItems = [
7
4
{
8
- title : "Github" ,
5
+ text : "Github" ,
9
6
link : "https://github.com/Barabasbalazs" ,
10
7
} ,
11
8
{
12
- title : "Email" ,
9
+ text : "Email" ,
13
10
14
11
} ,
15
12
{
16
- title : "LinkedIn" ,
13
+ text : "LinkedIn" ,
17
14
link : "https://www.linkedin.com/in/balazs-barabas-6a8946292/" ,
18
15
} ,
19
- ] as ContactItem [ ] ;
16
+ ] as OptionsItem [ ] ;
17
+
18
+ export const description =
19
+ "I am available for hire in Romania as well as abroad remotely. \nDo not hesitate to contact me!" ;
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" bg-dark rounded-3xl p-6 min-h-60 min- w-80" >
2
+ <div class =" bg-dark rounded-3xl p-6 min-w-80" >
3
3
<slot />
4
4
</div >
5
5
</template >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" p-5 text-white h-full" >
2
+ <div class =" p-5 text-white h-full flex flex-col gap-5 " >
3
3
<NuxtLayout name =" cardwrapper" class =" w-full h-full" cols >
4
4
<slot
5
5
/></NuxtLayout >
6
+ <ContactFooter />
6
7
</div >
7
8
</template >
You can’t perform that action at this time.
0 commit comments