feat: add scripts, frontend and assets - 阳历新年快乐! (#49)

CanoKey Pigeon 的第一个签名献给 Dress(
This commit is contained in:
LY 2023-12-31 14:47:51 +08:00 committed by GitHub
parent c1528651ca
commit efcf7caacf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 65 additions and 0 deletions

BIN
LY/1-1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

BIN
LY/1-2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

BIN
LY/1-3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 KiB

41
LY/Dress.vue Normal file
View File

@ -0,0 +1,41 @@
<!--vite ^4.2.0, vuetify ^3.0.0, see https://github.com/Young-Lord/online-clipboard/blob/v0.0.4/frontend/package.json-->
<template>
<v-app>
<v-main>
<v-container fluid class="fill-height justify-center">
<v-col cols="12" md="8">
<v-card elevation="16" variant="tonal">
<v-card-title>
<span class="headline">Welcome to Dress!</span>
</v-card-title>
<v-card-text>
<v-form @submit.native.prevent>
<v-text-field v-model="name" label="Who?" required
@keydown.enter="goToDress"></v-text-field>
<v-btn color="primary" @click="goToDress" :disabled="!name" block>
Go!
</v-btn>
</v-form>
</v-card-text>
</v-card>
</v-col>
</v-container>
</v-main>
</v-app>
</template>
<script>
export default {
data() {
return {
name: "LY",
}
},
created() { },
methods: {
goToDress() {
window.location.href = `https://github.com/Cute-Dress/Dress/tree/master/${this.name}`
}
},
}
</script>

20
LY/PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Maintainer: LY <ly-niko@qq.com>
pkgname="dress-ly"
pkgver="1.0.0"
pkgrel="1"
pkgdesc=" https://young-lord.github.io (/ω\) "
arch=('any')
depends=()
optdepends=('git')
license=("CC-0")
source=("1-1.webp"
"1-2.webp"
"1-3.webp")
sha512sums=("9bb5a6af5ed93c981e06d3b49109cc616b3ea2674fd02bb563c8e01cbf29424e3a279b0a613ce3bcf001166834e1f65fa348a3b435bb886ccc045f302f0fa04b"
"c9f8b69c6c4c976a367eb0213a70136d6f066a010557329c3f9a71144e69b7dc014e515614f84059c9a56b806951a6c9871780822c4ecfc3e6c1ad6487a25021"
"9e3481e43e100aa4c16d5f26f74094d639e7b19dd18441bc559e004ef214be1fd5f10b1fce832947f2f328cdc7310dd03a19cd30670d5f00ae20f568f332b0df")
package() {
mkdir -p "${pkgdir}/usr/lib/dress-ly"
cp -r "${srcdir}/"*.webp "${pkgdir}/usr/lib/dress-ly/"
}

3
LY/README.md Normal file
View File

@ -0,0 +1,3 @@
现在这里又多了两门语言……大概?
关注 [LY 的博客](https://young-lord.github.io) 谢谢喵~

1
LY/hash-all.ps1 Normal file
View File

@ -0,0 +1 @@
Get-FileHash * -Algorithm SHA512 | Select-Object -Property @{name = 'FileName'; expression = { Split-Path $_.Path -leaf } }, @{name = 'Hash'; expression = { $_.Hash.ToLower() } } | Format-List