diff --git a/src/components/CreateNewModal.jsx b/src/components/CreateNewModal.jsx
index dcd4448..088c4bc 100644
--- a/src/components/CreateNewModal.jsx
+++ b/src/components/CreateNewModal.jsx
@@ -2,6 +2,7 @@ import { h, Component } from 'preact';
import Modal from './Modal';
import { ItemTile } from './ItemTile';
import templates from '../templateList';
+import { Divider } from './common';
export class CreateNewModal extends Component {
render() {
@@ -15,14 +16,44 @@ export class CreateNewModal extends Component {
} = this.props;
return (
+
+
+
+
+ This gives you 3 separate panes to write HTML, CSS and JavaScript.
+ Good for quickly testing something.
+
+
+ Or choose from a template:
+
+ {templates.map(template => (
+
+ ))}
+
+
+
+
+
+
+ Manage your code in files. Just like you would have files on your
+ local machine.
+
+
+ Templates coming soon!
+
+
-
-
-
{/*
-
- Or choose from a template:
-
- {templates.map(template => (
-
- ))}
-
);
}
diff --git a/src/components/common.jsx b/src/components/common.jsx
index 90e7b31..eb13646 100644
--- a/src/components/common.jsx
+++ b/src/components/common.jsx
@@ -34,5 +34,5 @@ export function AutoFocusInput(props) {
}
export function Divider(props) {
- return
;
+ return ;
}
diff --git a/src/style.css b/src/style.css
index 1438168..d123fa6 100644
--- a/src/style.css
+++ b/src/style.css
@@ -218,11 +218,15 @@ label {
cursor: pointer;
}
.divider {
- margin: 10px 0;
+ margin: 1rem 2rem;
height: 1px;
- background: rgba(255, 255, 255, 0.1);
+ background: rgba(255, 255, 255, 0.15);
+}
+.divider--vertical {
+ width: 1px;
+ height: 100%;
+ margin: 2rem 1rem;
}
-
[class*='hint--']:after {
text-transform: none;
font-weight: normal;