Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7e4df91
first commit
shawns21 Apr 14, 2023
b9675c9
s
shawns21 Apr 14, 2023
69f5f8f
first commit
shawns21 Apr 14, 2023
78611f7
initial layout and navbar
shawns21 Apr 15, 2023
ed1ba29
basic template, navbar animation and picture
shawns21 Apr 16, 2023
eec5860
movie slider
shawns21 Apr 17, 2023
55de3dd
s
shawns21 Apr 17, 2023
ef7efe0
social links added
shawns21 Apr 18, 2023
16b2558
social links added
shawns21 Apr 18, 2023
2250adc
slide animation
shawns21 Apr 19, 2023
7d28418
link preview cards
shawns21 Apr 20, 2023
8300f64
new link card
shawns21 Apr 20, 2023
316f90d
changed to grid layout
shawns21 Apr 21, 2023
28c8859
Update main.css
shawns21 Apr 22, 2023
46c672d
Update main.css
shawns21 Apr 22, 2023
df4a70a
Merge branch 'main' of https://github.com/shawns21/ttp_cohort_4_appli…
shawns21 Apr 22, 2023
7318442
changed link
shawns21 Apr 22, 2023
a269e4f
added linkedin box
shawns21 Apr 22, 2023
0842477
test
shawns21 Apr 22, 2023
248b330
email box
shawns21 Apr 23, 2023
66be63f
changed email design
shawns21 Apr 23, 2023
9bd232c
resizeable email box
shawns21 Apr 23, 2023
8835e7b
working emailbox
shawns21 Apr 23, 2023
33cd215
new working emailbox
shawns21 Apr 23, 2023
5f7eecf
added name and about me, changed color
shawns21 Apr 25, 2023
54f9278
titles and footer
shawns21 Apr 25, 2023
8967b10
fixed footerbug
shawns21 Apr 25, 2023
d7a92e7
pre movie slider
shawns21 Apr 25, 2023
9e95ff4
new logo
shawns21 Apr 26, 2023
8a52d10
Final changes, added movie poster slideshow
shawns21 Apr 27, 2023
c64e7a0
changed arrow direction
shawns21 Apr 27, 2023
e071814
added divider between skills and portfolio
shawns21 Apr 28, 2023
8d82c46
changed sizing for mobile view
shawns21 Apr 29, 2023
668d146
changed font sizing
shawns21 Apr 29, 2023
8341952
fixed some of mobile view
shawns21 May 1, 2023
73f7ee5
horizontal movie slider
shawns21 May 6, 2023
43222ec
stop reize
shawns21 May 6, 2023
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"livePreview.defaultPreviewPath": "/index.html"
}
Binary file added images/2001.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/2080299.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/9591ed82caa8d20c30db96cb7298d3a9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/CSS3_logo.svg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Google_Drive_icon_(2020).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/c-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/enter_dragon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/goodfellas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/html-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/javascript-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/johnjay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/linkedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/linkedinicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/resume.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions images/square-github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/yans.ttf
Binary file not shown.
166 changes: 166 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"/>
<link rel="stylesheet" href="styles/main.css">
<title>Shawn Sinanan Website</title>
<script defer src="js/script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
</head>
<body>

<header>
<div class="navbar">
<ul class="links">
<li><a href="#aboutContainer">About</a></li>
<li><a href="#skillsContainer">Skills</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</header>

<div class="pageGrid">

<div class="container firRow">
<div class="hidden" id="intro">
<div class="name">
Shawn Sinanan
<p>Fulltime Student at John Jay College of Criminal Justice</p>
<img src="/images/johnjay.png">
</div>
</div>
<div class="hidden" id="picture">
<img src="/images/profile.png" style="border-radius: 10%">
</div>
</div>

<div class="container" id="aboutContainer">
<div class="hidden" id="aboutMe">
<div class="bio">
Hello, I'm a college sophomore studying Computer Science at John Jay College. I was born in Queens, but my parents are from Trinidad and Tobago. I enjoy going to the gym and collecting VHS tapes of my favorite old movies. Through my website portfolio, I hope to showcase my technical skills and connect with others in the tech community.
</div>
</div>
</div>
<div class="container" id="posterContainer">
<div class="swiper" id="swipers">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="/images/2001.jpg">
</div>
<div class="swiper-slide">
<img src="/images/goodfellas.jpg">
</div>
<div class="swiper-slide">
<img src="/images/enter_dragon.jpg">
</div>
</div>
<div class="swiper-button-prev navBtn" id="top"></div>
<div class="swiper-button-next navBtn" id="bot"></div>
</div>
<div class="postertitle">Here are some of my favorite movie posters.</div>
</div>


<div class="container" id="skillsContainer">
<div class="hidden" id="skills">
<div class="gridTitle">Skills</div>
<div class="logo" id = "html">
<img src="/images/html-1.svg">
</div>
<div class="logo" id = "css">
<img src="/images/CSS3_logo.svg.png">
</div>
<div class="logo" id = "javascript">
<img src="/images/javascript-1.svg">
</div>
<div class="logo" id="python">
<img src="/images/9591ed82caa8d20c30db96cb7298d3a9.png">
</div>
<div class="logo" id="cplus">
<img src="/images/c-logo.png" >
</div>
</div>
</div>

<div class="container" id="portfolioContainer">
<div class="hidden" id="portfolio">
<div class="portLinks" id="github" data-url="https://github.com/shawns21">
<img src="/images/2080299.png">
<p>GitHub</p>
</div>
</div>
<div class="hidden" id="portfolio2">
<div class="portLinks" id="resume" data-url="https://docs.google.com/document/d/e/2PACX-1vRoMmq93HNf6KBnRr9d7I0-7FASa2Dm-u5VElQS0C3WLtwWYLUvtnFux49yqT5PStXxo-J5BCfprWgI/pub">
<img src="/images/Google_Drive_icon_(2020).png">
<p>Resume</p>
</div>
</div>
</div>


<div class="container" id="contactContainer">
<div class="hidden" id="linked">
<div class="portLinks" id="linkedin" data-url="https://www.linkedin.com/in/shawn-sinanan-073a111a4/">
<img src="/images/linkedin.png">
<p>LinkedIn</p>
</div>
</div>

<div class="hidden" id="contact">
<div class="form1" id="messageForm">
<div class="title">Send an Email</div>
<div class="input-container ic1">
<input id="email" class="input" type="email" placeholder="Email Address"required>
</div>
<div class="input-container ic2">
<textarea id="message" class="input" placeholder="Message"></textarea>
</div>
<button class="submitButton" id="emailSubmit" onclick="sendEmail()">Submit</button>
</div>

<div class="form2" id="thankPage" style="display:none">
<div class="thanks">Thanks for Submitting</div>
</div>
</div>
</div>

</div>

<footer class="footer">
<div class="icon">
<a href="https://www.linkedin.com/in/shawn-sinanan-073a111a4/"><img src="/images/linkedinicon.svg"></a>
<a href="https://github.com/shawns21"><img src="/images/square-github.svg"></a>
</div>
</footer>

<script src="https://smtpjs.com/v3/smtp.js"></script>
<script>

function sendEmail(){

let email = document.getElementById('email').value;
let message = document.getElementById('message').value;

Email.send({
SecureToken : "e364c7f5-6dbe-491d-b724-71f2b8901dd4",
To : 'shawnsinanan21@gmail.com',
From : 'shawnsinanan21@gmail.com',
Subject : "Portfolio Email",
Body : "Email: " + email + "<br/>" + "Message: " + message
})

var messageForm = document.getElementById("messageForm");
var thankPage = document.getElementById("thankPage");

messageForm.style.display = (
messageForm.style.display == "none" ? "block" : "none");

thankPage.style.display = (
thankPage.style.display == "none" ? "block" : "none");
}
</script>
</body>
</html>
55 changes: 55 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
const looker = new IntersectionObserver((entries) => {
entries.forEach((entry) => {

console.log(entry)

if (entry.isIntersecting){
entry.target.classList.add('show');
}

})
});

const hiddenElems = document.querySelectorAll('.hidden');
hiddenElems.forEach((el) => looker.observe(el));

const icons = document.querySelectorAll('.portLinks');

icons.forEach(icon => {

icon.addEventListener('click', () => {
window.open(icon.dataset.url, target="_blank");
})

icon.style.cursor = "pointer";

})

const swiper = new Swiper('.swiper', {
// Optional parameters
loop: true,

// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},

});

const swipe = document.getElementById('swipers');

const hiddenTop = document.getElementById('top')
const hiddenBot = document.getElementById('bot')

swipe.addEventListener('mouseover', function handleMouseOver() {
hiddenTop.style.display = null;
hiddenBot.style.display = null;
});

swipe.addEventListener('mouseout', function handleMouseOut() {
hiddenTop.style.display = 'none';
hiddenBot.style.display = 'none';
});


Loading