Skip to content

Commit

Permalink
Newer pages
Browse files Browse the repository at this point in the history
  • Loading branch information
inventionpro committed Sep 11, 2024
1 parent 821db46 commit 5e41308
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
12 changes: 5 additions & 7 deletions neWeb/page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<title>Fsh bot</title>
<!-- Boiler plate------ -->
<link rel="icon" href="https://fsh.plus/fsh.png" type="image/png">
<meta name="description" content="Fsh bot, a multiuse bot with many features.">
<meta name="description" content="Fsh bot, a bot for your members with a little bit of everything!">
<!-- ------- -->
<link rel="stylesheet" href="https://fsh.plus/NewStyle.css">
<link rel="stylesheet" href="https://fsh.plus/media/style.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -22,13 +22,11 @@
display: inline-block;
}
.elem {
margin-top: 10px;
color: var(--text-0);
margin: 10px auto 0px auto;
padding: 6px;
width: fit-content;
margin-left: auto;
margin-right: auto;
border-radius: 0.75rem;
background-color: #66d;
background-color: #66c;
}
.emid {
margin-left: auto;
Expand Down
55 changes: 28 additions & 27 deletions neWeb/page/invite.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,46 @@
<title>Invite - Fsh bot</title>
<!-- Boiler plate------ -->
<link rel="icon" href="https://fsh.plus/fsh.png" type="image/png">
<meta name="description" content="Invite Fsh bot, a bot for your members with a little bit of everything">
<meta name="description" content="Invite fsh bot, a bot for your members with a little bit of everything!">
<!-- ------- -->
<link rel="stylesheet" href="https://fsh.plus/NewStyle.css">
<link rel="stylesheet" href="https://fsh.plus/media/style.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:image" content="https://.plus/fsh.png"/>
<meta name="theme-color" content="#a89c9b">
<!-- ------------------ -->
<meta http-equiv="refresh" content="0; URL=https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
width: 100dvw;
height: 100vh;
height: 100dvh;
overflow: hidden;
}
div {
display: flex;
flex-direction: column;
align-items: center;
width: fit-content;
padding: 20px;
border-radius: 1rem;
background-color: var(--bg-2);
}
</style>
</head>
<body>
<h1>Fsh</h1>
<h1>Rederecting...</h1>
<p>If redirection takes more than 3 seconds click the button</p>
<a href="https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot"><button>Invite</button></a>
<div>
<h1>Redirecting...</h1>
<p>If you don't get redirected, press below</p>
<a href="https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot"><button>Invite</button></a>
</div>
<script>
location.href = "https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot";
</script>
<!--
<p>Click the button to invite fsh</p>
<a href="#" onclick="MyWindow = window.open('https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot','MyWindow','width=600,height=1000')"><button>Invite</button></a>
<script>
let MyWindow = {closed:false};
function checkFlag() {
if(MyWindow.closed === false) {
window.setTimeout(checkFlag, 100);
} else {
document.body.innerHTML = `<h1>Fsh</h1>
<p>Thanks for adding fsh!</p>
<p>You can close this window now</p>`;
}
}
checkFlag();
//location.href = "https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot";
//let MyWindow = window.open('https://discord.com/api/oauth2/authorize?client_id=1068572316986003466&permissions=8&scope=bot','MyWindow','width=600,height=300');
</script>-->
</body>
</html>
3 changes: 2 additions & 1 deletion neWeb/page/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ allow: /
disallow: /api
allow: /invite
disallow: /api/*
disallow: /auth
disallow: /auth
disallow: /hub

0 comments on commit 5e41308

Please sign in to comment.