1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
budibase/packages/builder/src/components/start/AppCard.svelte

69 lines
1.4 KiB
Svelte
Raw Normal View History

2020-05-27 03:37:11 +12:00
<script>
import Button from "components/common/Button.svelte"
2020-05-29 06:42:33 +12:00
export let name,
description = `A minimalist CRM which removes the noise and allows you to focus
on your business.`,
_id
2020-05-27 03:37:11 +12:00
</script>
<div class="apps-card">
<h3 class="app-title">{name}</h3>
2020-05-29 06:42:33 +12:00
<p class="app-desc">{description}</p>
2020-05-27 03:37:11 +12:00
<div class="card-footer">
<div class="modified-date">Last Edited - 25th May 2020</div>
2020-05-29 06:42:33 +12:00
<a href={`/_builder/${_id}`} class="app-button">Open Web App</a>
2020-05-27 03:37:11 +12:00
</div>
</div>
2020-05-29 06:42:33 +12:00
2020-05-27 03:37:11 +12:00
<style>
.apps-card {
background-color: var(--white);
padding: 20px;
max-width: 400px;
max-height: 150px;
border-radius: 5px;
border: 1px solid var(--grey-medium);
}
.app-button:hover {
background-color: var(--grey-light);
text-decoration: none;
}
2020-05-29 06:42:33 +12:00
2020-05-27 21:44:15 +12:00
.app-title {
2020-05-27 03:37:11 +12:00
font-size: 18px;
font-weight: 700;
color: var(--ink);
text-transform: capitalize;
}
.app-desc {
color: var(--ink-light);
}
.card-footer {
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: space-between;
}
.modified-date {
font-size: 14px;
color: var(--ink-light);
}
.app-button {
background-color: var(--white);
color: var(--ink);
padding: 12px 20px;
border-radius: 5px;
border: 1px var(--grey) solid;
font-size: 14px;
font-weight: 400;
cursor: pointer;
transition: all 0.2s;
box-sizing: border-box;
}
2020-05-29 06:42:33 +12:00
</style>