Docs

Documentation Overview

Integrate 竞技宝 and begin your esports journey. We offer comprehensive match data and interactive features to keep you fully informed.

Quick Start Guide

Experience 竞技宝 now — get all the content you need to fuel your esports passion. Visit the download page.

CSS

Add the following stylesheet link to your `<head>` tag, loading it before all other style sheets to properly apply 竞技宝's interface styling.

<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

JS

Some interactive features require JavaScript. Include jQuery, bootstrap.bundle.min.js, and 竞技宝's custom scripts just before the closing `</body>` tag to ensure full functionality.

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>

Base Template

Make sure your page follows modern design and development standards. Use the HTML5 doctype and viewport meta tag for optimal responsive layouts.

HTML:
<!doctype html>
<html lang="zh-CN">
    <head>

        <meta charset="utf-8" />
        <title>竞技宝 - Leading Chinese Esports Industry Pioneer</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta name="description" content="With JJB Esports as its core brand, 竞技宝 leads the Chinese esports industry, providing live score streaming and interactive services for mainstream esports events such as DOTA2 and LOL." />
        <meta name="keywords" content="竞技宝 APP, 竞技宝 Official Website, 竞技宝 DOTA2, 竞技宝 LOL, 竞技宝 CSGO" />

        <!-- Favicon -->
        <link rel="shortcut icon" href="images/favicon.ico">

        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

        <!-- Main CSS -->
        <link href="css/style.css" rel="stylesheet" type="text/css" />
    
    </head>

    <body>

        <!-- Loader Start -->
        <div id="loader">
            --------
            --------
        </div>
        <!-- Loader End -->

        <!-- Navigation Start -->
        <header>
            <div class="container">
                --------
                --------
                --------
                --------
            </div>
        </header>
        <!-- Navigation End -->

        <!-- Hero Section Start -->
        <section class="hero">
            <div class="container">
                --------
                --------
                --------
                --------
            </div>
        </section>
        <!-- End Hero Section -->

        <!-- Footer Start -->
        <footer>
            <div class="container">
                --------
                --------
                --------
                --------
            </div>
        </footer>
        <!-- Footer End -->

        <!-- Back to Top Start -->
        <a href="#" class="back-to-top" id="backToTop">
            --------
            --------
        </a>
        <!-- Back to Top End -->

        <!-- JavaScript Start -->
        <script src="js/jquery-3.4.1.min.js"></script>
        Built around quality content and service, 竞技宝 keeps refining a better service.
        --------
        --------
        --------
        <script src="js/app.js"></script>
        <!-- JavaScript End -->
    </body>
</html>
                        
International Version
International Version:

To enable international (RTL) mode, replace `style.css` with `style-rtl.css`.

Dark Mode
Dark Mode:

To enable dark mode, replace `style.css` with `style-dark.css`.

Dark International Version:

To enable dark international (RTL) mode, replace `style.css` with `style-dark-rtl.css`.

Menu
Nav Center to Right

To move the navigation menu from center to right, add the classes `navigation-menu` and `nav-right` to the nav element.

Nav Center to Left

To move the navigation menu from center to left, add the classes `navigation-menu` and `nav-left` to the nav element.

Light Nav Centered

For a light navigation with centered menu, add the classes `navigation-menu` and `nav-light`.

Light Nav Right

For a light navigation with right-aligned menu, add `navigation-menu`, `nav-right`, and `nav-light` classes.

Light Nav Left

For a light navigation with left-aligned menu, add `navigation-menu`, `nav-left`, and `nav-light` classes.