-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (87 loc) · 4.75 KB
/
Copy pathindex.html
File metadata and controls
96 lines (87 loc) · 4.75 KB
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="TERUAKI TSUBOKURA - メディアアーティスト/クリエイティブテクノロジスト" />
<title>TERUAKI TSUBOKURA | メディアアーティスト/クリエイティブテクノロジスト</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TFTH0DVE14"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TFTH0DVE14', {
send_page_view: false // 初期ロード時はページビューを送信しない
});
</script>
<!-- OGP基本設定 -->
<meta property="og:title" content="TERUAKI TSUBOKURA | メディアアーティスト/クリエイティブテクノロジスト" />
<meta property="og:description" content="TERUAKI TSUBOKURA - インタラクティブな映像演出やフィジカルセンシングを駆使し、現実とデジタルの境界を曖昧にする体験を創造する、メディアアーティスト/クリエイティブテクノロジスト" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://teruaki-tsubokura.com/" />
<meta property="og:image" content="https://teruaki-tsubokura.com/images/ogp.png" />
<meta property="og:site_name" content="TERUAKI TSUBOKURA PORTFOLIO" />
<meta property="og:locale" content="ja_JP" />
<!-- Twitter Card設定 -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@kohack_v" />
<meta name="twitter:title" content="TERUAKI TSUBOKURA | メディアアーティスト/クリエイティブテクノロジスト" />
<meta name="twitter:description" content="TERUAKI TSUBOKURA - インタラクティブな映像演出やフィジカルセンシングを駆使し、現実とデジタルの境界を曖昧にする体験を創造する、メディアアーティスト/クリエイティブテクノロジスト" />
<meta name="twitter:image" content="https://teruaki-tsubokura.com/images/ogp.png" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<!-- Material Iconsの追加 -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Font Awesomeの追加 -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">
<script>
// リダイレクト情報を取得して元のURLに復元
(function(){
var redirect = sessionStorage.getItem('redirect');
if (redirect && redirect !== window.location.pathname) {
// リダイレクト情報をクリア
sessionStorage.removeItem('redirect');
// 元のURLに復元
window.history.replaceState(null, null, redirect);
}
// 末尾スラッシュのチェック
// const repo = 'Claude-PortfolioSite';
// const currentPath = window.location.pathname;
// if (currentPath === '/' + repo) {
// // 末尾スラッシュがない場合は追加
// window.history.replaceState(null, null, '/' + repo + '/');
// }
})();
</script>
<!-- GitHub Pages SPA用のリロード対策 -->
<!-- <script>
// GitHub Pages上でSPAのルーティングを処理するスクリプト
(function() {
const repo = 'Claude-PortfolioSite';
// ページのリロード時に実行される処理
window.addEventListener('beforeunload', function() {
// 現在のパスを保存
const pathname = window.location.pathname;
// トップページの特別処理
if (pathname === '/' + repo + '/' || pathname === '/' + repo) {
// 常に末尾スラッシュ付きのパスを保存
sessionStorage.setItem('reloadPath', '/' + repo + '/');
return;
}
// その他のページの場合
if (pathname.indexOf(repo) !== -1) {
// 現在のフルパスを記録
sessionStorage.setItem('reloadPath', pathname);
}
});
})();
</script> -->
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>