Compare commits
No commits in common. "ed21d16eebe7ae3956dac88f671ffd7d5783f05b" and "cdb5102710c63a8d0b51f631fdba9e4e480247a7" have entirely different histories.
ed21d16eeb
...
cdb5102710
@ -4,7 +4,7 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: self-hosted
|
||||||
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=HostRegexp(`^(www\.)?thehrz\.net$`)
|
- traefik.http.routers.thehrz-nginx.rule=Host(`thehrz.net`, `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,26 +9,25 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^20.14.10",
|
"@types/node": "^20.8.0",
|
||||||
"@unocss/reset": "^0.56.5",
|
"@unocss/reset": "^0.56.4",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"sass": "^1.77.6",
|
"sass": "^1.68.0",
|
||||||
"vue": "^3.4.31",
|
"vue": "^3.3.4",
|
||||||
"vue-router": "^4.4.0"
|
"vue-router": "^4.2.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/mdi": "^1.1.67",
|
"@iconify-json/mdi": "^1.1.54",
|
||||||
"@iconify-json/simple-icons": "^1.1.108",
|
"@types/nprogress": "^0.2.1",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@unocss/preset-icons": "^0.56.4",
|
||||||
"@unocss/preset-icons": "^0.56.5",
|
"@unocss/transformer-directives": "^0.56.4",
|
||||||
"@unocss/transformer-directives": "^0.56.5",
|
"@vitejs/plugin-vue": "^4.3.4",
|
||||||
"@vitejs/plugin-vue": "^4.6.2",
|
"typescript": "^5.2.2",
|
||||||
"typescript": "^5.5.3",
|
"unocss": "^0.56.4",
|
||||||
"unocss": "^0.56.5",
|
|
||||||
"unplugin-vue-components": "^0.25.2",
|
"unplugin-vue-components": "^0.25.2",
|
||||||
"vite": "^4.5.3",
|
"vite": "^4.4.9",
|
||||||
"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": "^2.0.26"
|
"vue-tsc": "^1.8.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3211
pnpm-lock.yaml
3211
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,13 @@
|
|||||||
@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");
|
||||||
|
|
||||||
* {
|
* {
|
||||||
--at-apply: p-0 m-0 box-border;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "Hack", Inter, ui-monospace, SFMono-Regular, Menlo, Monaco,
|
font-family: "Hack", Inter, ui-monospace, SFMono-Regular,
|
||||||
Consolas, "Liberation Mono", "Courier New", monospace;
|
Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
--at-apply: flex items-center justify-center min-h-screen min-w-screen text-4
|
--uno: 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,5 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<a target="_blank" :href="to">
|
<a
|
||||||
|
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 />
|
||||||
@ -13,8 +17,4 @@ defineProps<{
|
|||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped></style>
|
||||||
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,34 +1,20 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const links = [
|
const links = [
|
||||||
{
|
|
||||||
name: "Blog",
|
|
||||||
icon: "i-mdi:text-box",
|
|
||||||
link: "https://blog.thehrz.net",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Github",
|
icon: "i-mdi-github",
|
||||||
icon: "i-simple-icons-github",
|
link: "https://github.com/thehrz"
|
||||||
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 text-shadow-sm">
|
<h1 class="my-8 text-2.5em leading-[1.1] md:text-3.5em c-coolgray-700 font-300">Hi! I'm thehrz.</h1>
|
||||||
Hi! I'm thehrz.
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
<div class="flex flex-row flex-gap-2">
|
<Button v-for="link in links" :to="link.link" :icon="link.icon">Github</Button>
|
||||||
<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