Skip to content

Commit

Permalink
Layout wrapping, image sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
keeffEoghan committed Dec 7, 2023
1 parent 34769d3 commit 61da4c9
Show file tree
Hide file tree
Showing 57 changed files with 428 additions and 35 deletions.
4 changes: 1 addition & 3 deletions .posthtmlrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"linkify": true,
"typographer": true
},
"plugins": [{
"plugin": "markdown-it-attrs"
}]
"plugins": [{ "plugin": "markdown-it-attrs" }]
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion docs/index.5e1af0d1.css

This file was deleted.

1 change: 1 addition & 0 deletions docs/index.656343c9.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><title>Locus @ epok.tech</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="index.5e1af0d1.css"></head><body> <header> <h1>Locus</h1> <h2>Upcoming artwork ~ crowdfunding @ <a href="https://artizen.fund/project/locus" target="_blank">Artizen</a></h2> </header> <main> <section class="intro"> <p>In a digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.<br> Exhibited as interactive digital installation, online, and <code>NFT</code> series.</p> <p>By <a href="https://epok.tech" target="_blank">epok.tech</a></p> </section> </main> <script src="index.38d394c2.js" type="module"></script><script src="index.38d394c2.js" nomodule defer></script> </body></html>
<!doctype html><html><head><title>Locus @ epok.tech</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="index.656343c9.css"></head><body> <main> <header> <section> <h1>Locus</h1> <h3>Upcoming artwork @ <a href="https://epok.tech" target="_blank">epok.tech</a> ~ crowdfunding @ <a href="https://artizen.fund/project/locus" target="_blank">Artizen</a></h3> <p>A digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.</p> <p>Exhibited as interactive digital installation, online, and <code>NFT</code> series.</p> </section> <figure> <img class="intro-concept-art" alt="Locus concept art" title="Locus concept art" src="peel-artifact.906c29af.png" srcset="peel-artifact-hi.1c68b54b.png 2x, peel-artifact-hi.6ead9df1.png 3x, peel-artifact-hi.a4bb9948.png 4x"> </figure> <article> </article> </header></main> <script src="index.38d394c2.js" type="module"></script><script src="index.38d394c2.js" nomodule defer></script> </body></html>
Binary file added docs/peel-artifact-hi.1c68b54b.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 docs/peel-artifact-hi.6ead9df1.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 docs/peel-artifact-hi.a4bb9948.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 docs/peel-artifact.906c29af.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 media/peel-artifact-hi.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 media/peel-artifact.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/peel-artifact.mp4
Binary file not shown.
Binary file added media/peel-artifact.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 media/peel-bust-flow-square.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 media/peel-bust-flow.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 media/peel.mp4
Binary file not shown.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "locus",
"version": "0.0.0",
"description": "In a digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion. Exhibited as interactive digital installation, online, and `NFT` series.",
"description": "A digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion. Exhibited as interactive digital installation, online, and `NFT` series.",
"repository": "https://github.com/keeffEoghan/locus.git",
"homepage": "https://epok.tech/locus",
"author": "Eoghan O'Keeffe <[email protected]> (https://epok.tech)",
Expand All @@ -18,7 +18,8 @@
"dist:fresh": "yarn clean && yarn build:fresh",
"build": "parcel build --target app --no-source-maps",
"build:fresh": "yarn build --no-cache",
"clean": "yarn clean:build & yarn clean:parcel & wait",
"clean": "yarn clean:dev & yarn clean:build & yarn clean:parcel & wait",
"clean:dev": "rm -rf ./dist/",
"clean:build": "rm -rf ./docs/",
"clean:parcel": "rm -rf ./.parcel-cache"
},
Expand All @@ -31,6 +32,7 @@
"postcss-nesting": "^12.0.1",
"postcss-url": "^10.1.3",
"posthtml-markdownit": "^1.3.1",
"sharp": "^0.31.1",
"typescript": "^5.3.2"
},
"main": "docs/index.html",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Locus](https://epok.tech/locus)

In a digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.
A digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.

Exhibited as interactive digital installation, online, and `NFT` series.

Expand Down
64 changes: 51 additions & 13 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
--c-hi: #fff;
--c-lo: #333;
--c-link: #2d9cdb;
--s-m0-x: 4rem;
--s-m0-y: 2rem;
--s-s0-x: 5px;
--s-s0-y: 3px;
--s-s0-r: 2px;
--s-s1-r: 3px;
--s-line: 33rem;
}

*,
Expand All @@ -42,21 +49,50 @@ body {
min-height: 100%;
margin: 0;
font-size: 1em;
line-height: 1.5;
animation: 500ms ease-out 700ms 1 backwards fadeIn;
will-change: opacity;
}

main {
flex: 1 1 auto;
width: 100%;
}

header,
article {
position: relative;
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;
}

section {
/* flex: 1 1 auto; */
flex: 1 1 var(--s-line);
}

figure {
flex: 1 1 50%;
display: flex;
margin: 0;
max-height: 75vh;
}

img,
video,
canvas {
flex: 1 1 auto;
max-width: 100%;
max-height: 100%;
object-fit: cover;
}

code {
font-family: monospace, sans-serif;
border-radius: 3px;
padding: 3px 5px;
border-radius: var(--s-s1-r);
padding: var(--s-s0-y) var(--s-s0-x);
background: var(--c-lo);
color: var(--c-hi);
}
Expand All @@ -68,20 +104,22 @@ a {
font-weight: 900;
cursor: pointer;
text-decoration: none;
transition: color 800ms ease-out;
transition: color 900ms ease-out;

&[target="_blank"] { cursor: alias; }

&::after {
content: '';
display: block;
pointer-events: none;
position: absolute;
left: -3px;
right: -3px;
left: calc(-1*var(--s-s0-r));
right: calc(-1*var(--s-s0-r));
z-index: -1;
bottom: -3px;
height: 2px;
bottom: calc(-1*var(--s-s0-r));
height: var(--s-s0-r);
background: currentColor;
transition: transform 800ms ease-out;
transition: transform 900ms ease-out;
}

&:hover,
Expand All @@ -91,7 +129,7 @@ a {
transition: color 200ms ease-in;

&::after {
transform: translateY(80%) scaleY(0.5);
transform: translateY(2px) scaleY(0.5);
transition: transform 200ms ease-in;
}
}
Expand All @@ -104,8 +142,8 @@ h4,
h5,
h6 {
color: var(--c-hi);
line-height: 1.5;
margin: 1rem 2rem;
margin: var(--s-m0-y) var(--s-m0-x);
max-width: var(--s-line);
}

h1 {
Expand All @@ -130,6 +168,6 @@ h5 {}
h6 {}

p {
margin: 1rem 2rem;
line-height: 1.5;
margin: var(--s-m0-y) var(--s-m0-x);
max-width: var(--s-line);
}
30 changes: 21 additions & 9 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,29 @@
<link rel="stylesheet" type="text/css" href="./index.css">
</head>
<body>
<header md>
# Locus
## Upcoming artwork ~ crowdfunding @ [Artizen](https://artizen.fund/project/locus){target="_blank"}
</header>
<main>
<section md class="intro">
In a digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.
Exhibited as interactive digital installation, online, and `NFT` series.
<header>
<section md>
# Locus
### Upcoming artwork @ [epok.tech](https://epok.tech){target="_blank"} ~ crowdfunding @ [Artizen](https://artizen.fund/project/locus){target="_blank"}

By [epok.tech](https://epok.tech){target="_blank"}
</section>
A digital kinetic artwork evoking meditation, fluid particles trace layers in a translucent human form, as art and audience interact by natural motion.

Exhibited as interactive digital installation, online, and `NFT` series.
</section>
<figure>
<img class="intro-concept-art"
alt="Locus concept art" title="Locus concept art"
src="../media/peel-artifact.png?width=1000"
srcset="../media/peel-artifact-hi.jpg?as=png&width=2000 2x,
../media/peel-artifact-hi.jpg?as=png&width=3000 3x,
../media/peel-artifact-hi.jpg?as=png&width=4000 4x"
/>
</figure>
<!-- <figure md inline>![Locus concept art](../media/peel-artifact.png "Locus concept art"){srcset="../media/peel-artifact-2x.jpg?as=png&width=2000 2x, ../media/peel-artifact-2x.jpg?as=png&width=3000 3x, ../media/peel-artifact-2x.jpg?as=png&width=4000 4x"}</figure> -->
</article>
<article md>
</article>
</main>
<script src="./index.js" type="module"></script>
</body>
Expand Down
Loading

0 comments on commit 61da4c9

Please sign in to comment.