From 771189a9a6e37ef0dc94e799efcabbb808ba5904 Mon Sep 17 00:00:00 2001 From: Sujay Kundu Date: Thu, 13 Oct 2022 10:39:29 +0530 Subject: [PATCH 01/17] setup tailwind base --- .gitignore | 4 + Gemfile | 1 + Gemfile.lock | 2 + _config.yml | 1 + _includes/head.html | 4 +- _includes/header-tailwind.html | 5 + _includes/header.html | 3 +- _layouts/default.html | 33 +- _layouts/home.html | 15 +- assets/css/main.scss | 8 + index.html | 2 +- package-lock.json | 544 +++++++++++++++++++++++++++++++++ postcss.config.js | 9 + tailwind.config.js | 8 + 14 files changed, 589 insertions(+), 50 deletions(-) create mode 100644 _includes/header-tailwind.html create mode 100644 package-lock.json create mode 100644 postcss.config.js create mode 100644 tailwind.config.js diff --git a/.gitignore b/.gitignore index 431bc1e9f..796d169fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +node_modules +build +.jekyll-cache + *.gem # Ignore metadata generated by Jekyll diff --git a/Gemfile b/Gemfile index bb54f2a0d..52608596d 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" gem 'jekyll', '~> 4.2.2', '>= 4.1.1' gem 'bundler', '~> 2.3.23' +gem 'jekyll-postcss' gem 'faraday-retry' gem 'backports', '~> 3.23' gem 'kramdown' diff --git a/Gemfile.lock b/Gemfile.lock index ef1414fc1..8c4feac22 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -45,6 +45,7 @@ GEM jekyll-gist (1.5.0) octokit (~> 4.2) jekyll-paginate (1.1.0) + jekyll-postcss (0.5.0) jekyll-sass-converter (2.2.0) sassc (> 2.0.1, < 3.0) jekyll-seo-tag (2.8.0) @@ -128,6 +129,7 @@ DEPENDENCIES jekyll-feed (~> 0.16.0) jekyll-gist (~> 1.5.0) jekyll-paginate (~> 1.1.0) + jekyll-postcss jekyll-seo-tag (~> 2.8.0) jekyll-sitemap (~> 1.4.0) jgd (~> 1.12) diff --git a/_config.yml b/_config.yml index bb04485a4..db3a87874 100644 --- a/_config.yml +++ b/_config.yml @@ -164,6 +164,7 @@ plugins: - jekyll-seo-tag - jekyll-sitemap - jekyll-admin + - jekyll-postcss # Jekyll Admin Config jekyll_admin: diff --git a/_includes/head.html b/_includes/head.html index 7f16b4a11..0196ff58a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -82,10 +82,10 @@ rel="stylesheet" href="https://cdn.snipcart.com/themes/v3.0.0-beta.3/default/snipcart.css" /> - + /> --> + Hello world! + \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html index 52ba51adf..004e9e63a 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,5 +1,4 @@ - -