Skip to content

Commit b8616c3

Browse files
committed
list products
Signed-off-by: seven <zilisheng1996@gmail.com>
1 parent 45548eb commit b8616c3

13 files changed

+284
-5
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<script setup>
2+
const props = defineProps({
3+
product: {
4+
type: Object,
5+
required: true
6+
}
7+
})
8+
</script>
9+
<template>
10+
<div class="product-container">
11+
<div class="product-header">
12+
<img :src="props.product.logo" alt="product-image">
13+
<h3 class="card-title">{{ props.product.name }}</h3>
14+
</div>
15+
<img class="product-preview-img" :src="props.product.preview" alt="preview-image">
16+
<p>{{ props.product.description }}</p>
17+
<div class="refer-container">
18+
<a :href="props.product.url" target="_blank" rel="noopener noreferrer">Learn More</a>
19+
</div>
20+
</div>
21+
</template>
22+
<style scoped lang="scss">
23+
.product-container {
24+
margin: 10px;
25+
width: 45%;
26+
min-width: 500px;
27+
height: 500px;
28+
padding: 15px;
29+
border-radius: 8px;
30+
box-shadow: 0 0 1px 1px rgba(236, 240, 241, 0.5);
31+
32+
.product-header {
33+
display: flex;
34+
align-items: center;
35+
justify-content: flex-start;
36+
margin-bottom: 10px;
37+
38+
img {
39+
width: 50px;
40+
height: 50px;
41+
margin-right: 10px;
42+
}
43+
44+
h3 {
45+
margin: 0;
46+
}
47+
}
48+
49+
.product-preview-img {
50+
margin: 0 auto;
51+
width: 100%;
52+
height: 300px;
53+
overflow: hidden;
54+
border-radius: 8px;
55+
}
56+
57+
.refer-container {
58+
display: flex;
59+
justify-content: flex-end;
60+
margin-top: 10px;
61+
62+
a {
63+
color: #3498db;
64+
text-decoration: none;
65+
66+
&:hover {
67+
text-decoration: underline;
68+
cursor: pointer;
69+
}
70+
}
71+
}
72+
}
73+
</style>

docs/.vitepress/theme/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import DefaultTheme from 'vitepress/theme';
22
import {inBrowser, useData} from "vitepress";
33
import {watchEffect} from "vue";
44
import TeamMembers from './components/team-members.vue';
5-
5+
import Product from "./components/product.vue";
66
export default {
77
...DefaultTheme,
88
setup() {
@@ -16,6 +16,7 @@ export default {
1616
enhanceApp({app}) {
1717
// register your custom global components
1818
app.component('TeamMembers', TeamMembers);
19+
app.component('Product', Product);
1920
}
2021
}
2122

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ features:
2727
- title: Multi engines support
2828
details: Support Elasticsearch, OpenSearch, and more to come
2929
---
30+
## Products
31+
32+
<div style="display: flex;flex-wrap: wrap; justify-content: space-evenly;">
33+
<Product :product='{name: "DocKit", logo: "/dockit.png",preview: "/dockit-client-ui.png", description: "A better NoSQL GUI client for Mac, Windows and Linux", url: "https://dockit.geekfun.club/"}'></Product>
34+
<Product :product='{name: "AnyTerm", logo: "/anyterm.png",preview: "/anyterm-client-ui.png", description: "Supper lightweight SSH client and terminal for Mac, Windows and Linux", url: "https://github.com/geek-fun/AnyTerm"}'></Product>
35+
<Product :product='{name: "ServerlessInsight", logo: "/serverlessinsight.png",preview: "/serverlessinsight-preview.png", description: "Full life cycle cross providers serverless application management for your fast-growing business.", url: "https://github.com/geek-fun/hostsless"}'></Product>
36+
<Product :product='{name: "jest-search", logo: "/jest-search.png",preview: "/jest-search-preview.png", description: "Jest preset for running tests with local ElasticSearch, OpenSearch and ZincSearch.", url: "https://github.com/geek-fun/jest-search"}'></Product>
37+
</div>
3038

3139
## Team Members
3240
<TeamMembers></TeamMembers>

docs/public/anyterm-client-ui.png

1.05 MB
Loading

docs/public/anyterm.png

13.8 KB
Loading

docs/public/dockit-client-ui.png

1.01 MB
Loading

docs/public/dockit.png

176 KB
Loading

docs/public/jest-search-preview.png

390 KB
Loading

docs/public/jest-search.png

338 KB
Loading
182 KB
Loading

0 commit comments

Comments
 (0)