Skip to content

Commit

Permalink
Use relative paths to assets
Browse files Browse the repository at this point in the history
i LOVE github pages <3

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
  • Loading branch information
mctaylors committed Jul 2, 2024
1 parent f1a3e6b commit eeedd24
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions assets/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: 'BlitzBold';
font-weight: normal;
src: url(/assets/woff2/BlitzBold.woff2);
src: url(../woff2/BlitzBold.woff2);
}

@font-face {
font-family: 'BlitzMain';
font-weight: normal;
src: url(/assets/woff2/BlitzMain.woff2);
src: url(../woff2/BlitzMain.woff2);
}
4 changes: 2 additions & 2 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
@@ -77,10 +77,10 @@ a.alternative {
}

.content > .card {
mask-image: url("/assets/svg/card-header.svg");
mask-image: url("../svg/card-header.svg");
mask-size: 2000px auto;
mask-position: top;
background-image: url("/assets/png/tapes-transparent.png");
background-image: url("../png/tapes-transparent.png");
background-size: contain;
width: 480px;
min-height: 520px;
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -3,34 +3,34 @@
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="initial-scale=0.75 user-scalable=no"/>
<link rel="stylesheet" href="/assets/css/styles.css"/>
<link rel="icon" href="/assets/ico/octobot.ico"/>
<link rel="stylesheet" href="assets/css/styles.css"/>
<link rel="icon" href="assets/ico/octobot.ico"/>
<title>Octobot for Discord</title>
</head>
<body>
<div class="header">
<div class="left">
<img src="/assets/png/octobot-web-logo.png" alt="Octobot Web logo" draggable="false"/>
<img src="assets/png/octobot-web-logo.png" alt="Octobot Web logo" draggable="false"/>
</div>
<div class="right">
<div class="social">
<a href="https://github.com/TeamOctolings/Octobot">
<img src="/assets/svg/github-mark-white.svg" alt="GitHub logo" draggable="false"/>
<img src="assets/svg/github-mark-white.svg" alt="GitHub logo" draggable="false"/>
</a>
</div>
</div>
</div>
<div class="content">
<div class="first card">
<div class="title">
<img src="/assets/ico/octobot.ico" alt="Octobot icon" draggable="false"/>
<img src="assets/ico/octobot.ico" alt="Octobot icon" draggable="false"/>
<span class="highlight">Veemo!</span>
</div>
<div class="frame">
<span>I'm a general-purpose bot for moderation written by Team Octolings in C# and Remora.Discord!</span>
</div>
<div class="title">
<img src="/assets/png/mem-cake-sardinium.png" alt="Mem Cake (Sardinium)" draggable="false"/>
<img src="assets/png/mem-cake-sardinium.png" alt="Mem Cake (Sardinium)" draggable="false"/>
<span class="highlight">Features</span>
</div>
<div class="frame">
@@ -47,14 +47,14 @@
<a class="alternative"
href="https://discord.com/oauth2/authorize?client_id=855023234407333888&permissions=1383382133894&scope=applications.commands%20bot">
<button class="invite">
<img src="/assets/svg/add-circle-white.svg" alt="Add icon"/>
<img src="assets/svg/add-circle-white.svg" alt="Add icon"/>
<span>Add App</span>
</button>
</a>
</div>
<div class="second card">
<div class="title">
<img src="/assets/png/mem-cake-octoling.png" alt="Mem Cake (Rival Octoling)" draggable="false"/>
<img src="assets/png/mem-cake-octoling.png" alt="Mem Cake (Rival Octoling)" draggable="false"/>
<span class="highlight">Bug Report / Feature Request</span>
</div>
<div class="frame">
@@ -70,7 +70,7 @@
</ul>
</div>
<div class="title">
<img src="/assets/png/mem-cake-mole.png" alt="Mem Cake (Mole)" draggable="false"/>
<img src="assets/png/mem-cake-mole.png" alt="Mem Cake (Mole)" draggable="false"/>
<span class="highlight">Building Octobot</span>
</div>
<div class="frame">
@@ -83,7 +83,7 @@
</div>
</div>
<div class="footer">
<span>Not an official <img class="splatoon" src="/assets/svg/splatoon.svg" alt="Splatoon™"/> product. We are in no way affiliated with or endorsed by Nintendo Company, or other rightsholders.</span>
<span>Not an official <img class="splatoon" src="assets/svg/splatoon.svg" alt="Splatoon™"/> product. We are in no way affiliated with or endorsed by Nintendo Company, or other rightsholders.</span>
<a href="https://github.com/TeamOctolings/Octobot/commit/master"><img
src="https://img.shields.io/github/last-commit/TeamOctolings/Octobot?logo=github" alt="Last commit"/></a>
</div>

0 comments on commit eeedd24

Please sign in to comment.