Skip to content

Commit

Permalink
feat!: major update with multiple new features and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
WRXinYue committed Jan 5, 2025
1 parent cea444d commit 988d0dc
Show file tree
Hide file tree
Showing 108 changed files with 1,427 additions and 9,254 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,5 @@ jobs:
- name: Build
run: pnpm run build

- name: Build:sakura
run: pnpm run build:sakura

- name: Build:docs
run: pnpm run build:docs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion demos/sakura/package.json → demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"serve": "vite preview"
},
"dependencies": {
"@iconify-json/line-md": "^1.2.3",
"@iconify-json/fa": "^1.2.1",
"@iconify-json/line-md": "^1.2.4",
"valaxy-addon-algolia": "catalog:",
"valaxy-addon-bangumi": "catalog:",
"valaxy-addon-live2d": "catalog:",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: archives
title: 归档
icon: i-fa-archive
nav: false
comment: false
cover: https://wrxinyue-images.s3.bitiful.net/pc-wallpaper/d3451fd5c958008e3798970d3dc2c4ee.gif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ layout: categories
nav: false
toc: false
icon: i-ri-folder-2-line
# You can custom title
# title: 云游的小分类
title: 分类
comment: false
cover: https://wrxinyue-images.s3.bitiful.net/pc-wallpaper/d55e3995642b80318211a82e39f09a68.gif
---
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 34 additions & 16 deletions demos/sakura/valaxy.config.ts → demo/valaxy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,42 @@ export default defineValaxyConfig<ThemeUserConfig>({

themeConfig: {
ui: {
primary: '#fe9500',

toggleDarkButton: {
lightIcon: 'i-line-md-moon-alt-to-sunny-outline-loop-transition',
darkIcon: 'i-line-md-sunny-outline-to-moon-loop-transition',
},
pinnedPost: {
icon: 'i-fa-anchor',
},
postList: {
icon: 'i-fa-envira',
},
scrollDown: {
icon: 'i-fa-chevron-down',
},
},

hero: {
title: 'HI, SAKURA!',
motto: 'You got to put the past behind you before you can move on.',
urls: [
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper-2025%2Fwallhaven-3l2vm3.jpg',
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper-2025%2Fwallhaven-3z9dz9.jpg',
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper-2025%2Fwallhaven-858k3j.jpg',
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper-2025%2Fwallhaven-rrdgp1.jpg',
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper-2025%2Fwallhaven-zyxq6j.jpg',
// Source: https://www.pixiv.net/artworks/72203573
'https://valaxy-theme-sakura.s3.bitiful.net/home-wallpaper.jpg',
'https://valaxy-theme-sakura.s3.bitiful.net/wallpaper/yae-miko-sunset-sakura-genshin-impact-moewalls-com.mp4',
],
randomUrls: true,
// playerUrl: 'https://valaxy-theme-sakura.s3.bitiful.net/PV/563098369-1-208.mp4',
// playerUrl: 'https://valaxy-theme-sakura.s3.bitiful.net/theming-demos/mashiro/The Pet Girl of Sakurasou.mp4',
playerUrl: 'https://valaxy-theme-sakura.s3.bitiful.net/PV/Original PV Little love song MONGOL 800 cover by Amatsuki.mp4',
style: 'filter-dot',

fixedImg: true,
typewriter: true,
enableHitokoto: true,
waveTheme: 'horizontal',
Expand All @@ -41,6 +58,8 @@ export default defineValaxyConfig<ThemeUserConfig>({
},

pinnedPost: {
text: 'START:DASH!!',

entries: [
{
title: 'Valaxy Theme Sakura',
Expand Down Expand Up @@ -70,10 +89,13 @@ export default defineValaxyConfig<ThemeUserConfig>({
},

postList: {
text: 'Discovery',

settings: {
card: {
isImageReversed: true,
// defaultImage: ['https://www.dmoe.cc/random.php?random', 'https://www.loliapi.com/acg/pc/?random'],
defaultImage: ['https://www.dmoe.cc/random.php?random'],
defaultImage: ['https://www.dmoe.cc/random.php?random', 'https://img.xjh.me/random_img.php?random?type=bg&return=302'],
},
},
},
Expand All @@ -82,9 +104,6 @@ export default defineValaxyConfig<ThemeUserConfig>({
navigationMerge: true,
},

scrollToTop: true,
scrollIndicator: true,

navbar: [
{
icon: 'i-fa-fort-awesome',
Expand All @@ -111,13 +130,6 @@ export default defineValaxyConfig<ThemeUserConfig>({
link: '/anime',
animated: 'animation-hvr-grow',
},
{
text: pkg.author.name,
icon: 'i-line-md-hazard-lights-filled',
link: pkg.author.url,
target: '_blank',
animated: 'animation-hvr-icon-bounce',
},
{
icon: 'i-fa-edit',
text: '留言板',
Expand Down Expand Up @@ -148,8 +160,8 @@ export default defineValaxyConfig<ThemeUserConfig>({
],
},
{
text: '赞赏',
icon: 'i-fa-heart',
text: pkg.author.name,
icon: 'i-line-md-hazard-lights-filled',
link: pkg.author.url,
target: '_blank',
animated: 'animation-hvr-icon-bounce',
Expand All @@ -172,8 +184,10 @@ export default defineValaxyConfig<ThemeUserConfig>({
navbarOptions: {
title: ['さくら', 'の', '夢'],
subTitle: '这是一个副标题',
// invert: true,
autoHide: true,
offset: 0,
invert: ['home'],
showMarker: false,
autoHide: ['home'],
},

sidebar: [
Expand Down Expand Up @@ -251,6 +265,10 @@ export default defineValaxyConfig<ThemeUserConfig>({
title: 'WRXinYue',
},
},

scrollToTop: true,
scrollIndicator: true,
scrollLock: false,
},

addons: [
Expand Down
File renamed without changes.
9 changes: 0 additions & 9 deletions demos/butterfly/.editorconfig

This file was deleted.

43 changes: 0 additions & 43 deletions demos/butterfly/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions demos/butterfly/.npmrc

This file was deleted.

7 changes: 0 additions & 7 deletions demos/butterfly/App.vue

This file was deleted.

3 changes: 0 additions & 3 deletions demos/butterfly/components/SakuraArticleListCustom.vue

This file was deleted.

3 changes: 0 additions & 3 deletions demos/butterfly/components/SakuraNavbarCustom.vue

This file was deleted.

25 changes: 0 additions & 25 deletions demos/butterfly/layouts/default.vue

This file was deleted.

11 changes: 0 additions & 11 deletions demos/butterfly/layouts/home.vue

This file was deleted.

17 changes: 0 additions & 17 deletions demos/butterfly/netlify.toml

This file was deleted.

19 changes: 0 additions & 19 deletions demos/butterfly/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions demos/butterfly/pages/404.md

This file was deleted.

15 changes: 0 additions & 15 deletions demos/butterfly/pages/about/index.md

This file was deleted.

7 changes: 0 additions & 7 deletions demos/butterfly/pages/about/site.md

This file was deleted.

5 changes: 0 additions & 5 deletions demos/butterfly/pages/archives/index.md

This file was deleted.

9 changes: 0 additions & 9 deletions demos/butterfly/pages/categories/index.md

This file was deleted.

9 changes: 0 additions & 9 deletions demos/butterfly/pages/links/index.md

This file was deleted.

7 changes: 0 additions & 7 deletions demos/butterfly/pages/tags/index.md

This file was deleted.

Loading

0 comments on commit 988d0dc

Please sign in to comment.