Skip to content

Commit 821696d

Browse files
author
Nick Balestra
committed
init landing-page component
1 parent 04a1b9a commit 821696d

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

components/landing-page/img/logo.png

3.39 KB
Loading

components/landing-page/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "landing-page",
3+
"description": "",
4+
"version": "1.0.1",
5+
"oc": {
6+
"files": {
7+
"data": "server.js",
8+
"static": [
9+
"img"
10+
],
11+
"template": {
12+
"src": "template.hbs",
13+
"type": "oc-template-handlebars"
14+
}
15+
}
16+
},
17+
"devDependencies": {
18+
"oc-template-handlebars-compiler": "6.0.8"
19+
}
20+
}

components/landing-page/server.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export const data = (context, callback) => {
2+
const { staticPath } = context;
3+
callback(null, {
4+
staticPath
5+
});
6+
};

components/landing-page/template.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<img src="{{staticPath}}img/logo.png" />
2+
<div>WIP</div>

0 commit comments

Comments
 (0)