Compare commits
10 Commits
cdb5102710
...
ed21d16eeb
Author | SHA1 | Date | |
---|---|---|---|
ed21d16eeb | |||
55559aed48 | |||
9190316680 | |||
a3a9a07387 | |||
535da54284 | |||
e92354387b | |||
602981cd05 | |||
b12bdb416e | |||
76cdfe1c55 | |||
4919cd13d3 |
@ -4,7 +4,7 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: self-hosted
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -12,7 +12,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.thehrz-nginx.rule=Host(`thehrz.net`, `www.thehrz.net`)
|
- traefik.http.routers.thehrz-nginx.rule=HostRegexp(`^(www\.)?thehrz\.net$`)
|
||||||
- traefik.http.routers.thehrz-nginx.entrypoints=web,websecure
|
- traefik.http.routers.thehrz-nginx.entrypoints=web,websecure
|
||||||
- traefik.http.routers.thehrz-nginx.tls.certresolver=letsencrypt
|
- traefik.http.routers.thehrz-nginx.tls.certresolver=letsencrypt
|
||||||
- traefik.http.routers.thehrz-nginx.middlewares=CORS@file
|
- traefik.http.routers.thehrz-nginx.middlewares=CORS@file
|
||||||
|
29
package.json
29
package.json
@ -9,25 +9,26 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^20.8.0",
|
"@types/node": "^20.14.10",
|
||||||
"@unocss/reset": "^0.56.4",
|
"@unocss/reset": "^0.56.5",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"sass": "^1.68.0",
|
"sass": "^1.77.6",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.4.31",
|
||||||
"vue-router": "^4.2.5"
|
"vue-router": "^4.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/mdi": "^1.1.54",
|
"@iconify-json/mdi": "^1.1.67",
|
||||||
"@types/nprogress": "^0.2.1",
|
"@iconify-json/simple-icons": "^1.1.108",
|
||||||
"@unocss/preset-icons": "^0.56.4",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@unocss/transformer-directives": "^0.56.4",
|
"@unocss/preset-icons": "^0.56.5",
|
||||||
"@vitejs/plugin-vue": "^4.3.4",
|
"@unocss/transformer-directives": "^0.56.5",
|
||||||
"typescript": "^5.2.2",
|
"@vitejs/plugin-vue": "^4.6.2",
|
||||||
"unocss": "^0.56.4",
|
"typescript": "^5.5.3",
|
||||||
|
"unocss": "^0.56.5",
|
||||||
"unplugin-vue-components": "^0.25.2",
|
"unplugin-vue-components": "^0.25.2",
|
||||||
"vite": "^4.4.9",
|
"vite": "^4.5.3",
|
||||||
"vite-plugin-pages": "^0.31.0",
|
"vite-plugin-pages": "^0.31.0",
|
||||||
"vite-plugin-vue-layouts": "^0.8.0",
|
"vite-plugin-vue-layouts": "^0.8.0",
|
||||||
"vue-tsc": "^1.8.15"
|
"vue-tsc": "^2.0.26"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3165
pnpm-lock.yaml
3165
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -1,13 +1,12 @@
|
|||||||
@import url("https://cdn.staticfile.org/hack-font/3.3.0/web/hack.min.css");
|
@import url("https://cdn.staticfile.org/hack-font/3.3.0/web/hack.min.css");
|
||||||
|
|
||||||
* {
|
* {
|
||||||
padding: 0;
|
--at-apply: p-0 m-0 box-border;
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "Hack", Inter, ui-monospace, SFMono-Regular,
|
font-family: "Hack", Inter, ui-monospace, SFMono-Regular, Menlo, Monaco,
|
||||||
Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
--uno: flex items-center justify-center min-h-screen min-w-screen text-4
|
--at-apply: flex items-center justify-center min-h-screen min-w-screen text-4
|
||||||
leading-24px font-synthesis-none select-none;
|
leading-24px font-synthesis-none select-none;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<a
|
<a target="_blank" :href="to">
|
||||||
class="bg-white border-solid border-2 border-#dcdfe6 c-black decoration-none flex items-center rounded text-4 h-11 px-3 shadow"
|
|
||||||
target="_blank"
|
|
||||||
:href="to"
|
|
||||||
>
|
|
||||||
<div v-if="icon" :class="icon" class="h-24px w-24px" />
|
<div v-if="icon" :class="icon" class="h-24px w-24px" />
|
||||||
<div class="ml-2" />
|
<div class="ml-2" />
|
||||||
<slot />
|
<slot />
|
||||||
@ -17,4 +13,8 @@ defineProps<{
|
|||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped>
|
||||||
|
a {
|
||||||
|
--at-apply: bg-white hover:bg-stone-100 active:bg-neutral-200 border-solid border-2 border-light-950 c-coolgray-700 decoration-none flex items-center rounded text-4 h-11 px-3 shadow;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -1,20 +1,34 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const links = [
|
const links = [
|
||||||
{
|
{
|
||||||
icon: "i-mdi-github",
|
name: "Blog",
|
||||||
link: "https://github.com/thehrz"
|
icon: "i-mdi:text-box",
|
||||||
}
|
link: "https://blog.thehrz.net",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Github",
|
||||||
|
icon: "i-simple-icons-github",
|
||||||
|
link: "https://github.com/thehrz",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "bilibili",
|
||||||
|
icon: "i-simple-icons-bilibili",
|
||||||
|
link: "https://space.bilibili.com/277921109",
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<section class="flex flex-col items-center">
|
<section class="flex flex-col items-center">
|
||||||
<img class="w-8em shadow-lg" alt="thehrz" src="/thehrz.jpg" >
|
<img class="w-8em shadow-lg" alt="thehrz" src="/thehrz.jpg" />
|
||||||
|
|
||||||
<h1 class="my-8 text-2.5em leading-[1.1] md:text-3.5em c-coolgray-700 font-300">Hi! I'm thehrz.</h1>
|
<h1 class="my-8 text-2.5em leading-[1.1] md:text-3.5em c-coolgray-700 font-300 text-shadow-sm">
|
||||||
|
Hi! I'm thehrz.
|
||||||
|
</h1>
|
||||||
|
|
||||||
<Button v-for="link in links" :to="link.link" :icon="link.icon">Github</Button>
|
<div class="flex flex-row flex-gap-2">
|
||||||
|
<Button v-for="link in links" :to="link.link" :icon="link.icon">{{ link.name }}</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="mt-8 c-dark-100">🚧 under construction...</p>
|
<p class="mt-8 c-dark-100">🚧 under construction...</p>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user