Skip to content

Commit 52353f5

Browse files
committed
removed bootstrap 3
1 parent 077e00e commit 52353f5

File tree

201 files changed

+1937
-80420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+1937
-80420
lines changed
+15-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
<head>
22

3-
<meta charset="utf-8"/>
4-
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
3+
<meta charset="utf-8" />
4+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
66

7-
<title>{{ title }}</title>
7+
<title>{{ title }}</title>
88

9-
<meta name="description" content="HaxeFlixel is a 2D Game Engine that lets you create cross-platform games easier with free, open source technology!"/>
10-
<meta name="keywords" content="<%= @keywords %>"/>
11-
<meta name="author" content="<%= @author %>"/>
12-
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<meta name="description" content="HaxeFlixel is a 2D Game Engine that lets you create cross-platform games easier with free, open source technology!" />
10+
<meta name="keywords" content="<%= @keywords %>" />
11+
<meta name="author" content="<%= @author %>" />
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
1313

14-
<link rel="icon" href="/images/haxeflixel.svg">
15-
<link rel="shortcut icon" href="/images/favicon.ico">
14+
<link rel="icon" href="/images/haxeflixel.svg">
15+
<link rel="shortcut icon" href="/images/favicon.ico">
1616

17-
<!--[if lt IE 9]>
18-
<script async src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
19-
<![endif]-->
20-
21-
{% comment %} <%- @styles %> {% endcomment %}
22-
<link rel="stylesheet" href="/styles/custom.css">
23-
</head>
17+
<!-- [if lt IE 9]>
18+
<script async src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif] -->
19+
{% comment %} <%- @styles %> {% endcomment %}
20+
<link rel="stylesheet" href="/styles/style.css">
21+
</head>
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,79 @@
11
<header>
2-
<nav class="navbar navbar-expand-lg bg-body-tertiary">
3-
<div class="container-fluid">
2+
<nav class="navbar navbar-expand-lg bg-body-tertiary">
3+
<div class="container-fluid">
44

5-
6-
<a href="/" class="navbar-brand"><img src="/images/haxeflixel-header.svg" height="31" alt="HaxeFlixel" /></a>
5+
<a href="/" class="navbar-brand"><img
6+
src="/images/haxeflixel-header.svg"
7+
height="31"
8+
alt="HaxeFlixel" /></a>
79

8-
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
9-
<span class="navbar-toggler-icon"></span>
10-
</button>
11-
10+
<button
11+
class="navbar-toggler"
12+
type="button"
13+
data-bs-toggle="collapse"
14+
data-bs-target="#navbarSupportedContent"
15+
aria-controls="navbarSupportedContent"
16+
aria-expanded="false"
17+
aria-label="Toggle navigation">
18+
<span class="navbar-toggler-icon"></span>
19+
</button>
1220

13-
<div class="collapse navbar-collapse" id="navbarNavDropdown">
1421

15-
<ul class="navbar-nav">
16-
17-
<li class="nav-item dropdown {% dropdownActive 'demos' %}">
18-
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">Examples <span class="caret"></span></a>
19-
<ul class="dropdown-menu inverse-dropdown">
20-
<li><a class="dropdown-item" href="/demos">Demos</a></li>
21-
<li><a class="dropdown-item" href="https://snippets.haxeflixel.com/">Snippets</a></li>
22-
</ul>
23-
</li>
22+
<div class="collapse navbar-collapse" id="navbarNavDropdown">
2423

25-
<li class="nav-item {% dropdownActive 'showcase' %}">
26-
<a class="nav-link" href="/showcase">Showcase</a>
27-
</li>
24+
<ul class="navbar-nav">
2825

29-
{% comment %} <li <%= @ablog %>> {% endcomment %}
30-
<li class="nav-item {% dropdownActive 'blog' %}">
31-
<a class="nav-link" href="/blog">Blog</a>
32-
</li>
26+
<li class="nav-item dropdown {% dropdownActive 'demos' %}">
27+
<a
28+
href="#"
29+
class="nav-link dropdown-toggle"
30+
data-bs-toggle="dropdown"
31+
role="button"
32+
aria-expanded="false">Examples
33+
<span class="caret"></span>
34+
</a>
35+
<ul class="dropdown-menu inverse-dropdown">
36+
<li>
37+
<a class="dropdown-item" href="/demos">Demos</a>
38+
</li>
39+
<li>
40+
<a class="dropdown-item" href="https://snippets.haxeflixel.com/">Snippets</a>
41+
</li>
42+
</ul>
43+
</li>
3344

34-
{% comment %} <li <%= @adocs %>> {% endcomment %}
35-
<li class="nav-item {% dropdownActive 'documentation' %}">
36-
<a class="nav-link" href="/documentation">Docs</a>
37-
</li>
45+
<li class="nav-item {% dropdownActive 'showcase' %}">
46+
<a class="nav-link" href="/showcase">Showcase</a>
47+
</li>
3848

39-
<li class="nav-item">
40-
<a class="nav-link" href="http://api.haxeflixel.com">API</a>
41-
</li>
49+
{% comment %} <li <%= @ablog %>> {% endcomment %}
50+
<li class="nav-item {% dropdownActive 'blog' %}">
51+
<a class="nav-link" href="/blog">Blog</a>
52+
</li>
4253

43-
{% comment %} <li <%= @aforum %>> {% endcomment %}
44-
<li class="nav-item">
45-
<a class="nav-link" href="https://github.com/HaxeFlixel/flixel/discussions">Forum</a>
46-
</li>
54+
{% comment %} <li <%= @adocs %>> {% endcomment %}
55+
<li class="nav-item {% dropdownActive 'documentation' %}">
56+
<a class="nav-link" href="/documentation">Docs</a>
57+
</li>
4758

48-
</ul>
49-
50-
{% renderFile "./11ty-source/_layouts/partials/search.html" %}
51-
{% comment %} <%- @partial('search.html') %> {% endcomment %}
59+
<li class="nav-item">
60+
<a class="nav-link" href="http://api.haxeflixel.com">API</a>
61+
</li>
5262

53-
</div>
63+
{% comment %} <li <%= @aforum %>> {% endcomment %}
64+
<li class="nav-item">
65+
<a class="nav-link" href="https://github.com/HaxeFlixel/flixel/discussions">Forum</a>
66+
</li>
5467

55-
</div>
68+
</ul>
5669

57-
70+
{% renderFile "./11ty-source/_layouts/partials/search.html" %}
71+
{% comment %} <%- @partial('search.html') %> {% endcomment %}
5872

59-
</nav>
73+
</div>
74+
75+
</div>
76+
77+
78+
</nav>
6079
</header>

11ty-source/cdn-scripts.liquid

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
21
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
3-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
2+
<script
3+
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
4+
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
5+
crossorigin="anonymous"></script>

11ty-source/documentation/flixel-docs

-1
This file was deleted.

11ty-source/scripts.njk

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
---
22
permalink: 11ty-bundle.js
33
---
4-
5-
{% include "../src/files/vendor/twitter-bootstrap-3/js/dropdown.js"%}
6-
{% include "../src/files/vendor/twitter-bootstrap-3/js/transition.js"%}
7-
{% include "../src/files/vendor/twitter-bootstrap-3/js/collapse.js"%}

docpad.coffee

+3-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ docpadConfig = {
88

99
# Ignore the api docs from the flixel-docs repo
1010
ignorePaths: [
11-
__dirname + '/src/documents/documentation/api'
11+
__dirname + '/src/documents/documentation/api',
12+
__dirname + '/src/documents/styles',
13+
__dirname + '/src/files/vendor',
1214
]
1315

1416
# Template Data
@@ -28,15 +30,9 @@ docpadConfig = {
2830
gamedev, game development, cross-platform, haxe, flixel
2931
"""
3032
styles: [
31-
"/styles/style.css",
3233
"/vendor/highlightjs/styles/an-old-hope.min.css"
3334
]
3435
scripts: [
35-
"//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js",
36-
"//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js",
37-
"/vendor/twitter-bootstrap-3/js/dropdown.js",
38-
"/vendor/twitter-bootstrap-3/js/transition.js",
39-
"/vendor/twitter-bootstrap-3/js/collapse.js",
4036
"/vendor/highlightjs/highlight.min.js"
4137
]
4238
services:

0 commit comments

Comments
 (0)