-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (158 loc) · 6.27 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
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap">
<title>Andrecon - cgcristi.xyz</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<style>
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url('wallpaper.svg') no-repeat center center fixed;
background-size: cover;
font-family: 'Poppins', sans-serif;
}
.container {
display: flex;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 25px;
padding: 30px;
width: 80%;
max-width: 900px;
color: white;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}
.left-section {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
#pfp {
border-radius: 50%;
width: 120px;
height: 120px;
margin-bottom: 15px;
}
.center-section {
flex: 3;
padding: 0 20px;
}
.content {
display: none;
}
.content.active {
display: block;
}
/* yes, if u ask, after i make a website, i always put the NEW css for other things that werent in the 1st ver on the side. idk why */
#about a {
color: white;
}
#about a:hover {
color: #cccccc;
}
#socials a,
#contact a {
color: #E8AA42;
text-decoration: underline;
}
#socials a:hover,
#contact a:hover {
color: #d6892b;
}
.section-links {
display: flex;
flex-direction: column;
gap: 10px;
}
.section-links a {
color: white;
font-size: 18px;
text-decoration: none;
background-color: rgba(255, 255, 255, 0.1);
padding: 8px 16px;
border-radius: 12px;
text-align: center;
transition: background-color 0.3s;
}
.section-links a:hover {
background-color: rgba(255, 255, 255, 0.2);
}
@keyframes trailFade {
0% {
opacity: 0.5;
}
100% {
opacity: 0;
}
}
@media only screen and (max-width: 890px) {
body {
background: url('wallpaper-mobile.svg') no-repeat center center fixed;
background-size: cover;
}
}
</style>
</head>
<body>
<div class="container">
<div class="left-section">
<img src="favicon.svg" alt="Andrecon's Logo" id="pfp">
<h2>Andrecon</h2>
<div class="quick-info">
<p>Professional Graphic Designer</p>
</div>
</div>
<div class="center-section">
<div id="about" class="content active">
<h1>About me</h1>
<p>My name's Andrecon. I am a <a href="https://www.instagram.com/andrecon.des/" target="_blank">graphic designer</a>. I do tons of <a href="https://www.threads.net/@andrecon.des" target="_blank">comics</a>.<br>
You can usually find me on Instagram and Threads.<br>
I am currently learning batch script but I might learn smth else some other day.<br>
I kinda know HTML and CSS</p>
<p>Also check out: <a href="https://cgcristi.xyz" style="color: #E8AA42; text-decoration: underline;" target="_blank">cgcristi.xyz</a></p>
</div>
<div id="socials" class="content">
<h1>Socials</h1>
<p>Modrinth: <a href="https://modrinth.com/user/ItzAndrecon" class="button" target="_blank">ItzAndrecon</a></p>
<p><i class="fa-brands fa-reddit fa-2xl" style="margin-right: 10px;"></i><a href="https://www.reddit.com/user/Andrecon6G/" class="button" target="_blank">Andrecon6G</a></p>
<p><i class="fa-brands fa-x-twitter fa-2xl" style="margin-right: 10px;"></i>: <a href="https://x.com/AndreconDesigns" class="button" target="_blank">AndreconDesigns</a></p>
<p><i class="fa-brands fa-github fa-2xl" style="margin-right: 10px;"></i> <a href="https://github.com/AndrecodeInBrackets" class="button" target="_blank">AndrecodeInBrackets</a></p>
<p><i class="fa-brands fa-instagram fa-beat fa-2xl" style="margin-right: 10px;"></i> <a href="https://www.instagram.com/andrecon.des" class="button" target="_blank">@andrecon.des</a> / <a href="https://www.instagram.com/andrecon6g" class="button" target="_blank">@andrecon6g</a></p>
</div>
<div id="contact" class="content">
<h1>Contact</h1>
<p>Email: <a href="mailto:[email protected]" class="button">[email protected]</a></p>
<p>Designs Email: <a href="mailto:[email protected]" class="button">[email protected]</a></p>
<p>Instagram: <a href="https://www.instagram.com/andrecon.des" class="button" target="_blank">@andrecon.des</a> / <a href="https://www.instagram.com/andrecon6g" class="button" target="_blank">@andrecon6g</a></p>
</div>
</div>
<div class="section-links">
<a href="#" onclick="showContent('about')">
<i class="fa fa-info-circle"></i> About me
</a>
<a href="#" onclick="showContent('socials')">
<i class="fa fa-share-alt"></i> Socials
</a>
<a href="#" onclick="showContent('contact')">
<i class="fa fa-envelope"></i> Contact
</a>
</div>
</div>
<script>
function showContent(sectionId) {
const contents = document.querySelectorAll('.content');
contents.forEach(content => content.classList.remove('active'));
document.getElementById(sectionId).classList.add('active');
}
</script>
</body>
</html>