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