Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Commit

Permalink
Fix #541 - create default empty project
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Aug 27, 2015
1 parent ca5546a commit 9e6a895
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
16 changes: 16 additions & 0 deletions default/empty-project/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Made with Thimble</title>
<link rel="stylesheet" href="style.css">
</head>
<body>

<h1>Welcome to Thimble</h1>

<p>Make something <strong>amazing</strong> with the web!</p>

</body>
</html>
3 changes: 3 additions & 0 deletions default/empty-project/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
font-family: "Open Sans", sans-serif;
}
6 changes: 2 additions & 4 deletions env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,5 @@ export OAUTH_CLIENT_ID="test"
export OAUTH_CLIENT_SECRET="test"
export OAUTH_AUTHORIZATION_URL="http://localhost:1234"

# Default content title, which should match a folder inside the repo's
# /defaults folder
export DEFAULT_PROJECT_TITLE="stay-calm"

# Default content title, which should match a folder inside the repo's /default folder
export DEFAULT_PROJECT_TITLE="empty-project"
4 changes: 3 additions & 1 deletion public/resources/default-files/html.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
<title>Made with Thimble</title>
</head>
<body>

<h1>Welcome to Thimble</h1>

<p>Make something <b>amazing</b> with the web!</p>
<p>Make something <strong>amazing</strong> with the web!</p>

</body>
</html>

0 comments on commit 9e6a895

Please sign in to comment.