Skip to content

Commit

Permalink
prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Mar 27, 2024
1 parent 323cc22 commit adda519
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 121 deletions.
26 changes: 14 additions & 12 deletions content/_layouts/demos-layout.liquid
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
layout: default.liquid
---
<h1 class="title ">{{ title }}
<div class="float-end">
<a
class="github-button"
href="https://github.com/haxeflixel/flixel-demos"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/flixel-demos</a>
</div>
</h1>
<h1 class="title ">
{{ title }}
<div class="float-end">
<a
class="github-button"
href="https://github.com/haxeflixel/flixel-demos"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/flixel-demos</a
>
</div>
</h1>

{{ content }}
25 changes: 13 additions & 12 deletions content/_layouts/documentation-layout.liquid
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
---
layout: default
---
<h1 class="title">{{ title }}
<h1 class="title">
{{ title }}

<div class="float-end">
<a
class="github-button"
href="https://github.com/haxeflixel/flixel-docs"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/flixel-docs</a>
</div>
<div class="float-end">
<a
class="github-button"
href="https://github.com/haxeflixel/flixel-docs"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/flixel-docs</a
>
</div>
</h1>


<p>
The HaxeFlixel documentation is provided from the
<a href="https://github.com/HaxeFlixel/flixel-docs">flixel-docs repository</a> and is open for
Expand Down
11 changes: 5 additions & 6 deletions content/_layouts/partials/footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
Discord
</a>
</li>
<li >
<li>
<a href="https://www.patreon.com/haxeflixel">
<img class="footer-patreon" src="/images/patreon-logo.svg"
width="16px"/>
<img
class="footer-patreon"
src="/images/patreon-logo.svg"
width="16px">
Patreon
</a>
</li>
Expand All @@ -45,7 +47,6 @@
<li>
<a href="https://api.haxeflixel.com">API</a>
</li>

</ul>
<ul class="list-unstyled col">
<li>
Expand All @@ -59,8 +60,6 @@
</li>
</ul>
</div>


</div>

<div class="footer-powered-by col ">
Expand Down
19 changes: 10 additions & 9 deletions content/_layouts/showcase.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ layout: default
{{ title }}

<div class="float-end">
<a
class="github-button"
href="https://github.com/haxeflixel/haxeflixel.com?tab=readme-ov-file#how-to-add-a-showcase-game"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/haxeflixel.com</a>
</div>
<a
class="github-button"
href="https://github.com/haxeflixel/haxeflixel.com?tab=readme-ov-file#how-to-add-a-showcase-game"
data-color-scheme="no-preference: light_high_contrast; light: light_high_contrast; dark: dark_high_contrast;"
data-size="large"
data-show-count="true"
aria-label="Star haxeflixel/flixel on GitHub"
>haxeflixel/haxeflixel.com</a
>
</div>
</h1>

{{ content }}
1 change: 0 additions & 1 deletion content/demos.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ layout: "demos-layout"
---
<div class="demo-page center-align-a row row-cols-sm-2 row-cols-3 g-3 justify-content-center mx-sm-4">
{% for demo in collections['demo-item'] %}

<a
class="col-6 col-sm-4 col-md-3"
href="{{ demo.url }}">
Expand Down
158 changes: 77 additions & 81 deletions content/index.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ title: 'Home'
All with one codebase.
</p>

<div
<div
class="d-flex justify-content-center"
style="gap: 2em"
>
style="gap: 2em">
<a
role="button"
class="btn btn-outline-primary btn-lg"
Expand All @@ -35,8 +34,7 @@ title: 'Home'
<a
role="button"
class="btn btn-outline-primary btn-lg"
href="https://github.com/HaxeFlixel"
>
href="https://github.com/HaxeFlixel">
<i class="bi-github"></i>
GitHub
</a>
Expand Down Expand Up @@ -131,7 +129,7 @@ title: 'Home'
<a href="/demos">{{ collections['demo-item'].length }} demos</a>:
</p>
</h3>

{% for demo in collections.homepage_demo %}
<a href="{{ demo.url }}" property="dc:title">
{% capture imgURL %}content/_static/images/demos/{{ demo.data.title }}.png{% endcapture %}
Expand All @@ -146,102 +144,100 @@ title: 'Home'

<div class="games-home home-section">
<h3>
<p class="lead-line-large">
These popular games use HaxeFlixel:
</p>
<p class="lead-line-large">These popular games use HaxeFlixel:</p>
</h3>

<div class="showcase-list">
{% for showcase in collections['showcase-item'] reversed %}
{% if showcase.data.featured %}
<a href="{{showcase.data.website}}">
{% capture imgURL %}content/_static/images/showcase/{{showcase.fileSlug}}.png{% endcapture %}
{% liquid
image imgURL, showcase.data.title, 250, 130
%}
{% liquid
image imgURL, showcase.data.title, 250, 130
%}
</a>
{% endif %}
{% endfor %}
</div>

<hr>

<div class="home-section-powered">
<p class="lead-line-large">Powered by open source cross-platform tech:</p>

<br>
<div class="row my-auto g-0 align-items-center justify-content-evenly">
<a class="col-2"
href="https://haxe.org"
data-bs-toggle="tooltip"
data-bs-title="Default tooltip"
><img
src="/images/haxe.svg"
alt="Haxe Logo"
title="Haxe"
></a>
<span class="col-1">
<b>+</b>
</span>
<a class="col-2" href="https://openfl.org"
><img
src="/images/openfl.svg"
alt="OpenFL Logo"
title="OpenFL"
></a>

<span class="col-1">
<b>+</b>
</span>

<a class="col-2" href="https://flixel.org"
><img
src="/images/flixel.svg"
alt="Flixel Logo"
title="Flixel"
></a>
</div>

<span class="col-1">
<b>=</b>
</span>
<hr>

<a class="col-2" href="https://haxeflixel.com">
<img
src="/images/haxeflixel.svg"
alt="HaxeFlixel logo"
title="HaxeFlixel"
>
</a>
<div class="home-section-powered">
<p class="lead-line-large">Powered by open source cross-platform tech:</p>

<br>
<div class="row my-auto g-0 align-items-center justify-content-evenly">
<a
class="col-2"
href="https://haxe.org"
data-bs-toggle="tooltip"
data-bs-title="Default tooltip"
><img
src="/images/haxe.svg"
alt="Haxe Logo"
title="Haxe"
></a>
<span class="col-1">
<b>+</b>
</span>
<a class="col-2" href="https://openfl.org"
><img
src="/images/openfl.svg"
alt="OpenFL Logo"
title="OpenFL"
></a>

<span class="col-1">
<b>+</b>
</span>

<a class="col-2" href="https://flixel.org"
><img
src="/images/flixel.svg"
alt="Flixel Logo"
title="Flixel"
></a>

<span class="col-1">
<b>=</b>
</span>

<a class="col-2" href="https://haxeflixel.com">
<img
src="/images/haxeflixel.svg"
alt="HaxeFlixel logo"
title="HaxeFlixel">
</a>
</div>
<br>
</div>
<br>
</div>

<hr>
<hr>

<div class="home-sponsor-logos">
<p class="lead-line-large">Our platinum and gold sponsors:</p>
<div class="home-sponsor-logos">
<p class="lead-line-large">Our platinum and gold sponsors:</p>

<div class="sponsor-logos-container">
<a class="platinum" href="http://www.defendersquest.com">
<img src="/images/sponsors/platinum/level-up-labs/lul_logo_circle.png">
</a>
<div class="sponsor-logos-container">
<a class="platinum" href="http://www.defendersquest.com">
<img src="/images/sponsors/platinum/level-up-labs/lul_logo_circle.png">
</a>

<a class="platinum" href="http://bluebottlegames.com">
<img src="/images/sponsors/platinum/blue-bottle-games/bbgLogoColor256x256.png">
</a>
<a class="platinum" href="http://bluebottlegames.com">
<img src="/images/sponsors/platinum/blue-bottle-games/bbgLogoColor256x256.png">
</a>

<a class="gold" href="http://www.kongregate.com">
<img src="/images/sponsors/gold/kongregate/kongregate_anthill.svg">
</a>
<a class="gold" href="http://www.kongregate.com">
<img src="/images/sponsors/gold/kongregate/kongregate_anthill.svg">
</a>

<a class="gold" href="http://www.solarpoweredgames.de">
<img src="/images/sponsors/gold/solar-powered/logo-solarpoweredgames-inverted-256.png">
</a>
</div>
<a class="gold" href="http://www.solarpoweredgames.de">
<img src="/images/sponsors/gold/solar-powered/logo-solarpoweredgames-inverted-256.png">
</a>
</div>

<br>
<br>

<a class="btn btn-primary btn-lg" href="/sponsors"> See all our Sponsors </a>
<a class="btn btn-primary btn-lg" href="/sponsors"> See all our Sponsors </a>
</div>
</div>
</div>

0 comments on commit adda519

Please sign in to comment.