Skip to content

Commit

Permalink
Change: Update the styling based on design (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-noorbergen authored Dec 23, 2024
1 parent 507adeb commit 6309b74
Show file tree
Hide file tree
Showing 10 changed files with 588 additions and 90 deletions.
Binary file added docs/assets/images/bg_main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
383 changes: 367 additions & 16 deletions docs/assets/stylesheet/theme.css

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions docs/community/social-and-support.md

This file was deleted.

11 changes: 11 additions & 0 deletions docs/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Third party developer support

Aside from the [third party developer blog](/blog), there are number of other social and support resources available to you.

It is important to distinguish needing support for specific third party applications, or for any of the services provided by CCP. If you need support for a third party application, you should contact the developer of that application directly. If you need support for any of the services provided by CCP, we have a number of resources available to you.

The official [EVE Online discord](https://eveonline.com/discord) has a channel dedicated to third party development. You will find a number of third party developer hang out there as well.

ESI has its own issues repository at [esi-issues](https://github.com/esi/esi-issues). From there you can raise issues or ask for new features

If you have been banned from ESI, responses to your requests will point you to the EVE Online support system. Please follow the instructions. Circumventing the ban can result in further action being taken, up to and including a permanent ban for all of your accounts.
79 changes: 75 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ nav:
- "Home":
- Welcome: index.md
- Resources: resources/index.md
- "ID Ranges": resources/id-ranges.md
- Support: support.md
- ID Ranges: resources/id-ranges.md
- Services:
- "ESI": services/esi/index.md
- "Image Server": services/image-server/index.md
- "Static Data Export": services/sde/index.md
- "Single-Sign-On": services/sso/index.md
- "Guides and Examples": guides/index.md
- Community:
- "Support / Social": community/social-and-support.md
- "Community Services": community/community-services.md
- Community: community/community-services.md
not_in_nav: |
community/*/index.md
Expand Down Expand Up @@ -66,6 +65,78 @@ extra:
analytics:
provider: custom
property: !ENV [GTM_ID, 'GTM-XXXXXXX']
footer:
title: Follow EVE Online
socials:
- icon: facebook-f
url: https://www.facebook.com/eveonline
- icon: twitter
url: https://twitter.com/eveonline
- icon: youtube
url: https://www.youtube.com/channel/UCwF3VyalTHzL0L-GDlwtbRw/
- icon: twitch
url: https://www.twitch.tv/ccp
- icon: discord
url: https://eveonline.com/discord
- icon: instagram
url: https://www.instagram.com/eveonline/
- icon: vk
url: https://vk.com/eveonline
columns:
- title: Play EVE Online
links:
- title: Play for Free
url: https://www.eveonline.com/signup
- title: Download the Game
url: https://www.eveonline.com/download
- title: Upgrade to Omega
url: https://store.eveonline.com/#omega
- title: System Requirements
url: https://support.eveonline.com/hc/en-us/articles/5885219196828-System-Requirements
- title: Starter Guide for Beginners
url: https://www.eveonline.com/eve-academy
- title: Return to EVE
url: https://www.eveonline.com/return
- title: Recover Account
url: https://secure.eveonline.com/RecoverAccount
- title: Current Players
links:
- title: Account Management
url: https://secure.eveonline.com/account
- title: Support
url: https://support.eveonline.com/
- title: Forums
url: https://forums.eveonline.com/
- title: Developers
url: https://developers.eveonline.com/
- title: Recruit a Friend
url: https://www.eveonline.com/recruit
- title: Redeem a Code
url: https://secure.eveonline.com/code-activation
- title: Character Transfer
url: https://secure.eveonline.com/transfer-character
- title: 3rd Party Retailers
url: https://secure.eveonline.com/third-party-retailers
- title: Worlds of EVE
links:
- title: EVE Universe
url: https://universe.eveonline.com
- title: EVE Fanfest
url: https://fanfest.eveonline.com
- title: Merch
url: https://merch.eve.com/
- title: Project Discovery
url: https://www.eveonline.com/discovery/
- title: Site Info
links:
- title: About CCP
url: https://www.ccpgames.com/company/about/
- title: Terms of Service
url: https://community.eveonline.com/support/policies/terms-of-service-en/
- title: Privacy Policy
url: https://community.eveonline.com/support/policies/privacy-policy-en/
- title: RSS Feed
url: https://developers.eveonline.com/feed.xml

plugins:
- search
Expand Down
55 changes: 55 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% extends "base.html" %}

{% import "partials/language.html" as lang with context %}

{% block scripts %} {{ super() }}
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id={{ config.extra.analytics.property }}"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endblock %}


{% block site_nav %}
<!-- Navigation -->
{% if nav %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
{% endif %}
<div
class="esi-sidebar md-sidebar md-sidebar--primary"
data-md-type="navigation"
{{ hidden }}
>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
</div>
</div>
</div>
{% endif %}

<!-- Table of contents -->
{% if "toc.integrate" not in features %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "toc" in page.meta.hide %}
{% endif %}
<div
class="md-sidebar md-sidebar--secondary"
data-md-type="toc"
{{ hidden }}
>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/toc.html" %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
32 changes: 32 additions & 0 deletions overrides/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<footer class="md-footer esi-footer">
<div class="container">
<div class="wrapper">
<div class="title">
<div class="follow">{{ config.extra.footer.title }}</div>
<div class="socials">
{% for social in config.extra.footer.socials %}
<div class="social-{{ social.icon }}">
<a href="{{ social.url }}" target="_blank" rel="noopener">
{% include ".icons/fontawesome/brands/" + social.icon + ".svg" %}
</a>
</div>
{% endfor %}
</div>
</div>
{% for col in config.extra.footer.columns %}
<div class="column">
<ul>
<li>{{ col.title }}</li>
{% for link in col.links %}
<li>
<a href="{{ link.url }}" target="_blank" rel="noopener"
>{{ link.title }}</a
>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
</div>
</footer>
26 changes: 1 addition & 25 deletions overrides/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
<!--
Copyright (c) 2016-2024 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

<!-- Determine classes -->
{% set class = "md-header" %} {% if "navigation.tabs.sticky" in features %} {%
set class = class ~ " md-header--shadow md-header--lifted" %} {% elif
Expand All @@ -38,9 +16,7 @@
<!-- Link to home -->
<a
href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"
title="{{ config.site_name | e }}"
class="md-header__button md-logo"
aria-label="{{ config.site_name }}"
class="md-header__button md-logo esi-logo"
data-md-component="logo"
>
{% include "partials/logo.html" %}
Expand Down
14 changes: 0 additions & 14 deletions overrides/partials/main.html

This file was deleted.

47 changes: 47 additions & 0 deletions overrides/partials/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% import "partials/nav-item.html" as item with context %}

<!-- Determine classes -->
{% set class = "md-nav md-nav--primary" %}
{% if "navigation.tabs" in features %}
{% set class = class ~ " md-nav--lifted" %}
{% endif %}
{% if "toc.integrate" in features %}
{% set class = class ~ " md-nav--integrated" %}
{% endif %}

<!-- Navigation -->
<nav
class="{{ class }}"
aria-label="{{ lang.t('nav') }}"
data-md-level="0"
>

<!-- Site title -->
<label class="md-nav__title" for="__drawer">
<a
href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"
title="{{ config.site_name | e }}"
class="md-nav__button md-logo"
aria-label="{{ config.site_name }}"
data-md-component="logo"
>
{% include "partials/logo.html" %}
</a>
{{ config.site_name }}
</label>

<!-- Repository information -->
{% if config.repo_url %}
<div class="md-nav__source">
{% include "partials/source.html" %}
</div>
{% endif %}

<!-- Navigation list -->
<ul class="md-nav__list" data-md-scrollfix>
{% for nav_item in nav %}
{% set path = "__nav_" ~ loop.index %}
{{ item.render(nav_item, path, 1) }}
{% endfor %}
</ul>
</nav>

0 comments on commit 6309b74

Please sign in to comment.