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

Change host for resume #1

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
</div>

<div id="home" class="bucket">
<div class="title">Welcome to Brandon-Morris.com!</div>
<div class="larger">Welcome to Brandon-Morris.com!</div>
<div>
<ul>
<li>
<div class="home-heading">About:</div>



<div class="home-content">
<ul>
<li class="home-li">This is an on-going project for resource aggregation.</li>
Expand All @@ -60,12 +60,25 @@
<li class="home-li">Checkout the Resume tab, for my work experience.</li>
<ul>
</div>
</li>
</ul>


</div>
</div>
<iframe id="resume" src="./resume_current.pdf" frameborder="0" scrolling="auto" height="98%" width="98%"></iframe>
<!-- <iframe id="resume" src="./resume_current.pdf" frameborder="0" scrolling="auto" height="98%" width="98%"></iframe> -->

<div id="resume" class="altResume bucket" >

<div>
I am currently hosting my resume via google drive, <br>
the link below will take you to the PDF.
<br>
<a href="https://drive.google.com/file/d/1D-2grFgDkDX354h5-y4QNTaOdOuA2he0/view?usp=sharing">brandon-morris-resume</a>




</div>
</div>
<div id="contact" class="bucket">
<div class="title">contact info</div>
<div>
Expand Down Expand Up @@ -118,10 +131,16 @@
<div> Home Security: these are DIY / IP Camera friendly </div>
<a href="https://home-security-systems.bestreviews.net/best-open-source-home-security-systems/"> Open Source Home Security </a>
</li>
<li>
<div> Garage Door Opener: Home Automation's hello world </div>
<a href="https://github.com/brandon-morris/garage-opener"> See my git repo </a>
</li>

</ul>
</div>
</div>


<div id="p" onclick="praetorians()">π</div>
<script src="./script.js"></script>
</body>
Expand Down
Binary file modified docs/resume_current.pdf
Binary file not shown.
9 changes: 6 additions & 3 deletions docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ let resume = document.getElementById("resume");
let home = document.getElementById("home");
let contact = document.getElementById("contact");
let library = document.getElementById("library");
//TODO: add resource_lib and contact.
let altResume = document.getElementById("altResume");

init();

function init() {
home.style.display = "none";
resume.style.display = "flex";
home.style.display = "flex";
resume.style.display = "none";
contact.style.display = "none";
library.style.display = "none";
}
Expand All @@ -19,6 +20,8 @@ function closeButtonOnClickHandler() {

function navOnClickHandler(value) {
let selectedElement = document.getElementById(value);
if (value == "resume" && window.screen.availWidth < 900) {
}

resume.style.display = "none";
home.style.display = "none";
Expand Down
6 changes: 4 additions & 2 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,17 @@ li {


#resume {
height: 90vh;
/* height: 90vh;
width: 90vw;
padding: 2%;
margin: 1%;
border-style: dashed;
border-color: lime;
border-radius: 2%;
border-radius: 2%; Temporarily disabling these. */
}
.altResume {

}
#close-button {
all: initial;
height: 27px;
Expand Down