-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: merge pull request #34 from henryhale/docs/showcase
docs: add showcase section
- Loading branch information
Showing
7 changed files
with
1,830 additions
and
1,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<script setup> | ||
const props = defineProps(['projects']); | ||
</script> | ||
|
||
<template> | ||
<div class='grid'> | ||
<div v-for='(p, i) in projects' :key='i' class="row"> | ||
<div class="grow"> | ||
<div class="row"> | ||
<img :src='p.logo' :alt='p.name' width="45" /> | ||
<span> | ||
{{ p.name }}<br>{{ p.desc }}<br> | ||
<a :href='p?.author.link'>@{{ p?.author.username }}</a> | ||
</span> | ||
</div> | ||
</div> | ||
<div> | ||
<a :href='p.link'>Visit →</a> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.grid { | ||
display: flex; | ||
flex-direction: column; | ||
padding: 4rem 1rem; | ||
} | ||
.grid>* { | ||
margin-bottom: 2rem; | ||
width: 100%; | ||
max-width: 720px; | ||
margin: 0 auto; | ||
} | ||
.row { | ||
display: flex; | ||
align-items: center; | ||
padding: 1rem 0; | ||
} | ||
.row>*:not(:last-child) { | ||
margin-right: 1rem; | ||
} | ||
.grow { | ||
flex-grow: 1; | ||
} | ||
a { | ||
color: var(--vp-c-brand); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
layout: page | ||
--- | ||
|
||
<script setup> | ||
const showcase = [ | ||
{ | ||
name: 'ESJS', | ||
desc: 'Lenguaje de programación en Español', | ||
link: 'https://es.js.org', | ||
logo: 'https://es.js.org/assets/logo.png', | ||
author: { | ||
username: 'enzonotario', | ||
link: 'https://github.com/enzonotario' | ||
}, | ||
}, | ||
{ | ||
name: 'VIX', | ||
desc: 'Boostrap your own web based CLI application', | ||
link: 'https://henryhale.github.io/vix', | ||
logo: 'https://henryhale.github.io/vix/xterminal.png', | ||
author: { | ||
username: 'henryhale', | ||
link: 'https://github.com/henryhale' | ||
}, | ||
}, | ||
{ | ||
name: 'TELEMATE', | ||
desc: 'A small scale messaging application for devs', | ||
link: 'https://github.com/henryhale/telemate', | ||
logo: 'https://github.com/henryhale/telemate/raw/master/client/public/logo.svg', | ||
author: { | ||
username: 'henryhale', | ||
link: 'https://github.com/henryhale' | ||
}, | ||
}, | ||
{ | ||
name: 'DB-ADMIN', | ||
desc: 'Interact with your databases in the browser', | ||
link: 'https://github.com/henryhale/db-admin', | ||
logo: 'https://github.com/henryhale/db-admin/raw/master/client/public/favicon.png', | ||
author: { | ||
username: 'henryhale', | ||
link: 'https://github.com/henryhale' | ||
}, | ||
}, | ||
]; | ||
</script> | ||
|
||
<project-cards :projects='showcase'></project-cards> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.