Project setup

This commit is contained in:
Maria Rushkova 2021-07-28 18:42:59 +02:00
parent 50d9784367
commit 57666821f1
10 changed files with 9582 additions and 318 deletions

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"files.associations": {
"*.ejs": "html",
"*.html": "jekyll"
}
}

View File

@ -1,2 +1,3 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'jekyll' gem 'jekyll'
gem "webrick", "~> 1.7"

View File

@ -1,18 +1,18 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
addressable (2.7.0) addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0) public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0) colorator (1.1.0)
concurrent-ruby (1.1.7) concurrent-ruby (1.1.9)
em-websocket (0.5.2) em-websocket (0.5.2)
eventmachine (>= 0.12.9) eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0) http_parser.rb (~> 0.6.0)
eventmachine (1.2.7) eventmachine (1.2.7)
ffi (1.14.2) ffi (1.15.3)
forwardable-extended (2.6.0) forwardable-extended (2.6.0)
http_parser.rb (0.6.0) http_parser.rb (0.6.0)
i18n (1.8.5) i18n (1.8.10)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
jekyll (4.2.0) jekyll (4.2.0)
addressable (~> 2.4) addressable (~> 2.4)
@ -38,14 +38,14 @@ GEM
kramdown-parser-gfm (1.1.0) kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0) kramdown (~> 2.0)
liquid (4.0.3) liquid (4.0.3)
listen (3.3.3) listen (3.6.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0) mercenary (0.4.0)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
public_suffix (4.0.6) public_suffix (4.0.6)
rb-fsevent (0.10.4) rb-fsevent (0.11.0)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rexml (3.2.5) rexml (3.2.5)
@ -56,12 +56,14 @@ GEM
terminal-table (2.0.0) terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1) unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0) unicode-display_width (1.7.0)
webrick (1.7.0)
PLATFORMS PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
jekyll jekyll
webrick (~> 1.7)
BUNDLED WITH BUNDLED WITH
2.1.2 2.2.24

View File

@ -10,10 +10,20 @@
## Get started ## Get started
### Setting up bundler and jekyll on Apple M1 (with system installed ruby x86_64)
Running inside project directory:
- `arch -x86_64 gem install --user-install bundler jekyll`
- `echo 'export PATH="~/.gem/ruby/2.6.0/bin:$PATH"' >> ~/.zshrc`
- `bundle update`
### Working with the project
- `bundle install` to install Ruby gems - `bundle install` to install Ruby gems
- `npm ci` to install npm packages listed in `package-lock.json` - `npm ci` to install npm packages listed in `package-lock.json`
- `npm run start` or `npm run dev` to compile the site with development settings and run BrowserSync - `npm run start` or `npm run dev` to compile the site with development settings and run BrowserSync
## License ## License
[MIT](https://github.com/taylorbryant/jekyll-starter-tailwind/blob/master/LICENSE.md) [MIT](https://github.com/taylorbryant/jekyll-starter-tailwind/blob/master/LICENSE.md

View File

@ -13,3 +13,10 @@ exclude:
- src - src
- tailwind.config.js - tailwind.config.js
- netlify.toml - netlify.toml
- vendor
defaults:
- scope:
path: "assets/img"
values:
image: true

View File

@ -1,12 +1,22 @@
<!DOCTYPE html> <!DOCTYPE html>
<html class="no-js" lang="en-US"> <html class="no-js" lang="en-US">
<head> <head>
<meta charset="utf-8" /> {% if page.title %}
<title>{{ site.title }} - {{ page.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Tailwind Jekyll Starter Kit</title> <title>Vac</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="{{ '/assets/img/favicon.png' | relative_url }}" type="image/png" />
<link href="https://fonts.googleapis.com/css?family=Lexend+Deca&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" /> <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
</head> </head>
<body> <body>
</html> </html>

View File

@ -3,9 +3,7 @@
{% include header.html %} {% include header.html %}
<main <main class="bg-indigo-500 flex h-screen items-center justify-center w-full">
class="bg-indigo-500 flex h-screen items-center justify-center w-full"
>
{{ content }} {{ content }}
</main> </main>

View File

@ -2,4 +2,4 @@
layout: default layout: default
--- ---
<h1 class="text-white text-4xl font-semibold">Jekyll Starter Tailwind</h1> <h1 class="text-white text-4xl font-semibold">Vac</h1>

9772
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
{ {
"name": "jekyll-starter-tailwind", "name": "status-vac",
"version": "6.0.0", "version": "6.0.0",
"description": "A starter kit for using Tailwind with Jekyll",
"main": "gulpfile.babel.js", "main": "gulpfile.babel.js",
"devDependencies": { "devDependencies": {
"autoprefixer": "10.3.1", "autoprefixer": "10.3.1",
@ -29,14 +28,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/taylorbryant/jekyll-starter-tailwind.git" "url": "https://github.com/EthWorks/status-vac.git"
}, },
"author": "Taylor Bryant", "author": "Ethworks"
"license": "MIT",
"bugs": {
"url": "https://github.com/taylorbryant/jekyll-starter-tailwind/issues"
},
"publishConfig": {
"access": "public"
}
} }