mirror of
https://github.com/Pull-Pal/pull-pal.git
synced 2024-12-21 17:46:24 -05:00
Update landing page (#5)
- Changed the background color of the body and the content container to be more engaging. - Updated the code diff example to display more realistic changes that one might see in a pull request. Resolves #4
This commit is contained in:
parent
47928d1aed
commit
4a91cb37cd
40
index.html
40
index.html
@ -9,8 +9,7 @@
|
|||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
background-color: #f6f8fa;
|
background-color: #e2f3f8;
|
||||||
/* background-color: #9ed5c0; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
@ -31,12 +30,7 @@
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
border: 1px solid #e4e8eb;
|
border: 1px solid #e4e8eb;
|
||||||
background-color: #f9fbfc;
|
background-color: #f0f6fb;
|
||||||
/*
|
|
||||||
background-color: #f6f8fa;
|
|
||||||
*/
|
|
||||||
overflow: visible;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.overflowcontainer {
|
.overflowcontainer {
|
||||||
@ -68,7 +62,6 @@
|
|||||||
.card.show {
|
.card.show {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
/* display: block; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.issue-title {
|
.issue-title {
|
||||||
@ -173,16 +166,12 @@ Files: README.md,index.html,main.go</div>
|
|||||||
<div class="added">+ randomNumber := rand.Intn(31) + 20</div>
|
<div class="added">+ randomNumber := rand.Intn(31) + 20</div>
|
||||||
<div class="added">+ fmt.Fprint(w, strconv.Itoa(randomNumber))</div>
|
<div class="added">+ fmt.Fprint(w, strconv.Itoa(randomNumber))</div>
|
||||||
<div class="added">+ })</div>
|
<div class="added">+ })</div>
|
||||||
<div class="removed">- Existing code line 2</div>
|
<div class="removed">- func setHeaders(w *http.ResponseWriter) { </div>
|
||||||
<div class="added">+ New code line 2</div>
|
<div class="added">+ func setCustomHeaders(w *http.ResponseWriter) { </div>
|
||||||
<div class="removed">- Existing code line 1</div>
|
<div class="removed">- backgroundColor = "white" </div>
|
||||||
<div class="added">+ New code line 1</div>
|
<div class="added">+ backgroundColor = "#f0f6fb" </div>
|
||||||
<div class="removed">- Existing code line 2</div>
|
<div class="removed">- router.HandleFunc("/api/strings", stringHandler) </div>
|
||||||
<div class="added">+ New code line 2</div>
|
<div class="added">+ router.HandleFunc("/api/number", numberHandler) </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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -236,19 +225,8 @@ pauseBtn.addEventListener('click', () => {
|
|||||||
nextBtn.addEventListener('click', () => {
|
nextBtn.addEventListener('click', () => {
|
||||||
updateCards();
|
updateCards();
|
||||||
});
|
});
|
||||||
/*
|
|
||||||
prevBtn.addEventListener('click', () => {
|
|
||||||
currentIndex -= 1;
|
|
||||||
updateCards();
|
|
||||||
});
|
|
||||||
|
|
||||||
nextBtn.addEventListener('click', () => {
|
|
||||||
currentIndex += 1;
|
|
||||||
updateCards();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
|
|
||||||
updateCards();
|
updateCards();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user