Skip to content

Commit 239d4d0

Browse files
committed
Init
0 parents  commit 239d4d0

25 files changed

Lines changed: 3700 additions & 0 deletions

.eleventyignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_site
2+
node_modules

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# influxtimer.com as a static site
2+
3+
No need for a PHP & database backend anymore. :)
4+
5+
6+
```bash
7+
npm install
8+
9+
# Build final output to _site
10+
npm run build
11+
12+
# Development
13+
npm run serve
14+
```

_data/downloads.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"build_num": "2",
4+
"commit_message": "Github Actions",
5+
"commit_hash": "d3e055ecf4d25cbb08ffd531215a7be49e641a6a",
6+
"downloads": {
7+
"bhop": "https://influxtimer.com/dl/influx_2_bhop.zip",
8+
"bhoplite": "https://influxtimer.com/dl/influx_2_bhoplite.zip",
9+
"surf": "https://influxtimer.com/dl/influx_2_surf.zip",
10+
"deathrun": "https://influxtimer.com/dl/influx_2_deathrun.zip",
11+
"full": "https://influxtimer.com/dl/influx_2_full.zip"
12+
}
13+
}
14+
]

_includes/head.njk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<meta charset="utf-8">
2+
<title>{{ title }}</title>
3+
<link rel="shortcut icon" type="image/png" href="/img/icon.png"/>
4+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
5+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
6+
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
7+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
8+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
9+
<link rel="stylesheet" type="text/css" href="/styles/main.css">
10+
<script src="/js/modal.js"></script>
11+
<script src="/js/randbg.js"></script>
12+
<meta name="description" content="Influx Timer, a SourceMod timer plugin for CSS and CS:GO game servers."/>
13+
<meta name="keywords" content="influx, timer, plugin, sourcemod, counter-strike, source, global offensive, cs, sm, css, bhop, surf, server, gameserver, game, cs:go, csgo, addon, addons, package, scripting, plugins, script, sourcepawn, pawn, sp, download, dl"/>
14+
<meta name="author" content="Miikka Ylätalo"/>

_includes/top.njk

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<div class="text-center bg-danger text-white font-weight-light p-1">Influx is no longer supported. Thanks for all the support throughout the years. A lot was learned as well. :) - Mehis</div>
2+
<div id="header-imgs">
3+
<a href="/"><img id="header-logo" class="header-logo" src="/img/influx_logo.png" alt="Influx"/></a>
4+
</div>
5+
<nav class="navbar navbar-expand-lg navbar-light inf-navbar">
6+
<ul class="navbar-nav text-uppercase">
7+
<li class="nav-item">
8+
<a class="nav-link inf-main-nav" href="/download/">Download</a>
9+
</li>
10+
<li class="nav-item">
11+
<a class="nav-link inf-main-nav" href="/guide/">Guide</a>
12+
</li>
13+
<li class="nav-item">
14+
<a class="nav-link inf-main-nav" target="_blank" href="https://discord.gg/Mc5VDQT">Discord</a>
15+
</li>
16+
</ul>
17+
</nav>

download.njk

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: "Influx Timer - Download"
3+
---
4+
<!DOCTYPE html>
5+
<html>
6+
<head>
7+
{% include "head.njk" %}
8+
</head>
9+
<body>
10+
{% include "top.njk" %}
11+
<div class="container">
12+
<div class="inf-cont">
13+
<p class="mx-auto text-center display-4">Latest Build</p>
14+
<p class="text-center">2022-05-28</p>
15+
<table class="table table-sm table-striped mx-auto" style="max-width:99%">
16+
<thead class="inf-bg-myclr">
17+
<tr>
18+
<th class="text-center">#</th>
19+
<th>Commit Message</th>
20+
<th class="text-center">Package Download</th>
21+
</tr>
22+
</thead>
23+
<tbody>
24+
{% for download in downloads %}
25+
<tr>
26+
<th class="text-center">{{ download.build_num }}</th>
27+
<td>
28+
<a target="_blank" href="https://github.com/InfluxTimer/sm-timer/commit/{{ download.commit_hash }}">{{ download.commit_message }}</a>
29+
</td>
30+
<td class="text-center inf-wordspace-3">
31+
<a href="{{ download.downloads.bhop }}">Bhop</a> | <a href="{{ download.downloads.surf }}">Surf</a> | <a href="{{ download.downloads.bhoplite }}">BhopLite</a> | <a href="{{ download.downloads.deathrun }}">Deathrun</a> | <a href="{{ download.downloads.full }}">Full</a>
32+
</td>
33+
</tr>
34+
{% endfor %}
35+
</tbody>
36+
</table>
37+
<div class="mx-auto text-center mt-4">
38+
<p>Place the zip contents in your game directory (cstrike/csgo). Follow the <a href="/guide/">guide page</a> for further guidance.</p>
39+
<p class="font-weight-light text-muted">Lite is a special version targeted for LAN servers. Features such as chat-tags and ranks are removed from this build.</p>
40+
<p class="font-weight-light text-muted">Full package contains all plugins and features contained within Influx. It isn't configured for any particular gamemode.</p>
41+
</div>
42+
</div>
43+
<div class="inf-cont">
44+
<h3 class="mx-auto text-center font-weight-light">Other plugins you might like</h3>
45+
<div style="display:flex; justify-content: center; align-items: center;">
46+
<div style="display: inline-block;">
47+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?t=310825">RNGFix (Slope boost &amp; bhop booster fix)</a><br>
48+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?p=2069582">Auto nav file generator</a><br>
49+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?p=808724">MP Bhop blocks (func_door bhop blocks)</a><br>
50+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?t=166468">Modify weapon speeds (260vel weapons)</a><br>
51+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?t=255298">CS:GO Movement Unlocker (prestrafing)</a><br>
52+
<a target="_blank" href="https://github.com/Franc1sco/FixHintColorMessages">CS:GO HUD fix</a><br>
53+
<a target="_blank" href="https://forums.alliedmods.net/showthread.php?t=320971">Surf Ramp Bug Fix</a><br>
54+
</div>
55+
</div>
56+
</div>
57+
</div>
58+
</body>
59+
</html>

eleventy.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default function (eleventyConfig) {
2+
eleventyConfig.addPassthroughCopy('img');
3+
eleventyConfig.addPassthroughCopy('js');
4+
eleventyConfig.addPassthroughCopy('styles');
5+
}

0 commit comments

Comments
 (0)