add login page of oaer

v3
veypi 1 year ago
parent 819d9844ba
commit 08682563a7

@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OAer Dev</title>
<link rel="icon" type="image/ico" href="favicon.svg">
</head>
<body>

@ -0,0 +1,28 @@
/*
* @name: app
* @author: veypi <i@veypi.com>
* @date: 2021-11-17 14:44
* @descriptionap
* @update: 2021-11-17 14:44
*/
import ajax from './axios'
import cfg from '../cfg'
export default {
local: () => cfg.BaseUrl() + '/app/',
getKey(uuid: string) {
return ajax.get(this.local() + uuid, { option: 'key' })
},
get(uuid: string) {
return ajax.get(this.local() + uuid)
},
list() {
return ajax.get(this.local())
},
users(uuid: string, user_id: string, data?: any) {
if (uuid === '') {
uuid = '-'
}
return ajax.get(this.local() + uuid + '/user/' + user_id, data)
},
}

@ -0,0 +1,113 @@
/*
* axios.ts
* Copyright (C) 2023 veypi <i@veypi.com>
* 2023-09-22 20:22
* Distributed under terms of the MIT license.
*/
import axios, { AxiosError, AxiosResponse } from 'axios';
import cfg from '../cfg';
// Be careful when using SSR for cross-request state pollution
// due to creating a Singleton instance here;
// If any client changes this (global) instance, it might be a
// good idea to move this instance creation inside of the
// "export default () => {}" function below (which runs individually
// for each client)
axios.defaults.withCredentials = true
const proxy = axios.create({
withCredentials: true,
headers: {
'content-type': 'application/json;charset=UTF-8',
},
});
// 请求拦截
const beforeRequest = (config: any) => {
// 设置 token
const token = cfg.token
config.retryTimes = 3
// NOTE 添加自定义头部
token && (config.headers.Authorization = `Bearer ${token}`)
// config.headers['auth_token'] = ''
return config
}
proxy.interceptors.request.use(beforeRequest)
// 响应拦截器
const responseSuccess = (response: AxiosResponse) => {
// eslint-disable-next-line yoda
// 这里没有必要进行判断axios 内部已经判断
// const isOk = 200 <= response.status && response.status < 300
let data = response.data
if (response.config.method === 'head') {
data = JSON.parse(JSON.stringify(response.headers))
}
return Promise.resolve(data)
}
const responseFailed = (error: AxiosError) => {
const { response, config } = error
if (!window.navigator.onLine) {
alert('没有网络')
return Promise.reject(new Error('请检查网络连接'))
}
// @ts-ignore
if (!config || !config.retryTimes) {
return Promise.reject(response?.data || response?.headers.error)
};
// @ts-ignore
const { __retryCount = 0, retryDelay = 300, retryTimes } = config;
// 在请求对象上设置重试次数
// @ts-ignore
config.__retryCount = __retryCount;
// 判断是否超过了重试次数
if (__retryCount >= retryTimes) {
return Promise.reject(response?.data || response?.headers.error)
}
// 增加重试次数
// @ts-ignore
config.__retryCount++;
// 延时处理
const delay = new Promise<void>((resolve) => {
setTimeout(() => {
resolve();
}, retryDelay);
});
// 重新发起请求
return delay.then(function() {
return axios(config);
});
}
proxy.interceptors.response.use(responseSuccess, responseFailed)
const ajax = {
get(url: string, data = {}, header?: any) {
return proxy.get<any, any>(url, { params: data, headers: header })
},
head(url: string, data = {}, header?: any) {
return proxy.head<any, any>(url, { params: data, headers: header })
},
delete(url: string, data = {}, header?: any) {
return proxy.delete<any, any>(url, { params: data, headers: header })
},
post(url: string, data = {}, header?: any) {
return proxy.post<any, any>(url, data, { headers: header })
},
put(url: string, data = {}, header?: any) {
return proxy.put<any, any>(url, data, { headers: header })
},
patch(url: string, data = {}, header?: any) {
return proxy.patch<any, any>(url, data, { headers: header })
},
}
export default ajax

@ -0,0 +1,35 @@
/*
* Copyright (C) 2019 light <veypi@light-laptop>
*
* Distributed under terms of the MIT license.
*/
import user from './user'
import app from './app'
import cfg from '../cfg'
import ajax from './axios'
import nats from './nats'
import tsdb from './tsdb'
const api = {
nats: nats,
tsdb: tsdb,
user: user,
app: app,
info: () => {
return ajax.get(cfg.BaseUrl() + '/info')
},
refresh_token: () => {
ajax.post(cfg.BaseUrl() + '/app/' + cfg.uuid + '/token/', { app_id: cfg.uuid, token: cfg.refresh }).then(e => {
cfg.token = e
// bus.emit('sync', e)
}).catch(e => {
console.warn(e)
// bus.emit('logout', 'get token failed ' + e)
})
}
}
export { api }
export default api

@ -0,0 +1,20 @@
/*
* nats.ts
* Copyright (C) 2023 veypi <i@veypi.com>
* 2023-10-19 21:36
* Distributed under terms of the MIT license.
*/
import cfg from '../cfg'
import ajax from './axios'
export default {
local: () => cfg.BaseUrl() + '/nats/',
general() {
return ajax.get(this.local() + 'varz')
},
conns() {
return ajax.get(this.local() + 'connz', { subs: true })
},
}

@ -0,0 +1,26 @@
/*
* tsdb.ts
* Copyright (C) 2023 veypi <i@veypi.com>
* 2023-10-20 23:21
* Distributed under terms of the MIT license.
*/
import cfg from '../cfg'
import ajax from './axios'
export default {
local: () => cfg.BaseUrl() + '/ts/',
range(query: string, props?: { start?: string, end?: string, step?: string, query?: string }) {
if (query !== undefined) {
// @ts-ignore
props.query = query
} else {
props = { query: query }
}
return ajax.get(this.local() + 'query_range', props)
},
query(query: string) {
return ajax.get(this.local() + 'query', { query: query })
}
}

@ -0,0 +1,24 @@
/*
* user.ts
* Copyright (C) 2023 veypi <i@veypi.com>
* 2023-10-05 15:37
* Distributed under terms of the MIT license.
*/
import ajax from './axios'
import cfg from '../cfg'
export default {
local: () => cfg.BaseUrl() + '/user/',
search(q: string) {
return ajax.get(this.local(), { username: q })
},
get(id: number) {
return ajax.get(this.local() + id)
},
}

@ -0,0 +1,39 @@
/*
* animate.css
* Copyright (C) 2024 veypi
*
* Distributed under terms of the MIT license.
*/
@keyframes scale-up {
0% {
transform: scale(0);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes scale-off {
0% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0);
opacity: 0;
}
}
@keyframes slide-in {
0% {
transform: translateX(200%) scale(0);
opacity: 0;
}
100% {
transform: translateX(0) scale(1);
opacity: 1;
}
}

@ -0,0 +1,242 @@
/*
* oaer.css
* Copyright (C) 2024 veypi
*
* Distributed under terms of the MIT license.
*/
@import "./animate.scss";
.voa {
user-select: none;
cursor: pointer;
height: 4rem;
width: 4rem;
display: flex;
justify-content: center;
align-items: center;
.voa-off {
}
.voa-on {
border-radius: 100%;
background: #999;
animation: scale-up 100ms ease-out forwards;
}
:hover {
opacity: 0.9;
}
}
.voa-scale-off {
transform-origin: center center;
animation: scale-off 200ms ease-out forwards !important;
}
.voa-scale-up {
animation: scale-up 200ms ease-in;
}
.hover-line-b {
cursor: pointer;
position: relative;
&:hover {
opacity: 0.7;
}
&:after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 0.1em;
background-color: #000;
transition: all 0.3s;
}
&:hover::after {
left: 0px;
width: 100%;
}
}
.voa-modal {
user-select: none;
position: fixed;
top: 50%;
left: 50%;
translate: -50% -50%;
padding: 2rem;
z-index: 10000;
width: 40%;
min-width: 20rem;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 2rem;
background-color: rgba(240, 240, 240, 0.5);
backdrop-filter: blur(20px); /* 模糊效果 */
z-index: -1;
}
.header {
line-height: 2rem;
width: 100%;
display: flex;
justify-content: start;
align-items: center;
gap: 0.5rem;
.voa-logo {
height: 4rem;
width: 4rem;
}
.txt {
font-size: 1.5rem;
}
}
.username,
.password {
margin: 2rem 0;
position: relative;
width: 100%;
input {
height: 2.5rem;
line-height: 2.5rem;
font-size: 1.5rem;
width: 100%;
margin: 0 1rem;
border: none;
outline: none;
background: none;
}
&:after {
content: "";
position: absolute;
bottom: 0;
left: 1rem;
width: calc(100% - 2rem);
height: 0.1em;
background-color: #000;
transition: all 0.3s;
}
&:hover::after {
left: 0%;
width: 100%;
background-color: #00ffff;
}
}
.ok {
cursor: pointer;
line-height: 3rem;
font-size: 1.5rem;
height: 3rem;
margin: 2rem auto;
width: 40%;
background: #0a0;
border-radius: 1.5rem;
}
.last {
display: flex;
justify-content: space-between;
padding: 0 1rem;
height: 3rem;
.icos {
display: flex;
align-items: center;
gap: 1rem;
div {
opacity: 0.5;
cursor: pointer;
height: 2rem;
width: 2rem;
background-size: cover;
background-position: center;
&:hover {
opacity: 1;
}
}
.github {
background-image: url("../img/github.svg");
}
.google {
background-image: url("../img/google.svg");
}
.wechat {
background-image: url("../img/wechat.svg");
}
}
.txt {
height: 1.5rem;
line-height: 1.5rem;
font-size: 1rem;
div {
cursor: pointer;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
}
}
.close {
height: 2rem;
width: 2rem;
position: absolute;
opacity: 0.5;
top: 1rem;
right: 1rem;
cursor: pointer;
&:active {
opacity: 0.8;
}
}
}
#voa-mask {
position: fixed;
display: none;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 999;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.01); /* 半透明白色遮罩 */
backdrop-filter: blur(1px); /* 模糊效果 */
}
}
.voa-logo {
background-image: url("../favicon.svg");
background-size: cover;
background-position: center;
}
.voa-btn {
position: relative;
text-align: center;
display: block;
border: none;
&::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
transition: 0.3s;
}
&:active::after {
box-shadow: 0 1px 0px 0px rgba(0, 0, 0, 0.5);
/* opacity: 0; */
}
&:active {
opacity: 0.8;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

@ -0,0 +1,6 @@
<svg t="1721966078152" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="2830" width="200" height="200">
<path
d="M768 256h-85.333333v384c0 42.666667-7.68 69.973333-42.666667 83.2L405.333333 810.666667V256c0-29.866667 10.24-81.066667 64-75.093333L768 213.333333V161.706667L384 90.026667C368.64 87.04 356.693333 85.333333 341.333333 85.333333c-54.613333 0-85.333333 33.28-85.333333 85.333334v698.453333c0 67.413333 58.453333 80.64 85.333333 69.546667l384-157.013334c42.666667-17.493333 42.666667-56.32 42.666667-98.986666V256z"
fill="#00ffff" p-id="2831"></path>
</svg>

After

Width:  |  Height:  |  Size: 623 B

@ -0,0 +1,6 @@
<svg t="1722237445743" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="2681" width="200" height="200">
<path
d="M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9 23.5 23.2 38.1 55.4 38.1 91v112.5c0.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"
p-id="2682"></path>
</svg>

After

Width:  |  Height:  |  Size: 852 B

@ -0,0 +1,6 @@
<svg t="1722237398153" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="2534" width="200" height="200">
<path
d="M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z"
p-id="2535"></path>
</svg>

After

Width:  |  Height:  |  Size: 652 B

@ -0,0 +1,9 @@
<svg t="1722237471862" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="2828" width="200" height="200">
<path
d="M690.1 377.4c5.9 0 11.8 0.2 17.6 0.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6 5.5 3.9 9.1 10.3 9.1 17.6 0 2.4-0.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-0.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-0.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4 0.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-0.1 17.8-0.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8z m-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1z m-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1z"
p-id="2829"></path>
<path
d="M866.7 792.7c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-0.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7 2.4 0 4.7-0.9 6.4-2.6 1.7-1.7 2.6-4 2.6-6.4 0-2.2-0.9-4.4-1.4-6.6-0.3-1.2-7.6-28.3-12.2-45.3-0.5-1.9-0.9-3.8-0.9-5.7 0.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9z m179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c-0.1 19.8-16.2 35.9-36 35.9z"
p-id="2830"></path>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -6,14 +6,13 @@
*/
let cfg = {
self: '',
uuid: '',
app_data: {},
refresh: '',
token: '',
app_data: {},
ready: false,
token: '',
oa_token: '',
local_user: {},
host: '',

@ -1,28 +0,0 @@
/*
* animate.css
* Copyright (C) 2024 veypi
*
* Distributed under terms of the MIT license.
*/
@keyframes scale-up {
0% {
transform: scale(0);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes scale-off {
0% {
transform: scale(1);
opacity: 1;
}
100% {
transform: scale(0);
opacity: 0;
}
}

@ -1,32 +0,0 @@
/*
* oaer.css
* Copyright (C) 2024 veypi
*
* Distributed under terms of the MIT license.
*/
@import './animate.scss';
.voa {
user-select: none;
cursor: pointer;
height: 4rem;
width: 4rem;
display: flex;
justify-content: center;
align-items: center;
.voa-off{
}
.voa-on {
border-radius: 100%;
background: #999;
animation: scale-up 100ms ease-out forwards;
}
:hover{
opacity: 0.9;
}
}
.voa-animate-off-scale-off {
animation: scale-off 100ms ease-out forwards;
}

@ -5,22 +5,28 @@
* Distributed under terms of the MIT license.
*/
import './css/oaer.scss'
import './assets/css/oaer.scss'
export class OAer {
domid: string
id: string
dom: {
mask: HTMLDivElement
frame: HTMLDivElement
b0?: HTMLDivElement
b1?: HTMLDivElement
login_box?: HTMLDivElement
}
constructor(id: string, domid?: string) {
this.id = id
this.domid = domid || 'oaer'
this.dom = {
frame: document.querySelector(`#${this.domid}`)!
frame: document.querySelector(`#${this.domid}`)!,
mask: document.createElement('div'),
}
this.dom.mask.id = 'voa-mask'
document.body.appendChild(this.dom.mask)
this.dom.frame.classList.add('voa')
this.build_b0()
this.dom.frame.appendChild(this.dom.b0!)
@ -28,18 +34,66 @@ export class OAer {
}
build_b0() {
this.dom.b0 = document.createElement('div')
this.dom.b0.classList.add('voa-off')
this.dom.b0.classList.add('hover-line-b')
this.dom.b0.onclick = () => {
this.dom.b1?.classList.add('voa-animate-scale-off')
this.build_b1()
this.dom.frame.replaceChild(this.dom.b1!, this.dom.b0!)
console.log('click b0')
this.build_login()
// this.dom.b1?.classList.add('voa-animate-scale-off')
// this.build_b1()
// this.dom.frame.replaceChild(this.dom.b1!, this.dom.b0!)
}
this.dom.b0.innerHTML = `
<span>
</span>
`
}
build_login() {
if (this.dom.login_box) {
return
}
this.dom.login_box = document.createElement('div')
this.dom.login_box.classList.add('voa-modal', 'voa-scale-up')
this.dom.login_box.innerHTML = `
<div class="voa-login-box">
<svg class="close" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 6L6 18M6 6L18 18" stroke="black" stroke-width="2"/>
</svg>
<div class="header">
<div class="voa-logo"></div>
<div class="txt">OneAuth</div>
</div>
<div class="username">
<input autocomplete="username" placeholder="username, phone or Email">
</div>
<div class="password">
<input autocomplete="password" type='password' placeholder="password">
</div>
<button class='ok voa-btn'>
login
</button>
<div class="last">
<div class="icos">
<div class="github"></div>
<div class="wechat"></div>
<div class="google"></div>
</div>
<div class="txt">
<div>Create Account</div>
<div>Forgot Password?</div>
</div>
</div>
</div>
`
document.body.appendChild(this.dom.login_box)
document.querySelector('.voa-login-box .close')?.addEventListener('click', () => {
this.dom.login_box?.classList.add('voa-scale-off')
setTimeout(() => {
this.dom.login_box?.remove()
this.dom.login_box = undefined
}, 300)
})
let uin = document.querySelector('.voa-login-box .username input') as HTMLInputElement
console.log(uin)
}
build_b1() {
this.dom.b1 = document.createElement('div')
this.dom.b1.classList.add('voa-on')

@ -28,5 +28,8 @@
"type": "git",
"url": "https://github.com/veypi/oneauth/oaer"
},
"license": "Apache-2.0"
"license": "Apache-2.0",
"dependencies": {
"axios": "^1.7.2"
}
}

@ -0,0 +1,6 @@
<svg t="1721966078152" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="2830" width="200" height="200">
<path
d="M768 256h-85.333333v384c0 42.666667-7.68 69.973333-42.666667 83.2L405.333333 810.666667V256c0-29.866667 10.24-81.066667 64-75.093333L768 213.333333V161.706667L384 90.026667C368.64 87.04 356.693333 85.333333 341.333333 85.333333c-54.613333 0-85.333333 33.28-85.333333 85.333334v698.453333c0 67.413333 58.453333 80.64 85.333333 69.546667l384-157.013334c42.666667-17.493333 42.666667-56.32 42.666667-98.986666V256z"
fill="#00ffff" p-id="2831"></path>
</svg>

After

Width:  |  Height:  |  Size: 623 B

@ -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="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

@ -1,4 +1,5 @@
:root {
font-size: 16px;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
@ -18,6 +19,10 @@ body {
padding: 0;
height: 100vh;
width: 100vw;
background: url("https://picsum.photos/960/540");
background-size: cover;
background-position: center;
/* backdrop-filter: blur(5px); */
}
#app {
@ -25,7 +30,5 @@ body {
padding-right: 20px;
}
#oaer {
float:right;
float: right;
}

@ -210,6 +210,20 @@ anymatch@~3.1.2:
normalize-path "^3.0.0"
picomatch "^2.0.4"
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
axios@^1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==
dependencies:
follow-redirects "^1.15.6"
form-data "^4.0.0"
proxy-from-env "^1.1.0"
binary-extensions@^2.0.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522"
@ -237,6 +251,18 @@ braces@~3.0.2:
optionalDependencies:
fsevents "~2.3.2"
combined-stream@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
dependencies:
delayed-stream "~1.0.0"
delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
esbuild@^0.21.3:
version "0.21.5"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d"
@ -273,6 +299,20 @@ fill-range@^7.1.1:
dependencies:
to-regex-range "^5.0.1"
follow-redirects@^1.15.6:
version "1.15.6"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==
form-data@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.8"
mime-types "^2.1.12"
fsevents@~2.3.2, fsevents@~2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
@ -314,6 +354,18 @@ is-number@^7.0.0:
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
mime-db@1.52.0:
version "1.52.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
mime-types@^2.1.12:
version "2.1.35"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
dependencies:
mime-db "1.52.0"
nanoid@^3.3.7:
version "3.3.7"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
@ -343,6 +395,11 @@ postcss@^8.4.39:
picocolors "^1.0.1"
source-map-js "^1.2.0"
proxy-from-env@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"

Loading…
Cancel
Save