Merge pull request #125 from OpzekerIT/dev

header as include and image to webp
This commit is contained in:
Lanta 2023-11-16 15:14:57 +01:00 committed by GitHub
commit de7afa63c8
9 changed files with 36 additions and 30 deletions

BIN
images/banner.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

3
includes/header.php Normal file
View file

@ -0,0 +1,3 @@
<header>
<img src="./images/banner.webp" alt="banner" class="banner">
</header>

View file

@ -27,12 +27,10 @@ $lastMatches = array_slice($allMatches, 0, 8);
<?php include './includes/head.php'; ?> <?php include './includes/head.php'; ?>
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
include './includes/navigation.php';
<header> include './includes/header.php';
<img src="./images/banner2.png" alt="banner" class="banner"> ?>
</header>
<main> <main>
<section> <section>
<h2>Latest Matches</h2> <h2>Latest Matches</h2>

View file

@ -11,10 +11,11 @@ error_reporting(E_ALL);
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
<header> include './includes/navigation.php';
<img src="./images/banner2.png" alt="banner" class="banner"> include './includes/header.php';
</header> ?>
<main> <main>
<section> <section>
<h2>Player Stats past month</h2> <h2>Player Stats past month</h2>

View file

@ -4,10 +4,11 @@
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
<header> include './includes/navigation.php';
<img src="./images/banner2.png" alt="banner" class="banner"> include './includes/header.php';
</header> ?>
<main> <main>
<section> <section>
<h2>Match Stats</h2> <h2>Match Stats</h2>

View file

@ -27,11 +27,11 @@ $lastMatches = array_slice($allMatches, 0, 8);
<?php include './includes/head.php'; ?> <?php include './includes/head.php'; ?>
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
include './includes/navigation.php';
include './includes/header.php';
?>
<header>
<img src="./images/banner2.png" alt="banner" class="banner">
</header>
<main> <main>
<section> <section>

View file

@ -9,10 +9,11 @@ error_reporting(E_ALL);
<?php include './includes/head.php'; ?> <?php include './includes/head.php'; ?>
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
<header> include './includes/navigation.php';
<img src="./images/banner2.png" alt="banner" class="banner"> include './includes/header.php';
</header> ?>
<main> <main>
<section> <section>
<h2>User Stats</h2> <h2>User Stats</h2>

View file

@ -9,10 +9,11 @@ error_reporting(E_ALL);
<?php include './includes/head.php'; ?> <?php include './includes/head.php'; ?>
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
<header> include './includes/navigation.php';
<img src="./images/banner2.png" alt="banner" class="banner"> include './includes/header.php';
</header> ?>
<main> <main>
<section> <section>
<h2>Average User Stats</h2> <h2>Average User Stats</h2>

View file

@ -9,10 +9,11 @@ error_reporting(E_ALL);
<?php include './includes/head.php'; ?> <?php include './includes/head.php'; ?>
<body> <body>
<?php include './includes/navigation.php'; ?> <?php
<header> include './includes/navigation.php';
<img src="./images/banner2.png" alt="banner" class="banner"> include './includes/header.php';
</header> ?>
<main> <main>
<section> <section>
<h2>User Stats</h2> <h2>User Stats</h2>