Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added LY/1-1.webp
Binary file not shown.
Binary file added LY/1-2.webp
Binary file not shown.
Binary file added LY/1-3.webp
Binary file not shown.
41 changes: 41 additions & 0 deletions LY/Dress.vue
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 0 deletions LY/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Maintainer: LY <[email protected]>
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 changes: 3 additions & 0 deletions LY/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
现在这里又多了两门语言……大概?

关注 [LY 的博客](https://young-lord.github.io) 谢谢喵~
1 change: 1 addition & 0 deletions LY/hash-all.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Get-FileHash * -Algorithm SHA512 | Select-Object -Property @{name = 'FileName'; expression = { Split-Path $_.Path -leaf } }, @{name = 'Hash'; expression = { $_.Hash.ToLower() } } | Format-List