-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
148 lines (140 loc) · 6.49 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="/art/ezFavi.png">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="script" href="homeScripts/animation.js">
<link rel="stylesheet" href="/homeStyles/styles.css">
<title>Home</title>
</head>
<body>
<!--Start of body, putting nav bar first-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="home.html">
<img src="/art/ezSVG.svg" alt="Easy Intern" height="30" class="d-incline-block align-top">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="home.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html">Register</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
<!-- Add more links as needed -->
</ul>
</div>
</nav>
<!--if we make a change to this nav bar we have to copy and paste it to all other pages, this is what frameworks like react and vue solve-->
<section class="hero bg-primary text-white text-center">
<div class="needInternship">
<h1 class="bigTitle">Need an internship?</h1>
</div>
<h2>Register today to apply hundreds of companies in just minutes</h2>
</section>
<div class="start">
<h3 style="color:white;">Start your Internship Journey Today!!</h3>
<br>
<!--Button Code-->
<!--Stylizing the button, the first color is the background color and the second is the text color-->
<button id="redirectButton" class="btn btn-light btn-lg">Sign Up Today</button>
</div>
<script>
document.getElementById("redirectButton").addEventListener("click", function() {
window.location.href = "index.html";
});
</script>
<div class="weWork">
<div class="workText">
<h3>We Work with different companies in a variety of different industrys</h3>
<h4>While giving you the best possible odds of getting an internship in your chosen filed by showing the real you to employers</h4>
</div>
</div>
<div class="testWrapper">
<div class="test">
<div class="testText">
<h1>What is Easy Intern?</h1>
<hr>
<p>We know it can be challenging to get a college internship! Having to apply to hundreds of different companies in order to get just one or even two replies. This can be extremely time-consuming, especially when it comes to writing cover letters. Leaving your application to get overlooked by companies. </p>
<p>Here at Eazy Intern, we make this process more accessible than ever. Giving potential companies a better and more full representation of themselves so companies can see who you are! With just a straightforward process that takes about 20 minutes, you will be put in front of hundreds of different companies as applicants allowing you to apply to hundreds of internships at once!</p>
</div>
</div>
</div>
<div class="fieldsCompanies">
<h2>Companies We Work With:</h2>
</div>
<!--Some silly bouncy text that changes colors like a dvd-->
<div id="container">
<div id="movingText1"><a href="https://rgshealthcare.com/" target="_blank">RGS Healthcare</a></div>
<div id="movingText2"><a href="https://www.linkedin.com/company/chonky-raccoon-studios/about/" target="_blank">Chonky Racoon Studios</a></div>
<div id="movingText3"><a href="https://www.mdtronics.net/" target="_blank">MD Electronics</a></div>
</div>
<script src="/homeScripts/animation.js"> </script>
<!--end of silly stuff-->
<div class="leverageWrapper">
<div class="leverage">
<div class="testText">
<h1>Want your company to leverage the power of Eazy Intern?</h1>
<hr>
<h2>Learn more about how you can easily find the best fit for your positions</h2>
<button class="btn btn-light btn-lg"id="companyJoin" >Join Eazy Intern</button>
<script>
document.getElementById("companyJoin").addEventListener("click", function() {
window.location.href = "companyRegister.html";
});
</script>
</div>
</div>
</div>
<button id="secret" onClick="migrateData()">One time run</button>
<script>
function migrateData() {
// Assuming db is your Firestore database instance
db.collection('users').get().then((querySnapshot) => {
querySnapshot.forEach((doc) => {
var userData = doc.data();
if(userData.userType === "student") {
// Create new student document
var newStudentData = {
major: "Unspecified", // Set to some default value
gpa: 0, // Set to some default value
userId: doc.id
};
db.collection("students").doc(doc.id).set(newStudentData)
.then(() => {
console.log("Student written with ID: ", doc.id);
})
.catch((error) => {
console.error("Error adding student: ", error);
});
}
});
});
console.log("alright we did it")
}
</script>
<footer>
<div class="footerLinks">
<a href="/contact.html">Contact Us</a>
<div class="bar"></div>
<a href="/faq.html">FAQ</a>
</div>
<p>© 2023 Easy Intern. All rights reserved.</p>
</footer>
</body>
</html>