-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (54 loc) · 1.79 KB
/
index.html
File metadata and controls
56 lines (54 loc) · 1.79 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gallery-Portfolio</title>
<link rel="stylesheet" href="public/styles.css" />
<link rel="stylesheet" href="public/gallery.css" />
<link rel="icon" href="public/assets/favicon.svg" type="image/svg+xml" />
</head>
<body>
<header>
<h1>
<a href="/" style="text-decoration: none; color: inherit;">Gallery-Portfolio</a>
</h1>
<div class="header-buttons">
<a
id="github-link"
href="https://github.com/linyuxuanlin/Gallery-Portfolio"
target="_blank"
>
<img
src="public/assets/github.svg"
alt="GitHub 仓库链接"
aria-label="访问 GitHub 仓库"
/>
</a>
<button id="theme-toggle" aria-label="切换深色/浅色主题">
<img
src="public/assets/brightness_4.svg"
alt="Toggle Theme"
id="theme-icon"
/>
</button>
</div>
</header>
<div id="loading"></div>
<div class="gallery" id="gallery"></div>
<!-- Modal for image display -->
<div id="myModal" class="modal">
<span class="close">×</span>
<img class="modal-content" id="img01" />
<div id="exif-info"></div>
<button id="load-original-btn" class="load-original-btn">加载原图</button>
</div>
<!-- 加载JavaScript模块 -->
<script src="public/data-loader.js"></script>
<script src="public/tag-filter.js"></script>
<script src="public/image-loader.js"></script>
<script src="public/auto-scroll.js"></script>
<script src="public/layout.js"></script>
<script src="public/gallery.js"></script>
</body>
</html>