mirror of
https://github.com/Pull-Pal/pull-pal.git
synced 2024-09-07 20:45:16 -04: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
38
index.html
38
index.html
@ -9,8 +9,7 @@
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f6f8fa;
|
||||
/* background-color: #9ed5c0; */
|
||||
background-color: #e2f3f8;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
@ -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 {
|
||||
@ -68,7 +62,6 @@
|
||||
.card.show {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
/* display: block; */
|
||||
}
|
||||
|
||||
.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">+ 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>
|
||||
@ -236,17 +225,6 @@ pauseBtn.addEventListener('click', () => {
|
||||
nextBtn.addEventListener('click', () => {
|
||||
updateCards();
|
||||
});
|
||||
/*
|
||||
prevBtn.addEventListener('click', () => {
|
||||
currentIndex -= 1;
|
||||
updateCards();
|
||||
});
|
||||
|
||||
nextBtn.addEventListener('click', () => {
|
||||
currentIndex += 1;
|
||||
updateCards();
|
||||
});
|
||||
*/
|
||||
|
||||
updateCards();
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user