💻 | Working

This commit is contained in:
2021-04-16 00:06:58 +02:00
parent 899847fb8c
commit 2ecad33096
7 changed files with 65 additions and 138 deletions

View File

@@ -1,6 +1,6 @@
<template>
<nuxt-link :to="`/projects/${slug}`">
<div class="rounded-lg shadow-xl h-94 w-full lg:w-84 text-left dark:bg-gray-800 transform hover:scale-103 duration-300 mb-8 lg:mb-0">
<div class="rounded-lg shadow-xl h-80 w-full lg:w-84 text-left dark:bg-gray-800 transform hover:scale-103 duration-300 mb-8 lg:mb-0">
<div class="h-2/5 post rounded-t-lg flex justify-center">
<img :src="getCover" alt="Project Image" class="h-full"/>
</div>
@@ -14,9 +14,6 @@
<h1 class="text-2xl font-bold">{{ title }}</h1>
<p class="text-base mt-3 text-gray-700 dark:text-gray-400 text-justify">{{ $t(description) }}</p>
</div>
<div class="flex justify-between">
<h5 class="text-base text-gray-700 dark:text-gray-400">{{ company }}</h5>
</div>
</div>
</div>
</nuxt-link>
@@ -30,7 +27,6 @@ interface ProjectProp {
title: string,
cover: string,
slug: string,
company: string,
tags: Array<String>,
description: string,
}
@@ -54,10 +50,6 @@ export default {
type: String,
default: "Description"
},
company: {
type: String,
default: "Company"
},
tags: {
type: Array,
default: () => ['tags.web', 'tags.software']