Skip to content

Commit

Permalink
More links to the website, adds package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jan 7, 2018
1 parent af139d4 commit d36c53e
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
_site/
package-lock.json
Binary file removed img/logo.png
Binary file not shown.
40 changes: 37 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
min-height: 90vh;
color: #222;
}
img {
Expand All @@ -22,11 +22,45 @@
a:visited {
color: #222;
}
ul {
list-style: none;
width: 100%;
padding: 0;
margin: 0;
}
li {
padding: .25em 0;
}
@media (min-width: 28.125em ) { /* 450px */
ul {
width: auto;
}
li {
float: left;
}
li a {
line-height: 2;
}
li:not(:last-child) a:not(:hover) {
text-decoration: none;
}
li:not(:first-child):before {
content: "";
border-left: 1px solid #ccc;
padding: 0 0 0 1em;
margin-left: 1em;
}
}
</style>
</head>
<body>
<a href="https://github.com/11ty/eleventy/"><img src="img/logo.png" alt="11ty"></a>
<a href="https://github.com/11ty/eleventy/"><img src="logo.png" alt="11ty"></a>
<h1><a href="https://github.com/11ty/eleventy/">Eleventy</a> is a simpler static site generator.</h1>
<footer>@<a href="https://zachleat.com/">zachleat</a></footer>
<ul>
<li><a href="https://github.com/11ty">GitHub</a></li>
<li><a href="https://www.npmjs.com/org/11ty">NPM</a></li>
<li><a href="https://twitter.com/eleven_ty">Twitter</a></li>
<li>Created by <a href="https://zachleat.com/">zachleat</a></li>
</ul>
</body>
</html>
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@11ty/website",
"version": "1.0.0",
"description": "The website of 11ty.io",
"main": "_site/index.html",
"scripts": {
"build": "npx eleventy --formats=html && cp node_modules/@11ty/logo/logo.png _site/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/11ty/11ty.io.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/11ty/11ty.io/issues"
},
"homepage": "https://github.com/11ty/11ty.io#readme",
"devDependencies": {
"eleventy-cli": "^0.1.9"
},
"dependencies": {
"@11ty/logo": "^1.0.1"
}
}

0 comments on commit d36c53e

Please sign in to comment.