Add artist website and portfolio files with LFS
This commit is contained in:
20
artist-website/src-tauri/Cargo.toml
Normal file
20
artist-website/src-tauri/Cargo.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
[package]
|
||||
name = "artist-website"
|
||||
version = "1.0.0"
|
||||
description = "Artist portfolio website built with Tauri + Vue"
|
||||
authors = [""]
|
||||
license = ""
|
||||
repository = ""
|
||||
edition = "2021"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "1.5", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "1.5", features = [ "fs-read-file", "path-all", "shell-open"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[features]
|
||||
default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
3
artist-website/src-tauri/assets/images/3D佛繞脖.jpg
Executable file
3
artist-website/src-tauri/assets/images/3D佛繞脖.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca7fbdab5a996b9b2ccef2b85369dbeb56ee83681f7905777fcc34858e16e83c
|
||||
size 825676
|
||||
3
artist-website/src-tauri/assets/images/3D佛繞脖2.jpg
Executable file
3
artist-website/src-tauri/assets/images/3D佛繞脖2.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd9eccfa7972568bdb861855fe58ef74c2735d81f571a6f4307590b90e074141
|
||||
size 238085
|
||||
3
artist-website/src-tauri/assets/images/人蟲模型1.jpg
Executable file
3
artist-website/src-tauri/assets/images/人蟲模型1.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6c4ae30f253b5fbfc708d49c25463d43985d288a7333620ca4fdcd9715d9ae7
|
||||
size 334913
|
||||
3
artist-website/src-tauri/assets/images/人蟲模型2.jpg
Executable file
3
artist-website/src-tauri/assets/images/人蟲模型2.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94e08d5ec7ce63dd2e3d1116c205770289096278c1b054f4d9f2ac1a95d3b33a
|
||||
size 274902
|
||||
3
artist-website/src-tauri/assets/images/人蟲模型3.jpg
Executable file
3
artist-website/src-tauri/assets/images/人蟲模型3.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01618fbe4aa3b2d3c4f189f8e158b896d723d9f43db53c68a1738fed8b89cac2
|
||||
size 287467
|
||||
3
artist-website/src-tauri/assets/images/人蟲模型4.jpg
Executable file
3
artist-website/src-tauri/assets/images/人蟲模型4.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b710ac26aa201c060d25758b61f7a666c59d0d972469b1e37fca79d32cc2d241
|
||||
size 307656
|
||||
3
artist-website/src-tauri/assets/images/人蟲模型5.jpg
Executable file
3
artist-website/src-tauri/assets/images/人蟲模型5.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26f3d56b90490a279f3619888599e3e0898eba3116fa9f1355ff7205de079650
|
||||
size 361390
|
||||
3
artist-website/src-tauri/assets/images/作品集截圖.jpg
Executable file
3
artist-website/src-tauri/assets/images/作品集截圖.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7793364f8b01cccf205f73eaad865acc4e10905a6dd2f115c612ac2ee509313b
|
||||
size 1054269
|
||||
3
artist-website/src-tauri/assets/images/腦補觀看紀錄.jpg
Executable file
3
artist-website/src-tauri/assets/images/腦補觀看紀錄.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2051f342c3cb0c301fc09560177863395ee0cdefdd32d29c0401787bff31d888
|
||||
size 880182
|
||||
3
artist-website/src-tauri/assets/images/蟲模型1.jpg
Executable file
3
artist-website/src-tauri/assets/images/蟲模型1.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c645af764bd82b078a4897963253b30050a1006f708c06206648ce647a9d3129
|
||||
size 225299
|
||||
3
artist-website/src-tauri/assets/images/蟲模型2.jpg
Executable file
3
artist-website/src-tauri/assets/images/蟲模型2.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:88e69e596fe015289400caab3fc1c04d20dc4b1b8eb43ff009ddb42c7f7eb012
|
||||
size 224484
|
||||
3
artist-website/src-tauri/assets/images/蟲模型3.jpg
Executable file
3
artist-website/src-tauri/assets/images/蟲模型3.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eaafff6bb1fcabf9975eec48a753a35fbe611a0273e6dbc0af306cfb2c95c5f0
|
||||
size 183839
|
||||
3
artist-website/src-tauri/assets/images/蟲模型4.jpg
Executable file
3
artist-website/src-tauri/assets/images/蟲模型4.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:148253e6c429fb49b4719ded0aed4243dcbf74c8c4d38aa77e6ae13eafba54ac
|
||||
size 202855
|
||||
3
artist-website/src-tauri/assets/images/超吸收作用中.jpg
Executable file
3
artist-website/src-tauri/assets/images/超吸收作用中.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5312806d9ee847860f45d01232e89555a4443ee8d09b8b97278a78bec9b859bc
|
||||
size 2435124
|
||||
3
artist-website/src-tauri/assets/images/超吸收作用中2.jpg
Executable file
3
artist-website/src-tauri/assets/images/超吸收作用中2.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bcba3c69651f940da9aa20241a6209ad13fde075c9eeed52b18cda23badb35e
|
||||
size 1259287
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d805fb70d89c13e6eac4310d3800e92c9b3790885d7e4e51e8ca38c93562a667
|
||||
size 201293
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴2.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴2.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3689a1015c91b461ea965dd6792aadb1529da86e9cec2f1943c8caa21bfc8bb8
|
||||
size 381556
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴3.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴3.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65d24f723b6c33493f8a2215730ffa4589ab42c172c7b623862300a8ac4c03ec
|
||||
size 439659
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴4.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴4.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cbebdbc34e8e818d69176d17be604939499e449e74f891973ee9229cf705b0e
|
||||
size 700848
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴5.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴5.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c137263f3e99a51827c4616b154f3af58ffed95d9b37eb68e304774909b164e
|
||||
size 1288487
|
||||
3
artist-website/src-tauri/assets/images/陶洞穴6.jpg
Executable file
3
artist-website/src-tauri/assets/images/陶洞穴6.jpg
Executable file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a2161439c369264168e7c8b2aefa8c69ac3c400fa3dd1094e4e2d67f4e43c5c
|
||||
size 1388256
|
||||
3
artist-website/src-tauri/build.rs
Normal file
3
artist-website/src-tauri/build.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
tauri_build::build()
|
||||
}
|
||||
3
artist-website/src-tauri/icons/128x128.png
Normal file
3
artist-website/src-tauri/icons/128x128.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29bc07cac43be4315de8faccc038ba382ac298e88d18291b5c28d6403ac3d1f5
|
||||
size 360
|
||||
3
artist-website/src-tauri/icons/128x128@2x.png
Normal file
3
artist-website/src-tauri/icons/128x128@2x.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b2576d0a803b7cc18d014f90553769de0762759904b88b7b359051446719429
|
||||
size 857
|
||||
3
artist-website/src-tauri/icons/32x32.png
Normal file
3
artist-website/src-tauri/icons/32x32.png
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c600d5c47845a0c934e40b7c33fc18db90131e65587077a056fa121d4f47172
|
||||
size 104
|
||||
BIN
artist-website/src-tauri/icons/icon.icns
Normal file
BIN
artist-website/src-tauri/icons/icon.icns
Normal file
Binary file not shown.
BIN
artist-website/src-tauri/icons/icon.ico
Normal file
BIN
artist-website/src-tauri/icons/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
55
artist-website/src-tauri/src/main.rs
Normal file
55
artist-website/src-tauri/src/main.rs
Normal file
@@ -0,0 +1,55 @@
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
use serde::Serialize;
|
||||
use tauri::Builder;
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct PortfolioItem {
|
||||
pub id: u32,
|
||||
pub title: String,
|
||||
pub description: String,
|
||||
pub media_type: String,
|
||||
pub media_path: String,
|
||||
pub year: String,
|
||||
pub tags: Vec<String>,
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
fn get_portfolio_items() -> Vec<PortfolioItem> {
|
||||
vec![
|
||||
PortfolioItem {
|
||||
id: 1,
|
||||
title: "雕塑作品一".to_string(),
|
||||
description: "探索形體與空間的對話".to_string(),
|
||||
media_type: "image".to_string(),
|
||||
media_path: "assets/images/work1.jpg".to_string(),
|
||||
year: "2024".to_string(),
|
||||
tags: vec!["雕塑".to_string()],
|
||||
},
|
||||
PortfolioItem {
|
||||
id: 2,
|
||||
title: "材料實驗系列".to_string(),
|
||||
description: "探索不同媒材的可能性".to_string(),
|
||||
media_type: "image".to_string(),
|
||||
media_path: "assets/images/work2.jpg".to_string(),
|
||||
year: "2024".to_string(),
|
||||
tags: vec!["雕塑".to_string(), "材料".to_string()],
|
||||
},
|
||||
PortfolioItem {
|
||||
id: 3,
|
||||
title: "創作過程記錄".to_string(),
|
||||
description: "雕塑創作過程記錄影片".to_string(),
|
||||
media_type: "video".to_string(),
|
||||
media_path: "assets/videos/work1.mp4".to_string(),
|
||||
year: "2024".to_string(),
|
||||
tags: vec!["過程".to_string(), "影片".to_string()],
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
fn main() {
|
||||
Builder::default()
|
||||
.invoke_handler(tauri::generate_handler![get_portfolio_items])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
54
artist-website/src-tauri/tauri.conf.json
Normal file
54
artist-website/src-tauri/tauri.conf.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/1.0.0",
|
||||
"build": {
|
||||
"beforeDevCommand": "npm run dev",
|
||||
"beforeBuildCommand": "npm run build",
|
||||
"devPath": "http://localhost:1420",
|
||||
"distDir": "../dist"
|
||||
},
|
||||
"package": {
|
||||
"productName": "ArtistWebsite",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"tauri": {
|
||||
"allowlist": {
|
||||
"all": false,
|
||||
"shell": {
|
||||
"all": false,
|
||||
"open": true
|
||||
},
|
||||
"path": {
|
||||
"all": true
|
||||
},
|
||||
"fs": {
|
||||
"readFile": true
|
||||
}
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"identifier": "com.artist.website",
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
"icons/128x128.png",
|
||||
"icons/128x128@2x.png",
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
]
|
||||
},
|
||||
"security": {
|
||||
"csp": null
|
||||
},
|
||||
"windows": [
|
||||
{
|
||||
"fullscreen": false,
|
||||
"resizable": true,
|
||||
"title": "Artist Portfolio",
|
||||
"width": 1280,
|
||||
"height": 800,
|
||||
"minWidth": 800,
|
||||
"minHeight": 600
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1
artist-website/src-tauri/tsconfig.json
Normal file
1
artist-website/src-tauri/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user