Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjfox1 committed Jun 30, 2015
0 parents commit 380f2ab
Show file tree
Hide file tree
Showing 12 changed files with 123 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store

grunt_tmp

public/scripts/dist
public/scripts/main.js
libs/bower_components

public/styles/*.css
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Thomas J. Fox

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Basic Website Template
*Created by Thomas J. Fox
[email protected]*

File structure created for ease of use when starting new static, front-end project.
Perfect for a github.io portfolio project.

### Getting Started

Navigate to project directory in the terminal. From there:

`cd libs`
`bower install`

This installs the external libraries for the project.
Be sure to link new libraries in the .html if needed.

Open the index.html file with your browser of choice and start developing.
Have fun!
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Website</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Load scripts here -->
<script type="text/javascript" src="libs/bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="scripts/main.js"></script>
<!-- Load stylesheets, fonts and favicon here -->
<link rel="stylesheet" type="text/css" href="libs/bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="icon" href="media/favicon.ico" type="image/x-icon">
<link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,400italic' rel='stylesheet' type='text/css'>
</head>
<body>
</body>
</html>
7 changes: 7 additions & 0 deletions libs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Place external libraries in this folder.

Add the library you would like to the bower.json file and then in the command line, navigate to the libs folder and:

`bower install`

Link the file you need from the dist in the library that you need in the .html file.
19 changes: 19 additions & 0 deletions libs/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "website",
"version": "0.0.1",
"authors": [
"Thomas J. Fox"
],
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components"
],
"devDependencies": {},
"dependencies": {
"bootstrap": "~3.3.5",
"jquery": "~1.11.3"
}
}
1 change: 1 addition & 0 deletions media/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Place media in this directory
3 changes: 3 additions & 0 deletions media/images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Place media images for the site here.

Also place your favicon.ico in this directory.
4 changes: 4 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Add scripts here

Use the main.js file for the majority.
If needed, add another file and link it in the .html.
Empty file added scripts/main.js
Empty file.
4 changes: 4 additions & 0 deletions styles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Add styles here

Use the main.css file for the majority.
If needed, add another file and link it in the .html.
19 changes: 19 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
html, body {
font-size: 100%;
font-family: 'Lato', sans-serif;
}

h1{
font-weight: 200;
margin: 0px;
}

h2{
font-weight: 200;
margin: 0px;
}

h3{
font-weight: 100;
margin: 0px;
}

0 comments on commit 380f2ab

Please sign in to comment.