-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support p5 projects on phone (#35)
* remove contact from blog navigation * initial clean-up of flock-chorus project * tweak location of parameters in mobile mode * tweak gui position in mobile * format * add noscript warning to flock * update yellow scream * tune css * default param gui closed * update wonderful-world * update sound ripple to play nice on phone * format * remove contact from most nav bars * refactor navbar to share css * rename blog-navbar to navbar * fix canvas sizing for wonderful world * fix canvas for yellow-scream * update template * fix heading css
- Loading branch information
1 parent
3d2072a
commit 1ec874c
Showing
20 changed files
with
406 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,11 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | | ||
<a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>$title$</h1> | ||
$body$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1> | ||
<strong><em>Clapping Music</em></strong> for two flip-disc displays | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>Obsessed with Cuttle: Parametric CAD for prototyping, producing, and procrastinating</h1> | ||
<p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>Dopamine-driven development (DDD), spite-driven development (SDD), and other DDs</h1> | ||
<p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>Titles of blog posts I might never write</h1> | ||
<p>…but maybe I will!</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,7 @@ | |
@hannahilea: | ||
<a href=".." class="nav-link">home</a> | | ||
<a href="../projects" class="nav-link">projects</a> | | ||
<a href="../blog" class="nav-link">blog</a> | | ||
<a href="mailto:[email protected]" class="nav-link">contact</a> | ||
<a href="../blog" class="nav-link">blog</a> | ||
</nav> | ||
<h1 class="title">Blog</h1> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>First things first: Make a list</h1> | ||
<p>To-do list:</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,10 @@ | |
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="blog-navbar" role="navigation"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a class="nav-link" href="..">blog</a> | | ||
<a class="nav-link" href="mailto:[email protected]">contact</a> | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>This website’s structure: A meta post</h1> | ||
<p>While doing a batch at the <a href="https://www.recurse.com">Recurse Center</a>, I revived my personal website—the very site you are almost certainly looking at Right Now!</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,39 +2,49 @@ | |
<html lang="en"> | ||
|
||
<head> | ||
<link rel="shortcut icon" type="image/png" href="../../assets/img/favicon.png" /> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="stylesheet" type="text/css" href="../../assets/css/main.css" /> | ||
|
||
<!-- Project-specific details --> | ||
<title>Sketch: {{ PROJECT_NAME }}</title> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/addons/p5.sound.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script> | ||
var GUI = lil.GUI; | ||
</script> | ||
<link rel="stylesheet" type="text/css" href="../../assets/css/main.css" /> | ||
<style> | ||
canvas { | ||
display: block; | ||
position: absolute; | ||
left: 0; | ||
top: 10; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
<nav class="projects-navbar" role="navigation"> | ||
<a href="../.." class="nav-link">@hannahilea</a> > | ||
<a href="../../projects" class="nav-link">projects</a> > Sketch: {{ PROJECT_NAME }} | ||
</nav> | ||
<details class="projects-details"> | ||
<summary><strong>Details</strong></summary> | ||
<p>A creative coding exercise (prompt: <i>TODO</i>), co-created with <a href="https://TODO.github.io/">TODO</a> | ||
while at the <a href="www.recurse.com">Recurse Center</a></p> | ||
<p><i>Usage:</i> When prompted, grant microphone access, then TODO.</p> | ||
</details> | ||
<body class="p5-project"> | ||
<div id="project-header"> | ||
|
||
<script src="./sketch.js"></script> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | <a class="nav-link" href="../../projects">projects</a> | <a | ||
class="nav-link" href="..">blog</a> | ||
</nav> | ||
|
||
<h3 class="project-title">Sketch: {{ PROJECT_NAME }}</h3> | ||
<details class="projects-details"> | ||
<summary>Details</summary> | ||
<p>A creative coding exercise (prompt: <i>TODO</i>), co-created with <a href="https://TODO.github.io/">TODO</a> | ||
while at the <a href="www.recurse.com">Recurse Center</a></p> | ||
<p><strong>Usage:</strong> When prompted, grant microphone access, then TODO.</p> | ||
</details> | ||
|
||
<div id="gui-container"></div> | ||
<noscript> | ||
<br /> | ||
<div class="alert"> | ||
<summary class="alert-heading"> ⚠️ JavaScript required!</summary> | ||
<p>If you're seeing this message, JavaScript is likely disabled in your browser; you'll need to enable it to | ||
interact with this project.</p> | ||
</div> | ||
</noscript> | ||
</div> | ||
<div id="project-body"> | ||
<canvas id="p5-canvas"></canvas> | ||
</div> | ||
<script src="./sketch.js"></script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.