ralphorama / ralphdrake.com Goto Github PK
View Code? Open in Web Editor NEWThe code that powers https://ralphdrake.com
License: BSD 3-Clause "New" or "Revised" License
The code that powers https://ralphdrake.com
License: BSD 3-Clause "New" or "Revised" License
For whatever reason, the nav arrow for the 'projects' section doesn't trigger the smooth scroll behavior. Instead, it immediately jumps to the 'about' section.
The current info section could be pretty hard to update in the future. As it stands, each entry looks like:
<!-- Notes on SamSchindler.com -->
<tr>
<!-- Name -->
<td>• <a href="http://samschindler.com">samschindler.com</a></td>
<!-- Accomplishments -->
<td>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet eleifend dolor, ut pellentesque neque sagittis a. Vivamus congue felis quis varius tristique. Nulla facilisi. Nulla laoreet, turpis in dapibus iaculis, sem elit sagittis lectus, vitae vehicula nulla odio quis justo. Phasellus quam urna, ultrices scelerisque sapien ut, porta vehicula felis. Nulla vel magna bibendum, tincidunt eros non, dignissim leo. Nulla pretium ex sed consequat rhoncus. Maecenas eu justo quam. Phasellus quis eleifend felis. Nam nec dui id nibh blandit rhoncus et ac nibh. Mauris tempor sit amet libero quis viverra. Suspendisse ut finibus enim.</td>
<!-- Notes -->
<td>
<ul>
<li>An initial version of the site was created from scratch before switching to the WordPress setup that is active now.</li>
<li></li>
<li></li>
</ul>
</td>
</tr>
I should write some JavaScript that could parse a JSON file that looks like:
{
"samschindler.com": {
"accomplishments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet eleifend dolor, ut pellentesque neque sagittis a. Vivamus congue felis quis varius tristique. Nulla facilisi. Nulla laoreet, turpis in dapibus iaculis, sem elit sagittis lectus, vitae vehicula nulla odio quis justo. Phasellus quam urna, ultrices scelerisque sapien ut, porta vehicula felis. Nulla vel magna bibendum, tincidunt eros non, dignissim leo. Nulla pretium ex sed consequat rhoncus. Maecenas eu justo quam. Phasellus quis eleifend felis. Nam nec dui id nibh blandit rhoncus et ac nibh. Mauris tempor sit amet libero quis viverra. Suspendisse ut finibus enim.",
"notes": {
"1": "Here's a note",
"2": "Here's a second note.",
"3": "Only 3 notes in this example, but the script should handle an arbitrary number of notes."
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.