This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
97 lines (90 loc) · 3.28 KB
/
index.php
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<head>
<link rel="stylesheet" href="index.css">
</head>
<?php
function Artist($name, $pfp, $link)
{
return [
"name" => $name,
"pfp" => $pfp,
"link" => $link
];
}
function Album($name, $cover, $link, $artists, $date)
{
return [
"name" => $name,
"cover" => $cover,
"link" => $link,
"artists" => $artists,
"date" => $date
];
}
$artists = [
Artist("Tanza", "tanza.png", "https://tanza.me"),
Artist("DJ Stuiter", "djstuiter.png", "https://linktr.ee/djstuiter"),
Artist("dusstuiter", "dusstuiter.png", "https://linktr.ee/Retiu"),
Artist("Hubz", "hubz.png", "https://tanza.me"),
Artist("eggo", "eggo.png", "https://soundcloud.com/kikoxc/"),
];
$albums = [
Album("lost within the depths of my mind", "unt005.png", "https://push.fm/fl/unt005", "kikoxc", "4 Aug 2023"),
Album("do you know what thats worth?", "unt004.png", "https://push.fm/fl/unt004", "kikoxc", "28 Jul 2023"),
Album("conasteeti", "conasteeti.png", "https://push.fm/fl/unt003", "DJ Stuiter", "21 Jul 2023"),
Album("Cubey's Adventures, Vol. 2 (Original Game Soundtrack)", "cubey2.png", "https://push.fm/fl/unt002", "DJ Stuiter, dusstuiter", "16 Jun 2023"),
Album("Aurora / Dunes", "aurora_dunes.png", "https://push.fm/fl/unt001", "DJ Stuiter, Tanza", "9 Jun 2023")
];
?>
<body>
<div class="header" gradient>
<img src="img/logo.svg">
</div>
<div class="page">
<h1>Hi, We’re UNTONE Music.</h1>
<p>We're a group of music artists, creating and publishing music. Please take a look!</p>
<p>Are you an artist interested in releasing your music with UNTONE Music? Please send your demos to music@untone.uk</p>
<div class="grid">
<div class="grid-item">
<h3>Artists</h3>
<div class="artists-grid">
<?php
foreach ($artists as $artist) {
?>
<a class="artist" href="<?= $artist['link'] ?>">
<img src="/img/artists/<?= $artist['pfp'] ?>">
<p>
<?= $artist['name'] ?>
</p>
</a>
<?php
}
?>
</div>
</div>
<div class="grid-item">
<h3>Music</h3>
<div class="musics-grid">
<?php
foreach ($albums as $album) {
?>
<a class="music" href="<?= $album['link'] ?>">
<img src="/img/albums/<?= $album['cover'] ?>">
<p>
<?= $album['name'] ?>
</p>
<small>
<?= $album['artists'] ?> <light>/ <?= $album['date'] ?></light>
</small>
</a>
<?php
}
?>
</div>
</div>
</div>
</div>
<div class="footer">
<a href="https://untone.uk">(C) UNTONE 2022-2023</a>
</div>
</body>
<script src="index.js" type="module"></script>