Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update landing page #5

Merged
merged 1 commit into from May 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 9 additions & 31 deletions index.html
Expand Up @@ -9,8 +9,7 @@
<style>
body {
font-family: Arial, sans-serif;
background-color: #f6f8fa;
/* background-color: #9ed5c0; */
background-color: #e2f3f8;
}

h1, h2 {
Expand All @@ -31,12 +30,7 @@
margin: auto;
margin-top: 24px;
border: 1px solid #e4e8eb;
background-color: #f9fbfc;
/*
background-color: #f6f8fa;
*/
overflow: visible;

background-color: #f0f6fb;
}

.overflowcontainer {
Expand Down Expand Up @@ -68,7 +62,6 @@
.card.show {
opacity: 1;
transform: translateY(0);
/* display: block; */
}

.issue-title {
Expand Down Expand Up @@ -173,16 +166,12 @@ <h1>Pull Pal</h1>
<div class="added">+ randomNumber := rand.Intn(31) + 20</div>
<div class="added">+ fmt.Fprint(w, strconv.Itoa(randomNumber))</div>
<div class="added">+ })</div>
<div class="removed">- Existing code line 2</div>
<div class="added">+ New code line 2</div>
<div class="removed">- Existing code line 1</div>
<div class="added">+ New code line 1</div>
<div class="removed">- Existing code line 2</div>
<div class="added">+ New code line 2</div>
<div class="removed">- Existing code line 1</div>
<div class="added">+ New code line 1</div>
<div class="removed">- Existing code line 2</div>
<div class="added">+ New code line 2</div>
<div class="removed">- func setHeaders(w *http.ResponseWriter) { </div>
<div class="added">+ func setCustomHeaders(w *http.ResponseWriter) { </div>
<div class="removed">- backgroundColor = "white" </div>
<div class="added">+ backgroundColor = "#f0f6fb" </div>
<div class="removed">- router.HandleFunc("/api/strings", stringHandler) </div>
<div class="added">+ router.HandleFunc("/api/number", numberHandler) </div>
</div>
</div>
</div>
Expand Down Expand Up @@ -236,19 +225,8 @@ <h1>Pull Pal</h1>
nextBtn.addEventListener('click', () => {
updateCards();
});
/*
prevBtn.addEventListener('click', () => {
currentIndex -= 1;
updateCards();
});

nextBtn.addEventListener('click', () => {
currentIndex += 1;
updateCards();
});
*/

updateCards();
</script>
</body>
</html>
</html>