Compare commits
10 Commits
ee82498161
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 53e62fcb68 | |||
| 04c2182705 | |||
| f023f36558 | |||
| 62a2c4f5bc | |||
| 87bb1459b8 | |||
| 8dd20cb0cb | |||
| 55f1ac22b0 | |||
| c3ae332b0b | |||
| dede2e9072 | |||
| 4c03aea947 |
@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: FreeBSD-14.1
|
runs-on: FreeBSD-14.1
|
||||||
env:
|
env:
|
||||||
SOURCE_DIR: tavernworks
|
SOURCE_DIR: tavernworks
|
||||||
TARGET_DIR: /usr/local/bin
|
TARGET_DIR: /home/gitea/bin
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Workspace
|
- name: Setup Workspace
|
||||||
run: |
|
run: |
|
||||||
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Clone Repo
|
- name: Clone Repo
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: CyberMages/website
|
repository: CyberMages/tavernworks
|
||||||
token: ${{ secrets.CM_GIT_TOKEN }}
|
token: ${{ secrets.CM_GIT_TOKEN }}
|
||||||
path: ${{ env.SOURCE_DIR }}
|
path: ${{ env.SOURCE_DIR }}
|
||||||
- name: Build Repo
|
- name: Build Repo
|
||||||
@ -27,6 +27,10 @@ jobs:
|
|||||||
pwd
|
pwd
|
||||||
ls -la
|
ls -la
|
||||||
cd "$SOURCE_DIR"
|
cd "$SOURCE_DIR"
|
||||||
|
echo "Current Shell: $SHELL"
|
||||||
|
echo "PATH=$PATH"
|
||||||
|
. ~/.profile
|
||||||
|
echo "PATH=$PATH"
|
||||||
echo "Building release."
|
echo "Building release."
|
||||||
cargo build --release
|
cargo build --release
|
||||||
echo "Installing loreweaver."
|
echo "Installing loreweaver."
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -297,7 +297,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bard"
|
name = "bard"
|
||||||
version = "0.3.14"
|
version = "0.3.17"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"dioxus",
|
"dioxus",
|
||||||
"tavern",
|
"tavern",
|
||||||
|
|||||||
BIN
assets/images/tavernworks_card.png
Normal file
BIN
assets/images/tavernworks_card.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 246 KiB |
BIN
assets/images/tavernworks_logo.png
Normal file
BIN
assets/images/tavernworks_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 442 KiB |
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "bard"
|
name = "bard"
|
||||||
version = "0.3.14"
|
version = "0.3.17"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "Dioxus components that will display a Tavern blogging system Blog."
|
description = "Dioxus components that will display a Tavern blogging system Blog."
|
||||||
repository = "/CyberMages/tavern"
|
repository = "/CyberMages/tavern"
|
||||||
|
|||||||
@ -117,7 +117,7 @@
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.embeded_video
|
.embedded_video
|
||||||
{
|
{
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -259,3 +259,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video_link
|
||||||
|
{
|
||||||
|
display: none;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (max-width: 1000px)
|
||||||
|
{
|
||||||
|
.blog_post .blog_post_tale
|
||||||
|
{
|
||||||
|
.video_link
|
||||||
|
{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.embedded_video
|
||||||
|
{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
BIN
bard/assets/images/bard_logo.png
Normal file
BIN
bard/assets/images/bard_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
@ -23,7 +23,7 @@ pub fn BlogAuthor() -> Element
|
|||||||
|
|
||||||
|
|
||||||
#[component]
|
#[component]
|
||||||
pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
|
pub fn PostHeaderAuthor(author: Option<Adventurer>, publish_date: String) -> Element
|
||||||
{
|
{
|
||||||
match author
|
match author
|
||||||
{
|
{
|
||||||
@ -37,6 +37,11 @@ pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
|
|||||||
content: "{adventurer.name}"
|
content: "{adventurer.name}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i
|
||||||
|
{
|
||||||
|
"Published: {publish_date}"
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
{
|
{
|
||||||
b
|
b
|
||||||
@ -58,6 +63,11 @@ pub fn PostHeaderAuthor(author: Option<Adventurer>) -> Element
|
|||||||
content: "Unknown"
|
content: "Unknown"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i
|
||||||
|
{
|
||||||
|
"Published: {publish_date}"
|
||||||
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
{
|
{
|
||||||
b
|
b
|
||||||
@ -107,7 +117,11 @@ pub fn PostHeader(tale: Tale, adventurer: Option<Adventurer>) -> Element
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PostHeaderAuthor { author: adventurer }
|
PostHeaderAuthor
|
||||||
|
{
|
||||||
|
author: adventurer,
|
||||||
|
publish_date: tale.lore.publish_date.format("%m/%d/%Y").to_string()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "loreweaver"
|
name = "loreweaver"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "Converts a blog repository into an SQLite database using the Tavern blog system."
|
description = "Converts a blog repository into an SQLite database using the Tavern blog system."
|
||||||
repository = "/CyberMages/tavern"
|
repository = "/CyberMages/tavern"
|
||||||
|
|||||||
BIN
loreweaver/assets/images/loreweaver_logo.png
Normal file
BIN
loreweaver/assets/images/loreweaver_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
BIN
tavern/assets/images/tavern_logo.png
Normal file
BIN
tavern/assets/images/tavern_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 KiB |
Reference in New Issue
Block a user