This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
79 lines (60 loc) · 2.41 KB
/
about.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
<?php
@define('DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
$pages = ['about'];
$head_attributes = [
'<link rel="stylesheet" href="/css/about.css">',
'<script src="/js/about.js"></script>'
];
include DOCUMENT_ROOT . '/common/header.php';
function generate_link($url, $text, $logo_url, $color, $text_color = '#fff')
{
echo "<a href=\"$url\" class=\"link-card\" target=\"_blank\" rel=\"noreferrer\" style=\"--color: $color; --text: $text_color\"><div class=\"logo\" style=\"--logo: url('/img/brands/$logo_url.svg');\"></div><span>$text</span><i class=\"fas fa-chevron-right\"></i></a>";
}
?>
<body>
<?php include DOCUMENT_ROOT . '/common/navbar.php'; ?>
<div id="mainBody">
<div id="mainBodyHeader"><?php echo $language['about']['title']; ?></div>
<div id="siteSummary">
<div id="content1">
<div class="school-image-container">
<div class="school-image"></div>
</div>
<p><i class="fas fa-laptop-code about-icon"></i><?php echo $language['about']['content'][1]; ?></p>
<p><?php echo $language['about']['content'][2]; ?></p>
</div>
<hr />
<div id="content2">
<div class="profile-image-container">
<div class="profile-image">
<div class="shadow-container"></div>
</div>
</div>
<div class="text">
<p><i class="fas fa-quote-left about-icon"></i><?php echo $language['about']['content'][3]['title']; ?></p>
<p><?php echo $language['about']['content'][3]['description']; ?></p>
</div>
</div>
<hr />
<div id="content3">
<p><i class="fas fa-stopwatch about-icon"></i><?php echo $language['about']['content'][4]; ?></p>
<p class="timer">197</p>
</div>
<hr />
<div id="content4">
<p><i class="fas fa-link about-icon"></i><?php echo $language['about']['content'][5]['title']; ?></p>
<?php
generate_link('https://www.linkedin.com/in/gabdn/', 'LinkedIn', 'linkedin', '#0e76a8');
generate_link('https://www.twitch.tv/gabixel', 'Twitch', 'twitch', '#6441a5');
generate_link('https://steamcommunity.com/id/Gabixel', 'Steam', 'steam', '#1b2838');
generate_link('https://github.com/Gabixel', 'GitHub', 'github', '#6a737d');
generate_link('https://twitter.com/Gabixel_', 'Twitter', 'twitter', '#1a76cc');
generate_link('https://osu.ppy.sh/users/8543042', 'osu!', 'osu', '#f560ae');
?>
</div>
</div>
<a href="/shish" class="shish"></a>
</div>
<?php include DOCUMENT_ROOT . '/common/footer.php'; ?>
</body>
</html>