From 79143f0b40f0a7b6b484abb937ebe59e77e93368 Mon Sep 17 00:00:00 2001 From: jms9354 <jms9354@psu.edu> Date: Thu, 30 Mar 2023 14:43:57 -0400 Subject: [PATCH] GitHub page added --- docs/GitHub.html | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ docs/index.html | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 docs/GitHub.html diff --git a/docs/GitHub.html b/docs/GitHub.html new file mode 100644 index 0000000..f6ed6bc --- /dev/null +++ b/docs/GitHub.html @@ -0,0 +1,58 @@ +<!DOCTYPE html> +<html> + <head> + <title>Politics-Conspiracies-Project(GitHub)</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <link rel="stylesheet" href="CSSstyle.css"> + </head> + <body><button onclick="topFunction()" id="to-top" title="Go to top"><img alt="up arrow" + src="https://cdn.onlinewebfonts.com/svg/img_231938.png" width="30" /></button> + <script> + // Get the button + let mybutton = document.getElementById("to-top"); + + // When the user scrolls down 20px from the top of the document, show the button + window.onscroll = function () { + scrollFunction() + }; + + function scrollFunction() { + if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { + mybutton.style.display = "block"; + } else { + mybutton.style.display = "none"; + } + } + + // When the user clicks on the button, scroll to the top of the document + function topFunction() { + document.body.scrollTop = 0; + document.documentElement.scrollTop = 0; + }</script> + <h1 id="title-index">Politics-Conspiracies (GitHub)</h1> + <hr/> + <nav id="menu"> + <a href="index.html"><div class="button">Home</div></a> + <a href="fulltext.html"><div class="button">Fulltext</div></a> + <a href="analysis.html"><div class="button">Analysis</div></a> + <a href="gallery.html"><div class="button">Gallery</div></a> + <a href="bio.html"><div class="button">Biography</div></a> + <a href="about.html"><div class="button">About</div></a> + <a href="github_links.html"><div class="button">GitHub <img + alt="github icon" + src="https://logos-download.com/wp-content/uploads/2016/09/GitHub_logo.png" + width="15" /></div></a> + </nav> + <h1 id="GitHub">Discover More</h1> + <hr/> + <nav id="github-links"> + <h2>Our GitHub Repository</h2> + + <pre> + + </pre> + + <a href="https://github.com/nhammer514/textfiles-politics"><h3>Repository page</h3></a><br/> + </nav> + </body> +</html> \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index dd43999..853e1be 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ <head> <title>Politics-Conspiracies-Project</title> - <link rel="stylesheet" href="CSSstyle.css"></link>" + <link rel="stylesheet" href="CSSstyle.css"></link> </head> <body><h1 id="title-index">Politics-Conspiracies-Project</h1> <nav id="menu">