Basically works :D
This commit is contained in:
parent
8568dbcc2d
commit
e574f3b4b5
8 changed files with 1462 additions and 0 deletions
30
resources/embedCard.html
Normal file
30
resources/embedCard.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" href="./embedStyle.css">
|
||||
|
||||
<title>{DISPLAY_NAME}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="card">
|
||||
<h1>{DISPLAY_NAME}</h1>
|
||||
<div style="display: flex; justify-content: center; align-items: center;">
|
||||
<img style="border-color: {STATUS_COLOR}" src="https://api.lanyard.rest/534132311781015564.png" class="pfp">
|
||||
<div>
|
||||
<p>
|
||||
Status: <span style="color: {STATUS_COLOR}">{STATUS}</span><br>
|
||||
Username: {USERNAME}<br>
|
||||
{CUSTOM_STATUS}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
18
resources/userPage.html
Normal file
18
resources/userPage.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
|
||||
<title>User - {DISPLAY_NAME}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{DISPLAY_NAME}</h1>
|
||||
<p style="color: gray">{USERNAME}</p>
|
||||
<iframe style="width: 90%; max-width: 750px; height: 300px; overflow: visible;" src="./embedCard?discordid={DISCORD_ID}"></iframe>
|
||||
<p>Code to embed:<br> <span style="font-family: Roboto;"><iframe style="width: 90%; max-width: 750px; height: 300px;" src="{BASE_LINK}embedCard?discordid={DISCORD_ID}"></iframe></p></span>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue