-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
131 lines (117 loc) · 2.89 KB
/
Copy pathindex.html
File metadata and controls
131 lines (117 loc) · 2.89 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
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
<!DOCTYPE html>
<html>
<head>
<title>Sanudking's Site</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<style>
body, html {
margin: 0;
padding: 0;
font-family: sans-serif;
scroll-behavior: smooth;
}
#vanta-bg {
width: 100vw;
height: 100vh;
position: relative;
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
z-index: 1;
}
nav {
position: fixed;
top: 0;
width: 100%;
background: rgba(0,0,0,0.6);
padding: 10px;
text-align: center;
z-index: 2;
}
nav a {
color: white;
margin: 0 15px;
text-decoration: none;
font-weight: bold;
}
section {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 40px;
color: white;
}
#about {
background: #222;
}
#projects {
background: #333;
}
#contact {
background: #111;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav>
<a href="#vanta-bg">Home</a>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</nav>
<!-- Hero Section -->
<div id="vanta-bg">
<div class="content">
<h1>HELLO WORLD!</h1>
<b>HI I AM Sudhanshu</b>
<marquee><b>HI I AM SANU</b> <b>HI I AM SANU</b></marquee>
</div>
</div>
<!-- About Section -->
<section id="about">
<h2>About Me</h2>
<p>
Hey! I am <b>Sanu</b>, a beginner developer who loves coding, learning new technologies,
and experimenting with cool web designs.
Currently studying in NIT Jalandhar, and building my journey in programming step by step 🚀
</p>
</section>
<!-- Projects Section -->
<section id="projects">
<h2>My Projects</h2>
<p>Coming Soon... (I’ll showcase my work here 😎)</p>
</section>
<!-- Contact Section -->
<section id="contact">
<h2>Contact</h2>
<p>Email: <a href="mailto:youremail@gmail.com" style="color:lightblue;">sanudking@gmail.com</a></p>
<p>GitHub: <a href="https://github.com/sanudking" target="_blank" style="color:lightblue;">github.com/sanudking</a></p>
</section>
<!-- Vanta.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
<script>
VANTA.WAVES({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x410c3d
});
</script>
</body>
</html>