content: update content
This commit is contained in:
@@ -17,6 +17,7 @@ export default {
|
||||
},
|
||||
id: "playground-p3",
|
||||
title: "Playground P3 Test Article",
|
||||
abstract: "An article about the 2024 video game 'Persona 3 Reload'.",
|
||||
created_at: 1757861297516,
|
||||
theme: {
|
||||
colors: {
|
||||
@@ -46,6 +47,10 @@ export default {
|
||||
inner: {
|
||||
_transform: PagexResourceTransformer.MEDIA,
|
||||
path: "./assets/header/immersive_left/base_p3.png"
|
||||
},
|
||||
base: {
|
||||
_transform: PagexResourceTransformer.MEDIA,
|
||||
path: "./assets/header/immersive_left/full_p3.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -484,6 +484,51 @@ message PagexMediaAttribution {
|
||||
| Cell 1 | Cell 2 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 | Cell 3 |
|
||||
| Cell 4 | Cell 5 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 | Cell 6 |
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------------------------------|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| id | snowflake | The ID of the message |
|
||||
| channel_id | snowflake | The ID of the channel the message was sent in |
|
||||
| lobby_id? | snowflake | The ID of the lobby the message was sent in |
|
||||
| author ^1^ | partial [user](/resources/user#user-object) object | The author of the message |
|
||||
| content ^2^ | string | Contents of the message |
|
||||
| timestamp | ISO8601 timestamp | When this message was sent |
|
||||
| edited_timestamp | ?ISO8601 timestamp | When this message was last edited |
|
||||
| tts | boolean | Whether this message will be read out by TTS |
|
||||
| mention_everyone | boolean | Whether this message mentions everyone |
|
||||
| mentions | array[partial [user](/resources/user#user-object) object] | Users specifically mentioned in the message |
|
||||
| mention_roles | array[snowflake] | Roles specifically mentioned in this message |
|
||||
| mention_channels? ^3^ | array[partial [channel](/resources/channel#channel-object) object] | Channels specifically mentioned in this message |
|
||||
| attachments ^2^ | array[[attachment](#attachment-object) object] | The attached files |
|
||||
| embeds ^2^ | array[[embed](#embed-object) object] | Content embedded in the message |
|
||||
| reactions? | array[[reaction](#reaction-object) object] | Reactions on the message |
|
||||
| nonce? | integer \| string | The message's nonce, used for message deduplication |
|
||||
| pinned | boolean | Whether this message is pinned |
|
||||
| webhook_id? | snowflake | The ID of the webhook that send the message |
|
||||
| type | integer | The [type of message](#message-type) |
|
||||
| activity? | [message activity](#message-activity-object) object | The rich presence activity the author is inviting users to |
|
||||
| application? | [integration application](/resources/integration#integration-application-object) object | The application of the message's rich presence activity |
|
||||
| application_id? | snowflake | The ID of the application; only sent for interaction responses and messages created through OAuth2 |
|
||||
| flags | integer | The [message's flags](#message-flags) |
|
||||
| message_reference? ^4^ | [message reference](#message-reference-object) object | The source of a crosspost, snapshot, channel follow add, pin, or reply message |
|
||||
| referenced_message? ^5^ ^4^ | ?[message object](#message-object) | The message associated with the `message_reference` |
|
||||
| message_snapshots? ^4^ | array[[message snapshot](#message-snapshot-object) object] | The partial message snapshot associated with the `message_reference` |
|
||||
| call? | [message call](#message-call-object) object | The private channel call that prompted this message |
|
||||
| interaction? **(deprecated)** | [message interaction](/interactions/receiving-and-responding#message-interaction-structure) object | The interaction the message is responding to |
|
||||
| interaction_metadata? | [message interaction metadata](#message-interaction-metadata-object) object | The interaction the message originated from |
|
||||
| resolved? | [resolved data](/interactions/receiving-and-responding#resolved-data-structure) object | Data for users, members, channels, and roles referenced in this message |
|
||||
| thread? | [channel](/resources/channel#channel-object) object | The thread that was started from this message, with the [`member`](/resources/channel#channel-object) key representing thread member data |
|
||||
| role_subscription_data? | [message role subscription](#message-role-subscription-object) object | The role subscription purchase or renewal that prompted this message |
|
||||
| purchase_notification? | [message purchase notification](#message-purchase-notification-object) object | The guild purchase that prompted this message |
|
||||
| gift_info? | [message gift info](#message-gift-info-object) object | Information on the gift that prompted this message |
|
||||
| components ^2^ | array[[message component](/resources/components#component-object) object] | The message's components (e.g. buttons, select menus) |
|
||||
| sticker_items? | array[[sticker item](/resources/sticker#sticker-item-object) object] | The message's sticker items |
|
||||
| stickers? | array[[sticker](/resources/sticker#sticker-object) object] | Extra rich information for the message's sticker items; only available in some contexts |
|
||||
| poll? ^2^ | [poll](#poll-object) object | A poll! |
|
||||
| changelog_id? | snowflake | The ID of the changelog that prompted this message |
|
||||
| soundboard_sounds? | array[[soundboard sound](/resources/soundboard/#soundboard-sound-object) object] | The message's soundboard sounds |
|
||||
| potions? | array[[potion](#potion-object) object] | Potions applied to the message |
|
||||
| shared_client_theme? | [shared client theme](#shared-client-theme-object) object | The shared client theme |
|
||||
|
||||
## HTML
|
||||
|
||||
<p>This is some HTML text.</p>
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
import {VoidcannonCollectionIconType, VoidcannonCollectionType, VoidcannonContentType} from "voidcannon";
|
||||
import {
|
||||
VoidcannonCollectionColor,
|
||||
VoidcannonCollectionIconType,
|
||||
VoidcannonCollectionType,
|
||||
VoidcannonContentType
|
||||
} from "voidcannon";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.COLLECTION,
|
||||
@@ -6,8 +11,10 @@ export default {
|
||||
id: "featured",
|
||||
name: "Featured Content",
|
||||
description: "Featured Content Collection",
|
||||
color: VoidcannonCollectionColor.AQUA,
|
||||
icon: {
|
||||
type: VoidcannonCollectionIconType.ICON,
|
||||
icon: "star"
|
||||
icon: "forklift",
|
||||
gradient: ["#ff0","#00ffff"],
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,13 @@
|
||||
<voidcannon-cta>
|
||||
<md-icon slot="icon">comic_bubble</md-icon>
|
||||
The site (and content) are still heavily work-in-progress!
|
||||
</voidcannon-cta>
|
||||
|
||||
# Voidcannon
|
||||
|
||||
a modern blogging frontend, powered by **pagex**.
|
||||
Voidcannon is a modern blogging frontend build on pagex, a static site generator.
|
||||
|
||||
## Test Articles
|
||||
This site exists as both a functional example of what pagex can do, and my personal
|
||||
playground to write about topics that interest me.
|
||||
|
||||
- [playground](./playground)
|
||||
- [p3](./playground-p3)
|
||||
- [totk](./playground-totk)
|
||||
<gm3-wavy-divider></gm3-wavy-divider>
|
||||
@@ -21,10 +21,10 @@ export default {
|
||||
{
|
||||
type: VoidcannonSectionType.STORY_HERO,
|
||||
content: {
|
||||
_transform: ContentByIdentifierTransformer.id,
|
||||
_transform: ContentByIdentifierTransformer,
|
||||
content_ids: [
|
||||
playgroundP3.id,
|
||||
playground.id,
|
||||
playgroundP3.id,
|
||||
playgroundTotk.id
|
||||
],
|
||||
// TODO: implement this
|
||||
@@ -33,15 +33,15 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
type: VoidcannonSectionType.CAROUSEL,
|
||||
content: {
|
||||
_transform: CollectionContentTransformer.id,
|
||||
collection_id: "featured"
|
||||
},
|
||||
label: "Various Articles",
|
||||
target: "collections/featured"
|
||||
},
|
||||
// {
|
||||
// type: VoidcannonSectionType.CAROUSEL,
|
||||
// content: {
|
||||
// _transform: CollectionContentTransformer,
|
||||
// collection_id: "featured"
|
||||
// },
|
||||
// label: "Various Articles",
|
||||
// target: "collections/featured"
|
||||
// },
|
||||
{
|
||||
type: VoidcannonSectionType.EDITORIAL,
|
||||
content: {
|
||||
@@ -52,16 +52,23 @@ export default {
|
||||
{
|
||||
type: VoidcannonSectionType.CONTENT_GRID,
|
||||
content: {
|
||||
_transform: CollectionContentTransformer.id,
|
||||
_transform: CollectionContentTransformer,
|
||||
collection_id: "test"
|
||||
},
|
||||
label: "Testing Articles",
|
||||
icon: "forklift"
|
||||
},
|
||||
{
|
||||
type: VoidcannonSectionType.EDITORIAL,
|
||||
content: {
|
||||
_transform: PagexResourceTransformer.MARKDOWN,
|
||||
content: "<gm3-wavy-divider></gm3-wavy-divider>"
|
||||
}
|
||||
},
|
||||
{
|
||||
type: VoidcannonSectionType.CONTENT_GRID,
|
||||
content: {
|
||||
_transform: RecentContentTransformer.id,
|
||||
_transform: RecentContentTransformer,
|
||||
amount: 15
|
||||
},
|
||||
label: "Recent Articles",
|
||||
|
||||
Reference in New Issue
Block a user