-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b9b36d0
Showing
3 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Newton School of Technology Student Developer Club</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<!-- Particle.js container --> | ||
<div id="particles-js"></div> | ||
|
||
<div class="content"> | ||
<div class="card" data-tilt> | ||
<h1>Newton School of Technology</h1> | ||
<h2>Student Developer Club</h2> | ||
<p>Our website is under construction.</p> | ||
<p><strong>Coming Soon!</strong></p> | ||
</div> | ||
</div> | ||
|
||
<!-- Scripts --> | ||
<script src="https://cdn.jsdelivr.net/npm/particles.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// Initialize Particle.js | ||
particlesJS('particles-js', { | ||
particles: { | ||
number: { | ||
value: 80, | ||
density: { | ||
enable: true, | ||
value_area: 800 | ||
} | ||
}, | ||
color: { | ||
value: "#ffffff" | ||
}, | ||
shape: { | ||
type: "circle", | ||
stroke: { | ||
width: 0, | ||
color: "#000000" | ||
} | ||
}, | ||
opacity: { | ||
value: 0.5, | ||
random: false, | ||
anim: { | ||
enable: false, | ||
speed: 1, | ||
opacity_min: 0.1, | ||
sync: false | ||
} | ||
}, | ||
size: { | ||
value: 3, | ||
random: true, | ||
anim: { | ||
enable: false, | ||
speed: 40, | ||
size_min: 0.1, | ||
sync: false | ||
} | ||
}, | ||
line_linked: { | ||
enable: true, | ||
distance: 150, | ||
color: "#ffffff", | ||
opacity: 0.4, | ||
width: 1 | ||
}, | ||
move: { | ||
enable: true, | ||
speed: 6, | ||
direction: "none", | ||
random: false, | ||
straight: false, | ||
out_mode: "out", | ||
bounce: false, | ||
attract: { | ||
enable: false, | ||
rotateX: 600, | ||
rotateY: 1200 | ||
} | ||
} | ||
}, | ||
interactivity: { | ||
detect_on: "canvas", | ||
events: { | ||
onhover: { | ||
enable: true, | ||
mode: "repulse" | ||
}, | ||
onclick: { | ||
enable: true, | ||
mode: "push" | ||
}, | ||
resize: true | ||
}, | ||
modes: { | ||
grab: { | ||
distance: 400, | ||
line_linked: { | ||
opacity: 1 | ||
} | ||
}, | ||
bubble: { | ||
distance: 400, | ||
size: 40, | ||
duration: 2, | ||
opacity: 8, | ||
speed: 3 | ||
}, | ||
repulse: { | ||
distance: 200, | ||
duration: 0.4 | ||
}, | ||
push: { | ||
particles_nb: 4 | ||
}, | ||
remove: { | ||
particles_nb: 2 | ||
} | ||
} | ||
}, | ||
retina_detect: true | ||
}); | ||
|
||
// Initialize Tilt.js | ||
VanillaTilt.init(document.querySelectorAll("[data-tilt]"), { | ||
max: 25, | ||
speed: 400, | ||
glare: true, | ||
"max-glare": 0.5 | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/* Basic Reset */ | ||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
overflow: hidden; | ||
font-family: 'Arial', sans-serif; | ||
background-color: #0f2027; | ||
color: #fff; | ||
} | ||
|
||
/* Particle.js Background */ | ||
#particles-js { | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
z-index: -1; | ||
background-color: #0f2027; /* Dark gradient background */ | ||
background-image: linear-gradient(315deg, #0f2027 0%, #203a43 74%); | ||
} | ||
|
||
/* Centered Content */ | ||
.content { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
text-align: center; | ||
z-index: 10; | ||
} | ||
|
||
/* Card Style */ | ||
.card { | ||
background: rgba(255, 255, 255, 0.1); | ||
padding: 40px; | ||
border-radius: 15px; | ||
backdrop-filter: blur(10px); | ||
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37); | ||
border: 1px solid rgba(255, 255, 255, 0.18); | ||
color: #fff; | ||
transition: transform 0.3s ease; | ||
} | ||
|
||
/* Text Styling */ | ||
.card h1 { | ||
font-size: 2.5em; | ||
margin: 0; | ||
color: #ff7e5f; | ||
} | ||
|
||
.card h2 { | ||
font-size: 1.5em; | ||
margin: 10px 0; | ||
color: #f7b733; | ||
} | ||
|
||
.card p { | ||
font-size: 1.2em; | ||
margin: 10px 0; | ||
color: #dfe6e9; | ||
} | ||
|
||
.card strong { | ||
color: #ff7e5f; | ||
} | ||
|
||
/* Hover Effects */ | ||
.card:hover { | ||
transform: scale(1.05); | ||
} |