Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
syui committed Jun 4, 2023
0 parents commit e3410c9
Show file tree
Hide file tree
Showing 122 changed files with 8,534 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: github pages

on:
push:
branches:
- main

jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
ref: main
submodules: true
fetch-depth: 0
- run: yarn install

- name: Build
env:
TZ: "Asia/Tokyo"
run: |
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.DS_Store
*/.DS_Store
*/*/.DS_Store
*/*/*/.DS_Store
*/*/*/*/.DS_Store
*/*/*/*/*/.DS_Store
*/*/*/*/*/*/.DS_Store
*/*/*/*/*/*/*/.DS_Store
*/*/*/*/*/*/*/*/.DS_Store
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
manga.syui.ai
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
43 changes: 43 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "manga.syui.ai",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "^3.6.4",
"hooper": "^0.3.4",
"vue": "^2.6.11"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.3.0",
"@vue/cli-plugin-eslint": "~4.3.0",
"@vue/cli-service": "~4.3.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
12 changes: 12 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="">
<head>
<title>card.syui.ai</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>card.syui.ai</title><link href="app.css" rel="preload" as="style"><link href="app.js" rel="preload" as="script"><link href="chunk-vendors.js" rel="preload" as="script"><link href="app.css" rel="stylesheet">
<meta name="twitter:card" content="summary">
<meta property="og:url" content="https://manga.syui.ai">
<meta property="og:title" content="yui">
<meta property="og:description" content="©syui.ai">
<meta property="og:image" content="https://manga.syui.ai/manga/og.png">
</head>
<body><div id="app"></div><script src="chunk-vendors.js"></script><script src="app.js"></script></body>
</html>
Binary file added public/favicon.ico
Binary file not shown.
12 changes: 12 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>card.syui.ai</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>card.syui.ai</title><link href="app.css" rel="preload" as="style"><link href="app.js" rel="preload" as="script"><link href="chunk-vendors.js" rel="preload" as="script"><link href="app.css" rel="stylesheet">
<meta name="twitter:card" content="summary">
<meta property="og:url" content="https://manga.syui.ai">
<meta property="og:title" content="yui">
<meta property="og:description" content="©syui.ai">
<meta property="og:image" content="https://manga.syui.ai/manga/og.png">
</head>
<body><div id="app"></div><script src="chunk-vendors.js"></script><script src="app.js"></script></body>
</html>
Binary file added public/manga/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/102.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/103.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/104.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/105.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/106.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/manga/25.png
Binary file added public/manga/26.png
Binary file added public/manga/27.png
Binary file added public/manga/28.png
Binary file added public/manga/29.png
Binary file added public/manga/3.png
Binary file added public/manga/30.png
Binary file added public/manga/31.png
Binary file added public/manga/32.png
Binary file added public/manga/33.png
Binary file added public/manga/34.png
Binary file added public/manga/35.png
Binary file added public/manga/36.png
Binary file added public/manga/37.png
Binary file added public/manga/38.png
Binary file added public/manga/39.png
Binary file added public/manga/4.png
Binary file added public/manga/40.png
Binary file added public/manga/41.png
Binary file added public/manga/42.png
Binary file added public/manga/43.png
Binary file added public/manga/44.png
Binary file added public/manga/45.png
Binary file added public/manga/46.png
Binary file added public/manga/47.png
Binary file added public/manga/48.png
Binary file added public/manga/49.png
Binary file added public/manga/5.png
Binary file added public/manga/50.png
Binary file added public/manga/51.png
Binary file added public/manga/52.png
Binary file added public/manga/53.png
Binary file added public/manga/54.png
Binary file added public/manga/55.png
Binary file added public/manga/56.png
Binary file added public/manga/57.png
Binary file added public/manga/58.png
Binary file added public/manga/59.png
Binary file added public/manga/6.png
Binary file added public/manga/60.png
Binary file added public/manga/61.png
Binary file added public/manga/62.png
Binary file added public/manga/63.png
Binary file added public/manga/64.png
Binary file added public/manga/65.png
Binary file added public/manga/66.png
Binary file added public/manga/67.png
Binary file added public/manga/68.png
Binary file added public/manga/69.png
Binary file added public/manga/7.png
Binary file added public/manga/70.png
Binary file added public/manga/71.png
Binary file added public/manga/72.png
Binary file added public/manga/73.png
Binary file added public/manga/74.png
Binary file added public/manga/75.png
Binary file added public/manga/76.png
Binary file added public/manga/77.png
Binary file added public/manga/78.png
Binary file added public/manga/79.png
Binary file added public/manga/8.png
Binary file added public/manga/80.png
Binary file added public/manga/81.png
Binary file added public/manga/82.png
Binary file added public/manga/83.png
Binary file added public/manga/84.png
Binary file added public/manga/85.png
Binary file added public/manga/86.png
Binary file added public/manga/87.png
Binary file added public/manga/88.png
Binary file added public/manga/89.png
Binary file added public/manga/9.png
Binary file added public/manga/90.png
Binary file added public/manga/91.png
Binary file added public/manga/92.png
Binary file added public/manga/93.png
Binary file added public/manga/94.png
Binary file added public/manga/95.png
Binary file added public/manga/96.png
Binary file added public/manga/97.png
Binary file added public/manga/98.png
Binary file added public/manga/99.png
Binary file added public/manga/og.png
22 changes: 22 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
73 changes: 73 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<template>
<div id="app">
<a :href="this.url + this.s_a"><button v-on:click="page_run(s_a)">1</button></a>
<a :href="this.url + this.s_b"><button v-on:click="page_run(s_b)">2</button></a>
<a :href="this.url + this.s_c"><button v-on:click="page_run(s_c)">3</button></a>
<a :href="this.url + this.s_d"><button v-on:click="page_run(s_d)">4</button></a>
<a :href="this.url + this.s_e"><button v-on:click="page_run(s_e)">5</button></a>
<hooper :settings="hooperSettings">
<slide v-for="(n,index) of products" :key="n">
<img :src="'/manga/'+ (index) +'.png'" />
<div class="page_n">{{ n }}</div>
</slide>
<hooper-navigation slot="hooper-addons"></hooper-navigation>
<hooper-pagination slot="hooper-addons"></hooper-pagination>
<hooper-progress slot="hooper-addons"></hooper-progress>
</hooper>
</div>
</template>

<script>
import {
Hooper,
Slide,
Progress as HooperProgress,
Pagination as HooperPagination,
Navigation as HooperNavigation
} from 'hooper';
import 'hooper/dist/hooper.css';
var page = 107;
let loc = window.location.pathname.split('/').slice(-1)[0];
export default {
name: 'App',
components: {
Hooper,
Slide,
HooperProgress,
HooperPagination,
HooperNavigation
},
data() {
return {
url: "/",
s_a: 0,
s_b: 15,
s_c: 41,
s_d: 51,
s_e: 60,
products: [...Array(Number(page)).keys()],
hooperSettings: {
itemsToShow: 1,
centerMode: true,
initialSlide: loc,
}
};
},
methods: {
page_run(s) {
this.loc = s;
//this.loc = window.location.pathname.split('/').slice(0)[3];
}
}
};
</script>

<style>
.hooper{height:100%}button.hooper-indicator{background-color:#000}img{width:100%}.page_n{text-align:center;height:50px}.hooper-pagination{position:fixed}.hooper-next,.hooper-prev{background-color:rgba(184,207,224,.24)}
button {
padding: 10px;
margin: 5px;
}
</style>
74 changes: 74 additions & 0 deletions src/App.vue.back
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<template>
<div id="app">
<hooper :settings="hooperSettings">
<slide v-for="(n,index) of products" :key="n">
<img :src="'/manga/'+ (index) +'.png'" />
<div class="page_n">{{ n }}</div>
</slide>
<hooper-navigation slot="hooper-addons"></hooper-navigation>
<hooper-pagination slot="hooper-addons"></hooper-pagination>
<hooper-progress slot="hooper-addons"></hooper-progress>
</hooper>
<button v-on:click="page_run">1</button>
<button v-on:click="page_run"><a :href="this.url + this.s_b">2</a></button>
<button v-on:click="page_run"><a :href="this.url + this.s_c">3</a></button>
<button v-on:click="page_run"><a :href="this.url + this.s_d">4</a></button>
<button v-on:click="page_run"><a :href="this.url + this.s_e"5</a></button>
</div>
</template>

<script>
import {
Hooper,
Slide,
Progress as HooperProgress,
Pagination as HooperPagination,
Navigation as HooperNavigation
} from 'hooper';

import 'hooper/dist/hooper.css';

let page = 107;
let loc = 0;

export default {
name: 'App',
components: {
Hooper,
Slide,
HooperProgress,
HooperPagination,
HooperNavigation
},
data() {
return {
url: "/",
s_a: 0,
s_b: 15,
s_c: 41,
s_d: 51,
s_e: 60,
loc: loc,
products: [...Array(Number(page)).keys()],
hooperSettings: {
itemsToShow: 1,
centerMode: true,
initialSlide: 0,
}
};
},
methods: {
page_run() {
this.loc = window.location.pathname.split('/').slice(0)[3];
}
}
};
</script>

<style>
.hooper{height:100%}button.hooper-indicator{background-color:#000}img{width:100%}.page_n{text-align:center;height:50px}.hooper-pagination{position:fixed}.hooper-next,.hooper-prev{background-color:rgba(184,207,224,.24)}
button {
padding: 10px;
margin: 5px;
}
</style>
10 changes: 10 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App)
}).$mount('#app')


14 changes: 14 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
configureWebpack: {
output: {
filename: '[name].js',
chunkFilename: '[name].js'
}
},
css: {
extract: {
filename: '[name].css',
chunkFilename: '[name].css'
},
},
}
Loading

0 comments on commit e3410c9

Please sign in to comment.