-
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.
Merge pull request #152 from ryuuart:ryuuart/issue151
Ryuuart/issue151
- Loading branch information
Showing
11 changed files
with
299 additions
and
143 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<header> | ||
<p class="author">ryuuart::</p> | ||
<div class="title"> | ||
<h1>manawave</h1> | ||
<p class="tagline">ambient::infinity</p> | ||
</div> | ||
</header> | ||
|
||
<style> | ||
header { | ||
grid-area: 1 / 2 / 2 / 6; | ||
|
||
display: grid; | ||
grid-template-columns: auto auto; | ||
} | ||
|
||
header * { | ||
margin: 0; | ||
} | ||
|
||
header > .author { | ||
margin-right: 0.5rem; | ||
} | ||
|
||
header h1 { | ||
text-transform: uppercase; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
import Section from "../../../layouts/home/Section.astro"; | ||
import Header from "./Header.astro"; | ||
import Primordia from "./Primordia.astro"; | ||
--- | ||
|
||
<Section class="hero"> | ||
<Header /> | ||
<div class="cta-desc"> | ||
<p> | ||
MANAWAVE is a controllable, configurable, and omnidirectional marquee | ||
defined with only HTML & CSS. It has zero dependencies and is built on | ||
vanilla JavaScript. | ||
</p> | ||
</div> | ||
<div class="cta"> | ||
<div><a>Get Started</a></div> | ||
<div><a>5 Realms</a></div> | ||
</div> | ||
<Primordia /> | ||
</Section> | ||
|
||
<style> | ||
section.hero { | ||
grid-row: hero-start / hero-end; | ||
|
||
grid-template-rows: auto 1fr auto auto; | ||
} | ||
|
||
.cta-desc { | ||
grid-area: 3 / 2 / 4 / 5; | ||
} | ||
|
||
.cta { | ||
grid-area: 4 / 2/ 5 / 5; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="primordia sideways-lr"> | ||
<div>Primordia</div> | ||
<div>08.10.23</div> | ||
</div> | ||
|
||
<style> | ||
.primordia { | ||
grid-area: 3 / 1 / 4 / 2; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
justify-content: end; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
import Section from "../../../layouts/home/Section.astro"; | ||
--- | ||
|
||
<Section class="poem"> | ||
<div class="text"> | ||
<p> | ||
Within manawave's embrace,<br /> | ||
A realm seer's gaze takes flight,<br /> | ||
Five realms unveiled, they trace,<br /> | ||
Seeking truths in cosmic light. | ||
</p> | ||
</div> | ||
<div class="placeholder-img"></div> | ||
</Section> | ||
|
||
<style> | ||
section.poem { | ||
grid-row: poem-start / poem-end; | ||
grid-template-rows: 1fr 2fr; | ||
} | ||
|
||
.text { | ||
grid-area: 1 / 2 / 2 / 6; | ||
} | ||
|
||
.placeholder-img { | ||
grid-area: 2 / 2 / 3 / 6; | ||
|
||
background-color: blue; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
const { title, tagline, url } = Astro.props; | ||
--- | ||
|
||
<div class="container"> | ||
<div class="aura"></div> | ||
<div class="content"> | ||
<div> | ||
<a href={url}>{title}</a> | ||
</div> | ||
<p>{tagline}</p> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.container { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
} | ||
|
||
.aura { | ||
flex: 0; | ||
flex-basis: 2rem; | ||
|
||
height: 2rem; | ||
|
||
background: white; | ||
} | ||
|
||
.content { | ||
flex-grow: 1; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
import Section from "../../../layouts/home/Section.astro"; | ||
import realmsData from "./realms.json"; | ||
import RealmItem from "./RealmItem.astro"; | ||
--- | ||
|
||
<Section class="realms"> | ||
<div class="name"> | ||
<p>ryuuart::</p> | ||
</div> | ||
<header> | ||
<h2>5 Realms</h2> | ||
<p>visions • dreams • self</p> | ||
</header> | ||
<ul> | ||
{ | ||
realmsData.map((i) => ( | ||
<li> | ||
<RealmItem title={i.title} tagline={i.tagline} url={i.url} /> | ||
</li> | ||
)) | ||
} | ||
</ul> | ||
</Section> | ||
|
||
<style> | ||
section.realms { | ||
grid-row: realms-start / realms-end; | ||
grid-template-rows: auto auto; | ||
} | ||
|
||
.name { | ||
grid-column: 1 / 1 / 2 / 2; | ||
|
||
display: flex; | ||
justify-content: end; | ||
} | ||
|
||
header { | ||
grid-area: 1 / 2 / 2 / 5; | ||
} | ||
|
||
ul { | ||
grid-area: 2 / 2 / 3 / 6; | ||
|
||
padding: 0; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"title": "Sebonzakura", | ||
"tagline": "1000 cherry dream petals", | ||
"url": "/sebonzakura" | ||
}, | ||
{ | ||
"title": "hyperpink", | ||
"tagline": "prima donna", | ||
"url": "/sebonzakura" | ||
}, | ||
{ | ||
"title": "Hero", | ||
"tagline": "another self", | ||
"url": "/sebonzakura" | ||
}, | ||
{ | ||
"title": "#HYPERTRANCE", | ||
"tagline": "infinite evolution —", | ||
"url": "/sebonzakura" | ||
}, | ||
{ | ||
"title": "flarewater", | ||
"tagline": "elemental flavor", | ||
"url": "/sebonzakura" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
const { class: className } = Astro.props; | ||
--- | ||
|
||
<section class={className}> | ||
<slot /> | ||
</section> | ||
|
||
<style> | ||
section { | ||
grid-column: 1 / 6; | ||
|
||
display: grid; | ||
gap: 0.5rem; | ||
grid-template-columns: repeat(5, 1fr); | ||
} | ||
</style> |
Oops, something went wrong.