voidcannon: support icons for author avatars
content: migrate test articles to test author
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
VoidcannonEmojiStyle, VoidcannonVisibilityLevel
|
||||
} from "voidcannon";
|
||||
|
||||
import bignutty from "../../authors/bignutty.pagex.js";
|
||||
import testauthorPagex from "../../authors/testauthor.pagex.js";
|
||||
|
||||
import testCollection from "../../collections/test.pagex.js";
|
||||
import featuredCollection from "../../collections/_featured.pagex.js";
|
||||
@@ -59,7 +59,7 @@ export default {
|
||||
},
|
||||
color: "#D02843"
|
||||
},
|
||||
authors: [bignutty],
|
||||
authors: [testauthorPagex],
|
||||
collections: [
|
||||
testCollection.id,
|
||||
featuredCollection.id
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
VoidcannonEmojiStyle, VoidcannonVisibilityLevel
|
||||
} from "voidcannon";
|
||||
|
||||
import bignutty from "../../authors/bignutty.pagex.js";
|
||||
import testauthorPagex from "../../authors/testauthor.pagex.js";
|
||||
|
||||
import testCollection from "../../collections/test.pagex.js";
|
||||
import featuredCollection from "../../collections/_featured.pagex.js";
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
},
|
||||
color: "#c7f718"
|
||||
},
|
||||
authors: [bignutty],
|
||||
authors: [testauthorPagex],
|
||||
collections: [
|
||||
testCollection.id,
|
||||
featuredCollection.id
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
VoidcannonVisibilityLevel
|
||||
} from "voidcannon";
|
||||
|
||||
import bignutty from "../../authors/bignutty.pagex.js";
|
||||
import testauthorPagex from "../../authors/testauthor.pagex.js";
|
||||
|
||||
import videogamesCollection from "../../collections/videogames.pagex.js";
|
||||
import testCollection from "../../collections/test.pagex.js";
|
||||
@@ -62,7 +62,7 @@ export default {
|
||||
},
|
||||
color: "#0eb1f4"
|
||||
},
|
||||
authors: [bignutty],
|
||||
authors: [testauthorPagex],
|
||||
collections: [
|
||||
videogamesCollection.id,
|
||||
testCollection.id,
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
VoidcannonVisibilityLevel
|
||||
} from "voidcannon";
|
||||
|
||||
import bignutty from "../../authors/bignutty.pagex.js";
|
||||
import testauthorPagex from "../../authors/testauthor.pagex.js";
|
||||
|
||||
import videogamesCollection from "../../collections/videogames.pagex.js";
|
||||
import testCollection from "../../collections/test.pagex.js";
|
||||
@@ -52,7 +52,7 @@ export default {
|
||||
},
|
||||
color: "#4dc294"
|
||||
},
|
||||
authors: [bignutty],
|
||||
authors: [testauthorPagex],
|
||||
collections: [
|
||||
videogamesCollection.id,
|
||||
testCollection.id,
|
||||
|
||||
@@ -12,6 +12,7 @@ import testCollection from "../../collections/test.pagex.js";
|
||||
import featuredCollection from "../../collections/_featured.pagex.js";
|
||||
|
||||
import {PagexResourceTransformer} from "pagex";
|
||||
import testauthorPagex from "../../authors/testauthor.pagex.js";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.ARTICLE,
|
||||
@@ -63,7 +64,7 @@ export default {
|
||||
},
|
||||
color: "#D02843"
|
||||
},
|
||||
authors: [bignutty, placeholder, placeholder],
|
||||
authors: [bignutty, testauthorPagex, placeholder],
|
||||
collections: [
|
||||
testCollection.id,
|
||||
featuredCollection.id
|
||||
|
||||
@@ -5,14 +5,11 @@ export default {
|
||||
type: VoidcannonContentType.AUTHOR,
|
||||
id: "test-author",
|
||||
name: "Test Author",
|
||||
avatar: {
|
||||
_transform: PagexResourceTransformer.MEDIA,
|
||||
path: "/content/authors/assets/testing.png"
|
||||
},
|
||||
avatar: "science",
|
||||
theme: {
|
||||
colors: {
|
||||
light: "#c7f718",
|
||||
dark: "#c7f718",
|
||||
light: "#d7a6f4",
|
||||
dark: "#d7a6f4",
|
||||
}
|
||||
},
|
||||
links: [
|
||||
|
||||
Submodule voidcannon updated: 4d763d55cc...e635e8a9c1
Reference in New Issue
Block a user