-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
173 lines (154 loc) · 5.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Vivesh Tyagi | Tech Enthusiast</title>
<!-- Favicon -->
<link rel="icon" href="favicon.ico" type="image/png">
<!-- Fonts and Icons -->
<link href="https://fonts.googleapis.com/css2?family=Reem+Kufi&family=Roboto:wght@300;400&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<!-- Styles -->
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/styles.css">
<style>
/* Background Styling */
body {
font-family: 'Roboto', sans-serif;
background-image: url('./im/wat.jpg');
background-size: cover;
background-position: center;
color: #fff;
margin: 0;
padding: 0;
line-height: 1.6;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
/* Transparent Content Container */
.container {
background-color: rgba(0, 0, 0, 0.6); /* Black with 60% transparency */
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
text-align: center;
}
header {
margin-bottom: 2rem;
}
.intro {
font-size: 2rem;
color: #fff;
margin-bottom: 0.5rem;
}
.tagline {
font-size: 1.2rem;
color: #ccc;
}
.icons-social {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 1rem;
}
.icons-social a {
color: #fff;
text-decoration: none;
transition: transform 0.3s ease, color 0.3s ease;
}
.icons-social a:hover {
color: #00bcd4;
transform: scale(1.1);
}
.portfolio {
margin-top: 2rem;
}
.portfolio a {
color: #00bcd4;
font-size: 1rem;
text-decoration: none;
border: 1px solid #00bcd4;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.portfolio a:hover {
background-color: #00bcd4;
color: #fff;
}
/* Theme Toggle */
.theme-toggle {
position: fixed;
top: 1rem;
right: 1rem;
background: rgba(0, 0, 0, 0.7);
color: #fff;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.3s ease;
}
.theme-toggle:hover {
background: #00bcd4;
}
</style>
</head>
<body>
<button class="theme-toggle" id="themeToggle" title="Toggle Theme">
<i class="fas fa-adjust"></i>
</button>
<div class="container">
<header>
<div class="intro">Hi, I'm Vivesh!</div>
<div class="tagline">An Aspiring Expert in Cloud Technologies</div>
</header>
<section>
<div class="icons-social">
<a href="https://vivesh.vercel.app/" target="_blank" aria-label="Website">
<i class="fas fa-globe" title="Website"></i>
</a>
<a href="https://github.com/574n13y" target="_blank" aria-label="Github">
<i class="fab fa-github" title="GitHub"></i>
</a>
<a href="https://gitlab.com/574n13y" target="_blank" aria-label="GitLab">
<i class="fab fa-gitlab" title="GitLab"></i>
</a>
<a href="https://www.linkedin.com/in/vivesh-tyagi-9085a9a9" target="_blank" aria-label="LinkedIn">
<i class="fab fa-linkedin" title="LinkedIn"></i>
</a>
<a href="https://dev.to/574n13y" target="_blank" aria-label="Dev.to">
<i class="fab fa-dev" title="Dev.to"></i>
</a>
<a href="https://gist.github.com/574n13y" target="_blank" aria-label="Gist GitHub">
<i class="fas fa-code" title="Gist GitHub"></i>
</a>
<a href="https://www.credly.com/users/vivesh-tyagi" target="_blank" aria-label="Credly">
<i class="fas fa-certificate" title="Credly"></i>
</a>
</div>
<div class="portfolio">
<a href="https://574n13y.github.io/portfolio/index.html" target="_blank">
<i class="fas fa-external-link-alt" title="Portfolio"></i> View My Portfolio
</a>
</div>
</section>
</div>
<script>
// Theme Toggle Functionality
const themeToggle = document.getElementById('themeToggle');
themeToggle.addEventListener('click', () => {
document.body.classList.toggle('dark-theme');
});
</script>
</body>
</html>