summaryrefslogtreecommitdiff
path: root/events.html
blob: 38f9e9d702a3e6308cd364229f1183ead7d204de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
    <head>
        <title>🎶 RTFM - Evenements🎵</title>
        <link rel="stylesheet" type="text/css" href="./style.css" />
        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
		<meta name="description" content="Club musique de l'EPITA Lyon" />
		<meta name="author" content="Marcellus" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link rel="icon" type="image/x-icon" href="img/logo.ico">
    </head>
    <body style="background: url(./img/wp.jpg)">
        <a href="./index.html" style="position: fixed; top: 5px; left: 10px;">
            <img src="img/logo.png" alt="Logo" style="height: 20vh;">
        </a>
        <h1>Evenements à venir</h1>
        <div class="date-cont">
            <div class="date">
                <h2 class="date-desc">Open Mic Rap</h2>
                <div>
                    <hr>
                    <p>19 mars 2024<br>Entrée libre</p>
                </div>
            </div>
            <img src="img/afficheOpenMic1903.png" alt="affiche évènement" />
        </div>
        <script>
            dates = document.getElementsByClassName('date-cont')
            images = document.querySelectorAll('.date-cont img')
            for (let date of dates){
                date.addEventListener('click',() => {
                    if (date.classList.contains("toggle")){
                        date.classList.remove('toggle');
                    }
                    else {
                        date.classList.add("toggle")
                    }
                })
            }
        </script>
    </body>
</html>