init
1
chunk-3W3Y6BTK.js
Normal file
1
chunk-DE53CV2Q.js
Normal file
1
chunk-TG6VAGNW.js
Normal file
@@ -0,0 +1 @@
|
||||
import{i,l as a,oa as s,pa as n,ua as h,va as u}from"./chunk-THKCX2S5.js";var o=class r{http=a(n);auth=a(u);base=h.apiUrl;headers(){return new s({Authorization:`Bearer ${this.auth.getToken()}`})}getProfile(){return this.http.get(`${this.base}/vtuber/profile`)}updateProfile(t){return this.http.put(`${this.base}/vtuber/profile`,t,{headers:this.headers()})}getGames(){return this.http.get(`${this.base}/vtuber/games`)}createGame(t){return this.http.post(`${this.base}/vtuber/games`,t,{headers:this.headers()})}updateGame(t,e){return this.http.put(`${this.base}/vtuber/games/${t}`,e,{headers:this.headers()})}deleteGame(t){return this.http.delete(`${this.base}/vtuber/games/${t}`,{headers:this.headers()})}getSocialLinks(){return this.http.get(`${this.base}/vtuber/social-links`)}createSocialLink(t){return this.http.post(`${this.base}/vtuber/social-links`,t,{headers:this.headers()})}updateSocialLink(t,e){return this.http.put(`${this.base}/vtuber/social-links/${t}`,e,{headers:this.headers()})}deleteSocialLink(t){return this.http.delete(`${this.base}/vtuber/social-links/${t}`,{headers:this.headers()})}getFanarts(){return this.http.get(`${this.base}/vtuber/fanarts`)}createFanart(t){return this.http.post(`${this.base}/vtuber/fanarts`,t,{headers:this.headers()})}updateFanart(t,e){return this.http.put(`${this.base}/vtuber/fanarts/${t}`,e,{headers:this.headers()})}deleteFanart(t){return this.http.delete(`${this.base}/vtuber/fanarts/${t}`,{headers:this.headers()})}exportBackup(){return this.http.get(`${this.base}/vtuber/backup/export`,{headers:this.headers(),responseType:"blob"})}restoreBackup(t){return this.http.post(`${this.base}/vtuber/backup/restore`,t,{headers:this.headers()})}getBrand(){return this.http.get(`${this.base}/vtuber/brand`)}updateBrand(t){return this.http.put(`${this.base}/vtuber/brand`,t,{headers:this.headers()})}static \u0275fac=function(e){return new(e||r)};static \u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})};export{o as a};
|
||||
5
chunk-THKCX2S5.js
Normal file
1
chunk-WJQFUTKA.js
Normal file
@@ -0,0 +1 @@
|
||||
import{a as A,b as E,c as L,d as N,e as V,f as z,h as k,i as F}from"./chunk-3W3Y6BTK.js";import{$ as o,B as M,H as p,I as f,N as w,O as e,P as n,U as x,W as y,Y as P,aa as v,da as b,ea as _,fa as h,l as c,m,n as s,r as u,sa as O,va as S,x as a}from"./chunk-THKCX2S5.js";function D(i,l){if(i&1&&(e(0,"p",11),o(1),n()),i&2){let d=P();a(),v(d.error())}}function W(i,l){i&1&&o(0," Connexion\u2026 ")}function q(i,l){i&1&&o(0," Se connecter ")}var T=class i{auth=c(S);router=c(O);email="";password="";error=u("");loading=u(!1);submit(){!this.email||!this.password||(this.loading.set(!0),this.error.set(""),this.auth.login(this.email,this.password).subscribe({next:()=>this.router.navigate(["/admin"]),error:()=>{this.error.set("Identifiants incorrects."),this.loading.set(!1)}}))}static \u0275fac=function(d){return new(d||i)};static \u0275cmp=M({type:i,selectors:[["app-admin-login"]],decls:23,vars:5,consts:[["loginForm","ngForm"],[1,"login-page"],[1,"login-card"],[1,"login-header"],[1,"login-logo"],[3,"ngSubmit"],[1,"field"],["for","email"],["id","email","type","email","name","email","placeholder","admin@lordrutra.fr","autocomplete","email","required","",3,"ngModelChange","ngModel"],["for","password"],["id","password","type","password","name","password","placeholder","\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022","autocomplete","current-password","required","",3,"ngModelChange","ngModel"],[1,"error"],["type","submit",3,"disabled"]],template:function(d,t){if(d&1){let g=x();e(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),o(4,"\u2694\uFE0F"),n(),e(5,"h1"),o(6,"LordRutra Admin"),n(),e(7,"p"),o(8,"Acc\xE8s backoffice"),n()(),e(9,"form",5,0),y("ngSubmit",function(){return m(g),s(t.submit())}),e(11,"div",6)(12,"label",7),o(13,"Email"),n(),e(14,"input",8),h("ngModelChange",function(r){return m(g),_(t.email,r)||(t.email=r),s(r)}),n()(),e(15,"div",6)(16,"label",9),o(17,"Mot de passe"),n(),e(18,"input",10),h("ngModelChange",function(r){return m(g),_(t.password,r)||(t.password=r),s(r)}),n()(),p(19,D,2,1,"p",11),e(20,"button",12),p(21,W,1,0)(22,q,1,0),n()()()()}d&2&&(a(14),b("ngModel",t.email),a(4),b("ngModel",t.password),a(),f(t.error()?19:-1),a(),w("disabled",t.loading()),a(),f(t.loading()?21:22))},dependencies:[F,z,A,E,L,k,V,N],styles:[".login-page[_ngcontent-%COMP%]{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f1f5f9}.login-card[_ngcontent-%COMP%]{background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000014;padding:2.5rem 2rem;width:100%;max-width:380px}.login-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:2rem}.login-logo[_ngcontent-%COMP%]{font-size:2.5rem;margin-bottom:.5rem}.login-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700;color:#1e293b;margin:0 0 .25rem}.login-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875rem;color:#64748b;margin:0}.field[_ngcontent-%COMP%]{margin-bottom:1.25rem}.field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;font-size:.8rem;font-weight:600;color:#475569;margin-bottom:.4rem;text-transform:uppercase;letter-spacing:.05em}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;padding:.65rem .875rem;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.95rem;color:#1e293b;outline:none;transition:border-color .2s;box-sizing:border-box}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.error[_ngcontent-%COMP%]{color:#ef4444;font-size:.85rem;margin:0 0 1rem}button[type=submit][_ngcontent-%COMP%]{width:100%;padding:.75rem;background:#6366f1;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background .2s;margin-top:.5rem}button[type=submit][_ngcontent-%COMP%]:hover:not(:disabled){background:#4f46e5}button[type=submit][_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}"]})};export{T as AdminLogin};
|
||||
BIN
favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
3
icons/discord.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M20.317 4.492c-1.53-.69-3.17-1.2-4.885-1.49a.075.075 0 00-.079.036c-.21.369-.444.85-.608 1.23a18.566 18.566 0 00-5.487 0 12.36 12.36 0 00-.617-1.23A.077.077 0 008.562 3c-1.714.29-3.354.8-4.885 1.491a.07.07 0 00-.032.027C.533 9.093-.32 13.555.099 17.961a.08.08 0 00.031.055 20.03 20.03 0 005.993 2.98.078.078 0 00.084-.026c.462-.62.874-1.275 1.226-1.963.021-.04.001-.088-.041-.104a13.201 13.201 0 01-1.872-.878.075.075 0 01-.008-.125c.126-.093.252-.19.372-.287a.075.075 0 01.078-.01c3.927 1.764 8.18 1.764 12.061 0a.075.075 0 01.079.009c.12.098.245.195.372.288a.075.075 0 01-.006.125c-.598.344-1.22.635-1.873.877a.075.075 0 00-.041.105c.36.687.772 1.341 1.225 1.962a.077.077 0 00.084.028 19.963 19.963 0 006.002-2.981.076.076 0 00.032-.054c.5-5.094-.838-9.52-3.549-13.442a.06.06 0 00-.031-.028zM8.02 15.278c-1.182 0-2.157-1.069-2.157-2.38 0-1.312.956-2.38 2.157-2.38 1.21 0 2.176 1.077 2.157 2.38 0 1.312-.956 2.38-2.157 2.38zm7.975 0c-1.183 0-2.157-1.069-2.157-2.38 0-1.312.955-2.38 2.157-2.38 1.21 0 2.176 1.077 2.157 2.38 0 1.312-.946 2.38-2.157 2.38z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
3
icons/instagram.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 970 B |
3
icons/plus.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 193 B |
3
icons/tiktok.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-2.88 2.5 2.89 2.89 0 01-2.89-2.89 2.89 2.89 0 012.89-2.89c.28 0 .54.04.79.1V9.01a6.35 6.35 0 00-.79-.05 6.34 6.34 0 00-6.34 6.34 6.34 6.34 0 006.34 6.34 6.34 6.34 0 006.33-6.34V8.77a8.28 8.28 0 004.84 1.56V6.88a4.85 4.85 0 01-1.07-.19z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 394 B |
3
icons/twitch.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 275 B |
3
icons/youtube.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<path id="icon" d="M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 434 B |
13
index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-beasties-container>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>VtuberSite</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<link rel="stylesheet" href="styles-5INURTSO.css"></head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<link rel="modulepreload" href="chunk-TG6VAGNW.js"><link rel="modulepreload" href="chunk-THKCX2S5.js"><script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-TLKF55AO.js" type="module"></script></body>
|
||||
</html>
|
||||