Skip to content

Commit

Permalink
updated portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
elin001 committed Nov 8, 2023
1 parent 06749ef commit cad9d93
Show file tree
Hide file tree
Showing 14 changed files with 1,892 additions and 1,745 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ellie Lin - Visual Jounalist</title>

<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100;0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,100;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,800;1,9..40,900;1,9..40,1000&display=swap" rel="stylesheet">
<script type="text/javascript" src="script.js" defer></script>
Expand Down Expand Up @@ -35,12 +35,12 @@ <h3 style="font-style: italic;">Student, journalist</h3>
</div>

<main id="content">
<p style="font-size: 2.5em; margin-right: 600px; margin-bottom: 0px">
I'm a senior Journalism major at the University of Missouri. I like breaking down complex concepts into impactful, visual stories.
<p class="about">
I'm a senior Journalism major at the University of Missouri. I like breaking down complex concepts into impactful, visual stories for every audience member.
</p>

<p>

You can check out what I'm up to on <a href="https://www.linkedin.com/in/ellie-d-lin/">Linkedin</a> or <a href="https://twitter.com/ellielin_">Tw*tter</a>.
</p>

</main>
Expand Down
Binary file added media/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file modified media/animations.aep
Binary file not shown.
Binary file added media/census.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,410 changes: 1,687 additions & 1,723 deletions media/ellie-preset.ai

Large diffs are not rendered by default.

Binary file added media/induction2.gif
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 media/induction2.mp4
Binary file not shown.
Binary file added media/migrants-journey-scroller.gif
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 media/migrants-journey-scroller.mp4
Binary file not shown.
44 changes: 42 additions & 2 deletions portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,51 @@ <h1>Portfolio</h1>
</div>

<main id="content">
<p></p>
<div class="portfolio">
<div class="byline"></div>
<div class="byline">
<img id="autoplayGif" src="media/migrants-journey-scroller.gif" alt="An animated look at the 3D terrain of Caparguná, Colombia. Caparguná is a port city near an entrance to the Darién Gap.">
<div class="hedder">
<h2 class="hed"><a class="hedlink" href="https://www.sacbee.com/news/equity-lab/article276713191.ece">How this migrant traveled thousands of miles to Sacramento</a></h2>
<h3 class="outlet">Sacramento Bee</h3>
<p class="tools">Google Earth Studio, After Effects, Scrollytelling</p>
</div>
</div>
<br>
<div class="byline">
<img id="autoplayGif" src="media/induction2.gif" alt="An animation of a wok on an induction burner. There is a cross section of how an induction cooker works.">
<div class="hedder">
<h2 class="hed"><a class="hedlink" href="https://www.sacbee.com/news/politics-government/capitol-alert/article277266813.ece">SoCalGas spends millions to fight bans on restaurant gas use</a></h2>
<h3 class="outlet">Sacramento Bee</h3>
<p class="tools">After Effects</p>
<p>Read about my process for designing and drafting this story <a href="https://rjionline.org/news/wok-and-scroll-the-process-of-designing-an-animated-information-graphic/">here</a>.</p>
</div>
</div>
<br>
<div class="byline">
<img src="media/census.png" alt="An illustration that includes a chloropleth map of California counties and text that reads 'See how Sacramento has changed since the pandemic in 9 charts'">
<div class="hedder">
<h2 class="hed"><a class="hedlink" href="https://www.sacbee.com/news/california/article276501901.ece">See how Sacramento area has changed since pandemic in 9 charts based on new Census data</a></h2>
<h3 class="outlet">Sacramento Bee</h3>
<p class="tools">RStudio/tidycensus, Census Bureau API, Datawrapper, Illustrator</p>
<p>Read about how we worked on this story and a code quickstart for people looking to get into RStudio and the Census Bureau's API <a href="https://rjionline.org/news/making-census-data-accessible-for-reporters-with-varying-data-literacy/">here</a>.</p>
</div>
</div>
<br>
<div class="byline">
<div style="padding: 10px">
<iframe title="Increase in statewide reported hate crimes after 2020" aria-label="Interactive line chart" id="datawrapper-chart-lZ3oI" src="https://datawrapper.dwcdn.net/lZ3oI/6/" scrolling="no" frameborder="0" style="border: none;" width="600" height="400" data-external="1"></iframe>
</div>
<div class="hedder">
<h2 class="hed"><a class="hedlink" href="https://www.sacbee.com/news/local/article276809221.ece">Anti-LGBTQ crimes nearly doubled in Sacramento area in 2022, state hate crime report says</a></h2>
<h3 class="outlet">Sacramento Bee</h3>
<p class="tools">RStudio, Datawrapper</p>
</div>
</div>
<br>
</div>

</main>

<script src="script.js"></script>
</body>
</html>
27 changes: 19 additions & 8 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
$(document).ready(function () {
//gif
const gif = document.getElementById('autoplayGif');

$('.menu').click(function() {
$('.overlay').toggleClass('anim');
$(this).addClass('open')
const options = {
root: null,
rootMargin: '0px',
threshold: 0.5,
};

const handleIntersection = (entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
gif.src = gif.src;
} else {
gif.src = gif.src;
}
});
};

const observer = new IntersectionObserver(handleIntersection, options);

$('.open').click(function(){
$('.overlay').toggleClass('reverse-animation');
})
});
observer.observe(gif);
86 changes: 78 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
main{
main {
display: flex;
flex-flow: column wrap;
}

body {
Expand Down Expand Up @@ -204,6 +205,12 @@ input:checked ~ span:nth-last-child(2) {
transform: translateY(25%) rotateX(-35deg);
}

.about {
font-size: 2.5em;
margin-right: 600px;
margin-bottom: 0px"
}

.resume {
display: flex;
flex-direction: column;
Expand All @@ -212,21 +219,74 @@ input:checked ~ span:nth-last-child(2) {
margin-bottom: 0px;
}

.resume-newsroom {

}

.resume-date {
font-style: italic;
}

.portfolio{
.byline {
display: flex;

}

.byline {
.hedder {
flex: 1;
align-self: center;
}

.hedlink {
color: black;
text-decoration: none;
position: relative;
display: inline-block;
transition: color 0.3s ease; /* Add color transition for smooth color change */
}

.hedlink::before {
content: '';
position: absolute;
display: block;
width: 0; /* Start with a width of 0 */
height: 2px;
background-color: black; /* Color of the underline */
bottom: 0;
left: 0;
transition: width 0.3s ease; /* Add width transition for animation */
}

.hedlink:hover {
color: black;
}

.hedlink:hover::before {
width: 100%; /* Expand the underline from left to right on hover */
}

.hed {
font-size: 3em;
margin-top: 5px;
margin-left: 0px;
margin-bottom: 10px;
}

.outlet {
font-size: 1.5em;
}

.tools {
font-style: italic;
}

img {
height: 300px;
width: auto;
margin: 15px;
}

img:hover {
cursor: pointer;
}

a:visited:{
font-style: none;
}

@media screen and (max-width: 600px) {
Expand All @@ -239,6 +299,11 @@ input:checked ~ span:nth-last-child(2) {
h1{
size: 3em;
}

.about {
margin-right: 0px;
font-size: 1.5em;
}

.resume{
display: flex;
Expand All @@ -253,4 +318,9 @@ input:checked ~ span:nth-last-child(2) {
top: 20px; /* Adjust the top position for mobile */
right: 20px; /* Adjust the right position for mobile */
}
.byline {
display: flex;
flex-flow: column wrap;
}

}
62 changes: 62 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image and Text Layout</title>
<style>
/* styles.css */
body, html {
margin: 0;
padding: 0;
height: 100%;
}

.container {
display: flex;
height: 100%;
}

.image {
flex: 2; /* Takes up 2/3 of the available width */
display: flex;
align-items: center;
justify-content: center;
background: #f0f0f0; /* Background color or image for the image side */
}

.image img {
max-width: 100%; /* Ensure the image doesn't exceed its container */
max-height: 100%;
height: auto;
}

.text {
flex: 1; /* Takes up 1/3 of the available width */
padding: 20px;
background: #fff; /* Background color for the text side */
}

.text h1 {
font-size: 24px;
margin: 0;
}

.text p {
font-size: 16px;
}

</style>
</head>
<body>
<div class="container">
<div class="image">
<img src="your-image.jpg" alt="Image">
</div>
<div class="text">
<h1>Title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae turpis purus.</p>
</div>
</div>
</body>
</html>

0 comments on commit cad9d93

Please sign in to comment.