-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (104 loc) · 2.65 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
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<html>
<head>
<!--
<meta name="description" content="Kashumy Portfolio - Creative graphic design and interactive projects">
<meta name="keywords" content="portfolio, graphic design, interactive projects, creative solutions">
<meta name="author" content="Krystian / main">
-->
<title>Kashumy Profil </title>
<script src="./showdown.js"></script>
<style>
body {
overflow: hidden;
}
#scrolling-text {
position: relative;
animation: scroll 22s linear infinite;
white-space: nowrap;
font-size: 24px;
width: auto;
color: white;
padding: 20px;
}
@keyframes scroll {
0% {
left: 100%;
}
100% {
left: -500%;
}
}
#boxtext {
background-color: green;
width: 100vw;
padding: 10px;
overflow: hidden;
height: 20px;
}
* {
margin: 0;
}
html {
position: fixed;
}
#zx {
padding: 10px;
overflow :auto ;
overflow-x :hidden ;
overflow-y :scroll ;
width : calc(100% - 30px) ;
height :calc(100vh - 10px);
}
scroll {
height : 500px;
width :100%;
background : transparent ;
}
</style>
</head>
<body>
<div id="boxtext">
<pt id="scrolling-text">
HI my name is Krystian
im interested front-end and software-engineering
and i like C , C++
im working at 2021/2022
im now creating own OS for Raspberry Pi .
Follow me inspired by @MuhammadMujtabaa
</pt>
</div>
<div id="zx">
<img alt="" src="./Untitled61_20230713194647.png" style="width : calc( 100% - 0px ); height:100px; " />
<br><br><br> <pre style="white-space:pre-wrap " id="markdown-content">loading markdown content ...</pre>
<scroll>
</scroll>
</div>
<script>
// Twój kod Markdown
setTimeout(function (){
var markdownContent = data;
// Renderowanie kodu Markdown na stronie
var converter = new showdown.Converter();
var htmlContent = converter.makeHtml(markdownContent);
document.getElementById('markdown-content').innerHTML = htmlContent + `<br><br><br><br><br><br>
<br><br><br><br><br><br><br>`
},(Math.random()*1000 )+200 );
var data=0;
setTimeout(function (){
fetch('Kashumy')
.then(response => response.text())
.then(data => p(data))
.catch(error => {
console.log('Błąd: Nie można odczytać pliku.', error )
}
);
},100)
function p(dt){
data=dt
}
</script>
</body>
</html>