Skip to content

Commit

Permalink
Site
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Apr 22, 2024
1 parent 02ba6f8 commit 4ce6a10
Show file tree
Hide file tree
Showing 29 changed files with 648 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_site-dev/
22 changes: 22 additions & 0 deletions site/config/rocket.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { rocketSpark } from "@rocket/spark";
import { addPlugin, applyPlugins } from "plugins-manager";
import replace from "@rollup/plugin-replace";

export default /** @type {import('@rocket/cli').RocketCliOptions} */ {
absoluteBaseUrl: "http://localhost:8080",
longFileHeaderWidth: 100,
longFileHeaderComment: "// prettier-ignore",
presets: [rocketSpark()],
setupDevServerAndBuildPlugins: [
addPlugin(
replace,
{
'await import("crypto")': "undefined",
"import { ScopedElementsMixin } from '@open-wc/scoped-elements';": `import pkg from '@open-wc/scoped-elements';
const { ScopedElementsMixin } = pkg;`,
delimiters: ["", ""],
},
{ location: "top" }
),
],
};
23 changes: 23 additions & 0 deletions site/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "site",
"private": true,
"type": "module",
"scripts": {
"start": "NODE_DEBUG=engine:rendering rocket start --open",
"build": "rocket build"
},
"devDependencies": {
"@rocket/cli": "^0.20.4",
"@rocket/engine": "^0.2.7",
"@rocket/spark": "^0.2.0",
"@rollup/plugin-replace": "^5.0.5",
"plugins-manager": "^0.3.1"
},
"dependencies": {
"@rocket/components": "^0.2.0",
"lit": "^3.1.3"
},
"imports": {
"#src/*": "./site/src/*"
}
}
105 changes: 105 additions & 0 deletions site/site/pages/index.rocket.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<script type="module" server>
/* START - Rocket auto generated - do not touch */
export const sourceRelativeFilePath = 'index.rocket.html';
import { components } from './recursive.data.js';
export { components };
export async function registerCustomElements() {
// server-only components
// prettier-ignore
// prettier-ignore
customElements.define('rocket-content-area', await import('@rocket/components/content-area.js').then(m => m.RocketContentArea));
// prettier-ignore
// prettier-ignore
customElements.define('rocket-header-scroll-menu', await import('@rocket/components/header-scroll-menu.js').then(m => m.RocketHeaderScrollMenu));
// prettier-ignore
// prettier-ignore
customElements.define('rocket-card', await import('@rocket/components/card.js').then(m => m.RocketCard));
// prettier-ignore
// prettier-ignore
customElements.define('rocket-columns', await import('@rocket/components/columns.js').then(m => m.RocketColumns));
}
/* END - Rocket auto generated - do not touch */

import '#src/elements/custom-social-link.js';
import { LayoutHome } from '@rocket/spark';
import { layoutData } from '#src/layouts/layoutData.js';

export const layout = new LayoutHome({
...layoutData,
});

export const title = 'gather';
export const description =
'Co-create emergent events in your local community';
</script>
<div class="parallax">
<div class="parallax__layer parallax__layer--back darksoil-background"></div>
<div class="parallax__layer parallax__layer--base">
<rocket-content-area>
<h2 class="area-headline">gather<br /></h2>

<rocket-columns style="align-items: center">
<rocket-card>
<p class="poem">
I can see that you are free<br />
and you can see the same of me<br />
so we agree we’d like to be<br />
out in the park at 2:03
</p>
<p>
Software for co-creating, accessing, and managing emergent events.
It could be a meeting for a project, practice session for a martial
art, gaming session, hobby hangout, or a big celebration. Gather
lets you see and actualize previously invisible possibilities for
coming together with the people in your life around the things you
care about.
</p>
</rocket-card>
<div class="column">
<p>
Although gather is just in its infancy, there is already a prototype
that you can install and use!
</p>
<br />
<div class="row" style="gap: 16px">
<a
class="cta"
href="https://github.com/darksoil-studio/gather/releases/download/v0.0.5/gather_0.0.5_x64_en-US.msi"
style="flex: 1; text-align: center"
>Windows</a
>
<a
class="cta"
href="https://github.com/darksoil-studio/gather/releases/download/v0.0.5/gather_0.0.5_x64.dmg"
style="flex: 1; text-align: center"
>MacOs</a
>
<a
class="cta"
href="https://github.com/darksoil-studio/gather/releases/download/v0.0.5/gather_0.0.5_amd64.AppImage"
style="flex: 1; text-align: center"
>Linux</a
>
</div>
</div>
</rocket-columns>
</rocket-content-area>

<rocket-content-area>
<rocket-columns>
<div>
<h2 id="darksoil" link-text="darksoil.studio">
a darksoil studio project
</h2>
<p>
gather is a darksoil studio project.
<br />
<br />
Learn more about darksoil at
<a href="https://darksoil.studio">darksoil.studio</a>.
</p>
</div>
</rocket-columns>
</rocket-content-area>
</div>
</div>
41 changes: 41 additions & 0 deletions site/site/pages/pageTreeData.rocketGenerated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"title": "gather",
"h1": "this._$EC.forEach is not a function",
"headlinesWithId": [
{
"text": "darksoil.studio",
"id": "darksoil",
"level": 2,
"rawText": "a darksoil studio project"
}
],
"name": "gather",
"menuLinkText": "this._$EC.forEach is not a function",
"url": "/",
"outputRelativeFilePath": "index.html",
"sourceRelativeFilePath": "index.rocket.html",
"level": 0,
"components": {
"rocket-columns": "@rocket/components/columns.js::RocketColumns",
"rocket-card": "@rocket/components/card.js::RocketCard",
"rocket-content-area": "@rocket/components/content-area.js::RocketContentArea",
"rocket-details": "@rocket/components/details.js::RocketDetails",
"rocket-drawer": "@rocket/components/drawer.js::RocketDrawer",
"rocket-feature-small": "@rocket/components/feature-small.js::RocketFeatureSmall",
"rocket-header": "@rocket/components/header.js::RocketHeader",
"rocket-header-scroll-menu": "@rocket/components/header-scroll-menu.js::RocketHeaderScrollMenu",
"rocket-icon": "@rocket/components/icon.js::RocketIcon",
"rocket-icon-card": "@rocket/components/icon-card.js::RocketIconCard",
"rocket-main": "@rocket/components/main.js::RocketMain",
"rocket-main-docs": "@rocket/components/main-docs.js::RocketMainDocs",
"rocket-opengraph-overview": "@rocket/components/open-graph-overview.js::RocketOpenGraphOverview",
"rocket-rotating-text": "@rocket/components/rotating-text.js::RocketRotatingText",
"rocket-social-link": "@rocket/components/social-link.js::RocketSocialLink",
"rocket-testimonial-small": "@rocket/components/testimonial-small.js::RocketTestimonialSmall",
"inline-notification": "@rocket/components/inline-notification.js::InlineNotification",
"permanent-notification": "@rocket/components/permanent-notification.js::PermanentNotification",
"block-blue": "@rocket/spark/block-blue.js::BlockBlue",
"block-features": "@rocket/spark/block-features.js::BlockFeatures"
},
"description": "Co-create emergent events in your local community"
}
13 changes: 13 additions & 0 deletions site/site/pages/recursive.data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { rocketComponents } from '@rocket/components/components.js';
import { LayoutMain } from '@rocket/spark';
import { sparkComponents } from '@rocket/spark/components.js';
import { layoutData } from '#src/layouts/layoutData.js';

export const layout = new LayoutMain({
...layoutData,
});

export const components = {
...rocketComponents,
...sparkComponents,
};
Binary file added site/site/public/apple-touch-icon.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 site/site/public/darksoil.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 site/site/public/favicon.ico
Binary file not shown.
47 changes: 47 additions & 0 deletions site/site/public/icon.svg
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 site/site/public/planta.jpeg
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 site/site/public/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions site/site/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "darksoil studio",
"short_name": "darksoil studio",
"icons": [
{
"src": "/favicon.ico",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicon.ico",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Loading

0 comments on commit 4ce6a10

Please sign in to comment.