-
Notifications
You must be signed in to change notification settings - Fork 1
/
sayhi.html
168 lines (156 loc) · 6.05 KB
/
sayhi.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
<!DOCTYPE html>
<html prefix="og: https://ogp.me/ns#" lang="ko">
<head>
<meta charset="UTF-8">
<title>방명록 - injoon5_WEB</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="방명록 - injoon5_WEB" />
<meta property="og:image" content="https://avatars.githubusercontent.com/u/52849281?s=460&u=64106e70e8adc00414d015772d24e4d0efe200ef&v=4" />
<meta property="og:description" content="안녕하세요! 👋🏼 저는 🇰🇷에 살고, 컴퓨터를 좋아하는 학생, injoon5 입니다." />
<meta name="Description" content="안녕하세요! 👋🏼 저는 🇰🇷에 살고, 컴퓨터를 좋아하는 학생, injoon5 입니다.">
<meta name="theme-color" content="#e5e5e5">
<meta name="twitter:card" content="summary_large_image">
<link rel="preload" href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" as="style">
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js" as="script">
<script>
const options = {
bottom: '32px', // default: '32px'
right: '32px', // default: '32px'
left: 'unset', // default: 'unset'
time: '0.0s', // default: '0.3s'
mixColor: '#fff', // default: '#fff'
backgroundColor: '#f6f8fa', // default: '#fff'
buttonColorDark: '#000', // default: '#100f2c'
buttonColorLight: '#f6f8fa', // default: '#fff'
saveInCookies: false, // default: true,
label: '🌞 🌕', // default: ''
autoMatchOsTheme: true // default: true
}
function addDarkmodeWidget() {
new Darkmode(options).showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<style>
@font-face {
font-family: 'GmarketSansMedium';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected]/GmarketSansMedium.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
html {
scroll-behavior: smooth;
}
* {
font-family: 'GmarketSansMedium';
-webkit-appearance:none;
opacity: 1
}
#toast {
position: fixed;
bottom: 30px;
left: 50%;
padding: 15px 20px;
transform: translate(-50%, 10px);
border-radius: 30px;
overflow: hidden;
font-size: .8rem;
opacity: 0;
visibility: hidden;
transition: opacity .5s, visibility .5s, transform .5s;
background: rgba(0, 0, 0, .35);
color: #fff;
z-index: 10000;
}
#toast.reveal {
opacity: 1;
visibility: visible;
transform: translate(-50%, 0)
}
.darkmode-toggle {
z-index: 500;
}
</style>
<script>
console.log("💻 UserAgent 정보.\n 에러가 발생하였을때는 https://github.com/injoon5/injoonweb-new 에 이슈 남겨 주세요. \n "+navigator.userAgent);
let removeToast;
function toast(string) {
const toast = document.getElementById("toast");
toast.classList.contains("reveal") ?
(clearTimeout(removeToast), removeToast = setTimeout(function () {
document.getElementById("toast").classList.remove("reveal")
}, 1000)) :
removeToast = setTimeout(function () {
document.getElementById("toast").classList.remove("reveal")
}, 1000)
toast.classList.add("reveal"),
toast.innerText = string
}
</script>
<script>
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
window.location = 'microsoft-edge:' + window.location;
setTimeout(function() {
window.location = 'https://go.microsoft.com/fwlink/?linkid=2135547';
}, 1);
}
</script>
<script>
function copy(val) {
const t = document.createElement("textarea");
document.body.appendChild(t);
t.value = val;
t.select();
t.setSelectionRange(0, 99999);
document.execCommand('copy');
document.body.removeChild(t);
toast("복사 되었습니다!")
}
</script>
<!-- Hotjar Tracking Code for https://oij.vercel.app -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:2520234,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
</head>
<body translate="no">
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "c50fd3b45e16403a8aaba725c2842c8b"}'></script><!-- End Cloudflare Web Analytics -->
<noscript>이 사이트는 JavaScript가 없으면 폭파하니 꼭 켜주세요!!</noscript>
<div id="toast"></div>
<h3 class="text-3xl md:pl-12 pt-6 font-extrabold mx-2" id="lang">방명록</h3>
<h3 class="text-lg md:pl-12 pt-2 pb-6 font-extrabold mx-2 text-gray-600" id="lang">남을 비방하거나 홍보를 하는 등의 관리자가 보기에 부적절한 내용이 담길 시, 예고없이 삭제 될 수 있습니다. </h3>
<div class="rounded-xl overflow-hidden border-solid border border-gray-300 bg-white p-8 md:mx-16 shadow-xl mx-2">
<script src="https://utteranc.es/client.js"
repo="injoon5/injoonweb-new"
issue-term="pathname"
theme="github-light"
crossorigin="anonymous"
async>
</script>
</div>
<br>
<br>
<div class="bg-gradient-to-br from-blue-400 to-blue-500 py-20" id="footer" style="isolation: isolate;">
<a href="/" class="text-2xl font bold flex justify-center text-center text-white hover:text-blue-100">홈</a>
<br>
<p class="text-2xl font bold flex justify-center text-center text-white">Made with ❤️ by injoon5.<br>Copyright 2021. All copyrights reserved. </p>
</div>
<br>
<div class="flex justify-center pt-6 pb-3">
<svg class="animate-bounce w-6 h-6 text-amber-900" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
<path d="M19 14l-7 7m0 0l-7-7m7 7V3"></path>
</svg>
</div>
<br>
<br>
</body>
</html>