AAAA pschyho
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
name: Gitea Actions Demo
|
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
explore-gitea-actions:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: List directory contents
|
|
||||||
run: ls -la
|
|
||||||
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
@@ -2,9 +2,8 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>snusxd-site</title>
|
<title>snusxd</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
BIN
public/man.webp
Normal file
BIN
public/man.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 120 B |
BIN
public/man2.ogg
Normal file
BIN
public/man2.ogg
Normal file
Binary file not shown.
4
public/ut-heart.svg
Normal file
4
public/ut-heart.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||||
|
<path fill="#fe0000" d="M2 0h2v1h2v1h1v2h2v-2h1v-1h2v-1h2v1h1v1h1v8h-2v2h-2v2h-2v2h-4v-2h-2v-2h-2v-2h-2v-8h1v-1h1v-1z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 228 B |
@@ -1,5 +0,0 @@
|
|||||||
<main>
|
|
||||||
<h1>snusxd</h1>
|
|
||||||
<p><img src="/icons/telegram.svg" alt="telegram" height="15"> тг: <a href="https://t.me/snusxd">@snusxd</a></p>
|
|
||||||
<p><img src="/icons/gitea.svg" alt="gitea" height="15"> gitea: <a href="https://gitea.snusxd.site">gitea-xd</a></p>
|
|
||||||
</main>
|
|
||||||
28
src/app.css
28
src/app.css
@@ -12,7 +12,7 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
color: rgba(255, 255, 255, 0.87);
|
color: rgba(255, 255, 255, 0.87);
|
||||||
background-color: #000000;
|
background: #000000;
|
||||||
|
|
||||||
font-synthesis: none;
|
font-synthesis: none;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@@ -21,10 +21,34 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: large;
|
font-size: x-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
max-width: 1280px;
|
max-width: 1280px;
|
||||||
margin-left: 2rem;
|
margin-left: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.breathe-image {
|
||||||
|
width: 30px;
|
||||||
|
height: auto;
|
||||||
|
margin-top: 300rem;
|
||||||
|
|
||||||
|
animation-name: breathing;
|
||||||
|
animation-duration: 1s;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-timing-function: ease-in-out;
|
||||||
|
animation-direction: alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes breathing {
|
||||||
|
0% {
|
||||||
|
transform: scale(0.95);
|
||||||
|
background-size: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: scale(1.05);
|
||||||
|
background-size: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="26.6" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 308"><path fill="#FF3E00" d="M239.682 40.707C211.113-.182 154.69-12.301 113.895 13.69L42.247 59.356a82.198 82.198 0 0 0-37.135 55.056a86.566 86.566 0 0 0 8.536 55.576a82.425 82.425 0 0 0-12.296 30.719a87.596 87.596 0 0 0 14.964 66.244c28.574 40.893 84.997 53.007 125.787 27.016l71.648-45.664a82.182 82.182 0 0 0 37.135-55.057a86.601 86.601 0 0 0-8.53-55.577a82.409 82.409 0 0 0 12.29-30.718a87.573 87.573 0 0 0-14.963-66.244"></path><path fill="#FFF" d="M106.889 270.841c-23.102 6.007-47.497-3.036-61.103-22.648a52.685 52.685 0 0 1-9.003-39.85a49.978 49.978 0 0 1 1.713-6.693l1.35-4.115l3.671 2.697a92.447 92.447 0 0 0 28.036 14.007l2.663.808l-.245 2.659a16.067 16.067 0 0 0 2.89 10.656a17.143 17.143 0 0 0 18.397 6.828a15.786 15.786 0 0 0 4.403-1.935l71.67-45.672a14.922 14.922 0 0 0 6.734-9.977a15.923 15.923 0 0 0-2.713-12.011a17.156 17.156 0 0 0-18.404-6.832a15.78 15.78 0 0 0-4.396 1.933l-27.35 17.434a52.298 52.298 0 0 1-14.553 6.391c-23.101 6.007-47.497-3.036-61.101-22.649a52.681 52.681 0 0 1-9.004-39.849a49.428 49.428 0 0 1 22.34-33.114l71.664-45.677a52.218 52.218 0 0 1 14.563-6.398c23.101-6.007 47.497 3.036 61.101 22.648a52.685 52.685 0 0 1 9.004 39.85a50.559 50.559 0 0 1-1.713 6.692l-1.35 4.116l-3.67-2.693a92.373 92.373 0 0 0-28.037-14.013l-2.664-.809l.246-2.658a16.099 16.099 0 0 0-2.89-10.656a17.143 17.143 0 0 0-18.398-6.828a15.786 15.786 0 0 0-4.402 1.935l-71.67 45.674a14.898 14.898 0 0 0-6.73 9.975a15.9 15.9 0 0 0 2.709 12.012a17.156 17.156 0 0 0 18.404 6.832a15.841 15.841 0 0 0 4.402-1.935l27.345-17.427a52.147 52.147 0 0 1 14.552-6.397c23.101-6.006 47.497 3.037 61.102 22.65a52.681 52.681 0 0 1 9.003 39.848a49.453 49.453 0 0 1-22.34 33.12l-71.664 45.673a52.218 52.218 0 0 1-14.563 6.398"></path></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -1,10 +0,0 @@
|
|||||||
<script lang="ts">
|
|
||||||
let count: number = $state(0)
|
|
||||||
const increment = () => {
|
|
||||||
count += 1
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<button onclick={increment}>
|
|
||||||
count is {count}
|
|
||||||
</button>
|
|
||||||
21
src/main.ts
21
src/main.ts
@@ -1,9 +1,18 @@
|
|||||||
import { mount } from 'svelte'
|
import { mount } from "svelte";
|
||||||
import './app.css'
|
import "./app.css";
|
||||||
import App from './App.svelte'
|
import HomePage from "./routes/+page.svelte";
|
||||||
|
import HeartPage from "./routes/heart/+page.svelte";
|
||||||
|
|
||||||
|
const routes: Record<string, typeof HomePage> = {
|
||||||
|
"/": HomePage,
|
||||||
|
"/heart": HeartPage,
|
||||||
|
};
|
||||||
|
|
||||||
|
const normalizedPath = window.location.pathname.replace(/\/+$/, "") || "/";
|
||||||
|
const App = routes[normalizedPath] ?? HomePage;
|
||||||
|
|
||||||
const app = mount(App, {
|
const app = mount(App, {
|
||||||
target: document.getElementById('app')!,
|
target: document.getElementById("app")!,
|
||||||
})
|
});
|
||||||
|
|
||||||
export default app
|
export default app;
|
||||||
|
|||||||
4
src/routes/+page.svelte
Normal file
4
src/routes/+page.svelte
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<p>snusxd</p>
|
||||||
|
<p><img src="/icons/telegram.svg" alt="telegram" width="15"> тг: <a href="https://t.me/snusxd">snusxd</a></p>
|
||||||
|
<p><img src="/icons/gitea.svg" alt="gitea" height="15"> gitea: <a href="https://gitea.snusxd.site">gitea-xd</a></p>
|
||||||
|
<a href="/heart"><img src="/ut-heart.svg" alt="heart" class="breathe-image"></a>
|
||||||
15
src/routes/heart/+page.svelte
Normal file
15
src/routes/heart/+page.svelte
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<style>
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
margin: 40px auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 300rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<img src="/man.webp" alt="man">
|
||||||
|
<p>man</p>
|
||||||
|
<audio id="man" src="/man2.ogg" loop controls autoplay muted></audio>
|
||||||
|
|
||||||
@@ -5,7 +5,10 @@
|
|||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"types": ["svelte", "vite/client"],
|
"types": [
|
||||||
|
"svelte",
|
||||||
|
"vite/client"
|
||||||
|
],
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
/**
|
/**
|
||||||
* Typecheck JS in `.svelte` and `.js` files by default.
|
* Typecheck JS in `.svelte` and `.js` files by default.
|
||||||
@@ -17,5 +20,9 @@
|
|||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"moduleDetection": "force"
|
"moduleDetection": "force"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"]
|
"include": [
|
||||||
|
"src/**/*.ts",
|
||||||
|
"src/**/*.js",
|
||||||
|
"src/**/*.svelte"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user