mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
update sponsor info
This commit is contained in:
parent
a65cc63ec8
commit
305ed1c65f
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ coverage/
|
|||||||
*.rdb
|
*.rdb
|
||||||
*.sublime-*
|
*.sublime-*
|
||||||
config.js
|
config.js
|
||||||
|
lib/public/images/sponsor.png
|
||||||
|
|||||||
@ -30,7 +30,11 @@ var config = {
|
|||||||
http_timeout: 2000, // ms until connection to Mojang is dropped
|
http_timeout: 2000, // ms until connection to Mojang is dropped
|
||||||
debug_enabled: false, // enables logging.debug & editing index page
|
debug_enabled: false, // enables logging.debug & editing index page
|
||||||
log_time: true // set to false if you use an external logger that provides timestamps
|
log_time: true // set to false if you use an external logger that provides timestamps
|
||||||
}
|
},
|
||||||
|
sponsor: {
|
||||||
|
sidebar: '<hr><div class="list-group"><a class="list-group-item sponsor-item" href="https://akliz.net/crafatar" target="_blank" title="Applies to all modpacks and plans for the first billing cycle only.">Save 20% on a Minecraft server with Akliz.</a></div>',
|
||||||
|
top_right: '<a href="https://akliz.net/crafatar" target="_blank" title="Crafatar is sponsored by Akliz" class="sponsor"><img src="/images/sponsor.png" alt="Akliz"></a>'
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
@ -43,6 +43,17 @@ a.sponsor {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.sponsor-item {
|
||||||
|
color: #aa7100 !important;
|
||||||
|
font-weight: initial;
|
||||||
|
background: #fff3de;
|
||||||
|
border-color: #fcd794;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sponsor-item:hover {
|
||||||
|
background: #fff8ec !important;
|
||||||
|
}
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,8 +25,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body lang="en-US">
|
<body lang="en-US">
|
||||||
<a href="https://github.com/crafatar/crafatar" target="_blank" class="forkme">Fork me on GitHub</a>
|
<a href="https://github.com/crafatar/crafatar" target="_blank" class="forkme">Fork me on GitHub</a>
|
||||||
<a href="https://akliz.net/crafatar" target="_blank" title="Crafatar is sponsored by Akliz" class="sponsor">
|
<% if (config.sponsor.top_right) { %>
|
||||||
<img src="/images/akliz.png" alt="Akliz"></a>
|
<%- config.sponsor.top_right %>
|
||||||
|
<% } %>
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Crafatar</h1>
|
<h1>Crafatar</h1>
|
||||||
@ -291,6 +292,9 @@
|
|||||||
<a rel="nofollow" href="https://github.com/sk89q/Plumeria" target="_blank" class="list-group-item">Plumeria <i>(Discord)</i></a>
|
<a rel="nofollow" href="https://github.com/sk89q/Plumeria" target="_blank" class="list-group-item">Plumeria <i>(Discord)</i></a>
|
||||||
<a href="https://github.com/crafatar/crafatar/wiki/Who-uses-crafatar%3F#other-services-using-crafatar" target="_blank" class="list-group-item">and many more…</a>
|
<a href="https://github.com/crafatar/crafatar/wiki/Who-uses-crafatar%3F#other-services-using-crafatar" target="_blank" class="list-group-item">and many more…</a>
|
||||||
</div>
|
</div>
|
||||||
|
<% if (config.sponsor.sidebar) { %>
|
||||||
|
<%- config.sponsor.sidebar %>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user