@commonpub/layer 0.3.27 → 0.3.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/pages/index.vue +8 -1
- package/pages/search.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commonpub/layer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"files": [
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"vue": "^3.4.0",
|
|
45
45
|
"vue-router": "^4.3.0",
|
|
46
46
|
"zod": "^4.3.6",
|
|
47
|
+
"@commonpub/config": "0.7.1",
|
|
47
48
|
"@commonpub/auth": "0.5.0",
|
|
48
|
-
"@commonpub/docs": "0.5.2",
|
|
49
49
|
"@commonpub/editor": "0.5.0",
|
|
50
|
-
"@commonpub/
|
|
51
|
-
"@commonpub/config": "0.7.1",
|
|
50
|
+
"@commonpub/docs": "0.5.2",
|
|
52
51
|
"@commonpub/protocol": "0.9.5",
|
|
53
|
-
"@commonpub/
|
|
52
|
+
"@commonpub/learning": "0.5.0",
|
|
53
|
+
"@commonpub/ui": "0.7.1",
|
|
54
54
|
"@commonpub/schema": "0.8.13",
|
|
55
|
-
"@commonpub/
|
|
55
|
+
"@commonpub/server": "2.16.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@testing-library/jest-dom": "^6.9.1",
|
package/pages/index.vue
CHANGED
|
@@ -294,7 +294,8 @@ async function handleHubJoin(hubSlug: string): Promise<void> {
|
|
|
294
294
|
<div class="cpub-sb-head">Trending Hubs <NuxtLink to="/hubs">Browse</NuxtLink></div>
|
|
295
295
|
<div v-for="hub in communities.items" :key="hub.id" class="cpub-hub-item">
|
|
296
296
|
<div class="cpub-hub-icon">
|
|
297
|
-
<
|
|
297
|
+
<img v-if="hub.iconUrl" :src="hub.iconUrl" :alt="hub.name" class="cpub-hub-icon-img" />
|
|
298
|
+
<i v-else class="fa-solid fa-users"></i>
|
|
298
299
|
</div>
|
|
299
300
|
<div class="cpub-hub-info">
|
|
300
301
|
<NuxtLink :to="`/hubs/${hub.slug}`" class="cpub-hub-name">{{ hub.name }}</NuxtLink>
|
|
@@ -877,6 +878,12 @@ async function handleHubJoin(hubSlug: string): Promise<void> {
|
|
|
877
878
|
border: var(--border-width-default) solid var(--teal);
|
|
878
879
|
background: var(--teal-bg);
|
|
879
880
|
color: var(--teal);
|
|
881
|
+
overflow: hidden;
|
|
882
|
+
}
|
|
883
|
+
.cpub-hub-icon-img {
|
|
884
|
+
width: 100%;
|
|
885
|
+
height: 100%;
|
|
886
|
+
object-fit: cover;
|
|
880
887
|
}
|
|
881
888
|
|
|
882
889
|
.cpub-hub-info { flex: 1; min-width: 0; }
|
package/pages/search.vue
CHANGED