mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-02-03 05:37:54 +01:00
Implement Works images
This commit is contained in:
BIN
assets/img/skills/AdonisJs.png
Normal file
BIN
assets/img/skills/AdonisJs.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/img/works/Erisium.png
Normal file
BIN
assets/img/works/Erisium.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/img/works/Website.png
Normal file
BIN
assets/img/works/Website.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<nuxt-link :to="link">
|
<nuxt-link :to="link">
|
||||||
<div
|
<div
|
||||||
class="group home-link h-full duration-500 cursor-pointer flex flex-row justify-between py-3 w-full md:w-96 items-center"
|
class="home-link h-full duration-500 cursor-pointer flex flex-row justify-between py-3 w-full md:w-96 items-center"
|
||||||
:class="getColor"
|
:class="getColor"
|
||||||
>
|
>
|
||||||
<div class="ml-4">
|
<div class="ml-4">
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{{ $t(title) }}
|
{{ $t(title) }}
|
||||||
<slot />
|
<slot />
|
||||||
</h1>
|
</h1>
|
||||||
<p class="group-hover:dark:text-white w-5/6 text-gray-900 dark:text-dark-100 text-justify duration-300">{{ $t(description) }}</p>
|
<p class="w-5/6 text-gray-900 dark:text-dark-100 text-justify duration-300">{{ $t(description) }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="mr-10 arrow duration-300">
|
<div class="mr-10 arrow duration-300">
|
||||||
<svg class="inline icon" height="25" width="25" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
<svg class="inline icon" height="25" width="25" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
@@ -60,6 +60,9 @@ export default {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.home-link:hover {
|
.home-link:hover {
|
||||||
|
p {
|
||||||
|
@apply dark:etxt-white
|
||||||
|
}
|
||||||
.arrow {
|
.arrow {
|
||||||
transform: translateX(15px);
|
transform: translateX(15px);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
getColor() {
|
getColor() {
|
||||||
switch (this.color) {
|
switch (this.color) {
|
||||||
|
case 'red':
|
||||||
|
return 'hover:bg-red-400'
|
||||||
case 'orange':
|
case 'orange':
|
||||||
return 'hover:bg-orange-400'
|
return 'hover:bg-orange-400'
|
||||||
case 'purple':
|
case 'purple':
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
:class="getColor">
|
:class="getColor">
|
||||||
<div class="w-full h-full flex flex-col justify-center items-center">
|
<div class="w-full h-full flex flex-col justify-center items-center">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<img alt="Project Img" class="rounded-md" width="150" :src="'http://localhost:5555/files/' + cover">
|
<img alt="Project Img" class="rounded-md" width="150" :src="require(`@/assets/img/skills/${cover}.png`)">
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<h1 class="md:text-2xl text-lg font-bold">{{ title }}</h1>
|
<h1 class="md:text-2xl text-lg font-bold">{{ title }}</h1>
|
||||||
|
|||||||
@@ -39,7 +39,13 @@
|
|||||||
"title": "VueJs",
|
"title": "VueJs",
|
||||||
"color": "emerald",
|
"color": "emerald",
|
||||||
"cover": "VueJs",
|
"cover": "VueJs",
|
||||||
"slug": "VueJs"
|
"slug": "vueJs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "AdonisJs",
|
||||||
|
"color": "black",
|
||||||
|
"cover": "AdonisJs",
|
||||||
|
"slug": "adonisjs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "Html",
|
"title": "Html",
|
||||||
|
|||||||
Reference in New Issue
Block a user