-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (66 loc) · 4.08 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="/link/contents/profile.jpg"/>
<meta property="og:title" content="HirotakaDango's Profile"/>
<meta property="og:description" content="This is HirotakaDango's Profile"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://hirotakadango.github.io/link/"/>
<title>HirotakaDango's Profile</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="icon" type="image/jpg" href="contents/profile.jpg">
</head>
<body>
<div class="vh-100 position-fixed top-0 start-0 w-100 h-100" style="background-image: url('contents/background.jpg'); background-size: cover; background-repeat: no-repeat;">
<div class="container h-100">
<div class="d-flex justify-content-center align-items-center h-100">
<div class="hide-scrollbar text-center w-100 overflow-auto h-100" style="max-width: 305px;">
<br><br><br>
<div class="bg-dark rounded-5 bg-opacity-25 p-4 position-relative">
<img class="rounded-circle" height="150" width="150" src="contents/profile.jpg" alt="Profile Image">
<h2 class="mt-3 fw-bold text-shadow">HirotakaDango</h2>
<p class="fw-medium mb-4 text-shadow">My name is Ray, and I like PHP.</p>
<button class="btn border-0 position-absolute top-0 end-0 m-2" onclick="sharePage()"><i class="fa-solid fa-share-nodes fs-3"></i></button>
<div>
<a href="https://twitter.com/r89dango" target="_blank" class="p-2 btn btn-dark opacity-75 border border-dark-subtle border-3 fw-bold w-100 rounded-pill mb-2"><i class="fa fa-brands fa-x-twitter fs-5"></i> Twitter</a>
<a href="https://github.com/HirotakaDango" target="_blank" class="p-2 btn btn-dark opacity-75 border border-dark-subtle border-3 fw-bold w-100 rounded-pill mb-2"><i class="fa fa-brands fa-github fs-5"></i> GitHub</a>
<a href="https://gitlab.com/HirotakaDango" target="_blank" class="p-2 btn btn-dark opacity-75 border border-dark-subtle border-3 fw-bold w-100 rounded-pill mb-2"><i class="fa fa-brands fa-gitlab fs-5"></i> GitLab</a>
<a href="https://hirotakadango.github.io/profile/" target="_blank" class="p-2 btn btn-dark opacity-75 border border-dark-subtle border-3 fw-bold w-100 rounded-pill"><i class="fa fa-globe fs-5"></i> My Website</a>
</div>
</div>
<br><br><br>
</div>
</div>
</div>
</div>
<style>
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
.text-shadow {
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8), 5px 5px 6px rgba(0, 0, 0, 0.2);
}
</style>
<script>
function sharePage() {
if (navigator.share) {
navigator.share({
title: document.title,
url: window.location.href
}).then(() => {
console.log('Page shared successfully.');
}).catch((error) => {
console.error('Error sharing page:', error);
});
} else {
console.log('Web Share API not supported.');
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
</body>
</html>