-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (152 loc) · 6.36 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>matsudamper</title>
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/css/my.css">
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<!-- IEでの互換表示無し -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- レスポンシブルデザイン用 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- ヘッダー -->
<script type="text/javascript">
$.ajax({
type: "GET",
url: "/header.html",
dataType: "html",
success: function (data) {
var split_data = data.split("</head>")[1];
$("#header").append($(split_data));
var profile = document.getElementById("profile");
profile.className += " menu-current";
document.body.classList.remove("hidden");
}
});
</script>
<!-- @formatter:off -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-54718130-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-54718130-5');
</script>
<!-- @formatter:on -->
</head>
<body class="hidden">
<div id="header"></div>
<main class="container my-container">
<div class="flex-row-center">
<div class="icon-selector" style="height: 200px;" onclick="iconIndex.plus()"></div>
<a id="icon_url"
target="_blank">
<img id="icon"
class="img-responsive center-block"
width="200">
</a>
<div class="icon-selector" style="height: 200px;" onclick="iconIndex.minus()"></div>
<script>
let iconIndex = (function () {
var iconList = [
{
name: "1",
url: "https://www.amazon.co.jp/%E6%9C%AA%E7%A2%BA%E8%AA%8D%E3%81%A7%E9%80%B2%E8%A1%8C%E5%BD%A2-4-4%E3%82%B3%E3%83%9EKINGS%E3%81%B1%E3%82%8C%E3%81%A3%E3%81%A8%E3%82%B3%E3%83%9F%E3%83%83%E3%82%AF%E3%82%B9-%E8%8D%92%E4%BA%95-%E3%83%81%E3%82%A7%E3%83%AA%E3%83%BC-ebook/dp/B00I4S61V2/ref=tmm_kin_swatch_0?_encoding=UTF8&qid=&sr="
},
{
name: "2",
url: "https://www.amazon.co.jp/%E6%9C%AA%E7%A2%BA%E8%AA%8D%E3%81%A7%E9%80%B2%E8%A1%8C%E5%BD%A2-4-4%E3%82%B3%E3%83%9EKINGS%E3%81%B1%E3%82%8C%E3%81%A3%E3%81%A8%E3%82%B3%E3%83%9F%E3%83%83%E3%82%AF%E3%82%B9-%E8%8D%92%E4%BA%95-%E3%83%81%E3%82%A7%E3%83%AA%E3%83%BC-ebook/dp/B00I4S61V2/ref=tmm_kin_swatch_0?_encoding=UTF8&qid=&sr="
},
{
name: "3",
url: "https://www.amazon.co.jp/%E8%91%89%E6%9C%88%E3%82%AB%E3%83%8E%E3%83%B3%E3%81%AF%E7%94%98%E3%81%8F%E3%81%AA%E3%81%84%E3%80%82-1-4%E3%82%B3%E3%83%9EKINGS%E3%81%B1%E3%82%8C%E3%81%A3%E3%81%A8%E3%82%B3%E3%83%9F%E3%83%83%E3%82%AF%E3%82%B9-%E3%82%B3%E3%83%90%E3%82%B7%E3%82%B3-ebook/dp/B00KGXD76K/ref=sr_1_2?ie=UTF8&qid=1473077230&sr=8-2&keywords=%E8%91%89%E6%9C%88%E3%82%AB%E3%83%8E%E3%83%B3%E3%81%AF%E7%94%98%E3%81%8F%E3%81%AA%E3%81%84"
},
];
var index = iconList.length - 1;
function changeIcon(value) {
let item = iconList[value];
document.querySelector("#icon").setAttribute("src", "/icon/" + item.name + ".png");
if (item.url != null) {
document.querySelector("#icon_url").setAttribute("href", item.url);
} else {
document.querySelector("#icon_url").removeAttribute("href");
}
}
changeIcon(index);
return {
minus() {
if (index > 0) {
index--;
changeIcon(index);
}
},
plus() {
if (index < iconList.length - 1) {
index++;
changeIcon(index);
}
}
}
})();
</script>
</div>
<table class="table table-bordered">
<tr>
<th>名前</th>
<th>マツダンパー</th>
</tr>
<tr>
<th>fediverse(Mastodon)</th>
<th>
<a rel="me" href="https://mstdn.jp/@matsudamper"
target="_blank">@matsudamper</a>
</th>
</tr>
<tr>
<th>Twitter</th>
<th>
<a href="https://twitter.com/matsudamper"
target="_blank">@matsudamper</a>
</th>
</tr>
<tr>
<th>ブログ</th>
<th><a href="http://matsudamper.hatenablog.jp/"
target="_blank">阿呆の浅知恵</a></th>
</tr>
<tr>
<th>技術ブログ</th>
<th><a href="http://matsudamper.hatenablog.com/"
target="_blank">アプリ開発備忘録</a></th>
</tr>
<tr>
<th>GitHub</th>
<th>
<a href="https://github.com/matsudamper"
target="_blank">matsudamper</a>
</th>
</tr>
<tr>
<th>Products</th>
<th>
<a href="https://matsudamper.github.io/MDP-Software"
target="_blank">M.D.P. Software</a>
</th>
</tr>
<tr>
<th>コメント.</th>
<th>
東京(千葉)に住んでいる。20卒社会人。<br>
Androidメインの開発者、Kotlin(Jersey/JAX-RS)、Goバックエンド、インフラも見る。稀にiOSも見る。
<br>
名前の由来はマスダンパー(ミニ四駆)&苗字。模型屋のおっちゃんに付けてもらった。
</th>
</tr>
</table>
</main>
</body>
</html>