diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-08 02:47:30 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-03-08 02:47:30 +0000 |
| commit | 22657d7a8268d703b3461bdcbd508a897ade9966 (patch) | |
| tree | 314b54e681473586b83479324905e1f1f2385a18 | |
| parent | 8ee2f1b17cb2b95454e6686d9fe32dbcadcdb9dd (diff) | |
Remove un-needed files
| -rw-r--r-- | readme.md | 95 | ||||
| -rw-r--r-- | source/_assets/js/components/Search.vue | 133 | ||||
| -rw-r--r-- | source/assets/images/jigsaw.png | bin | 26060 -> 0 bytes | |||
| -rw-r--r-- | source/assets/img/about.png | bin | 15560 -> 0 bytes | |||
| -rw-r--r-- | source/assets/img/logo-large.svg | 34 | ||||
| -rw-r--r-- | source/assets/img/logo.svg | 12 | ||||
| -rw-r--r-- | source/assets/img/magnifying-glass.svg | 8 | ||||
| -rw-r--r-- | source/assets/img/newsletter.png | bin | 26943 -> 0 bytes | |||
| -rw-r--r-- | source/assets/img/post-cover-image-1.png | bin | 62005 -> 0 bytes | |||
| -rw-r--r-- | source/assets/img/post-cover-image-2.png | bin | 72812 -> 0 bytes |
10 files changed, 0 insertions, 282 deletions
diff --git a/readme.md b/readme.md deleted file mode 100644 index 81d805a..0000000 --- a/readme.md +++ /dev/null @@ -1,95 +0,0 @@ -# Jigsaw Blog Starter Template - -This is a starter template for creating a beautiful, customizable blog in Jigsaw with minimal effort. You’ll only have to change a few settings and you’re ready to go. - -[View a preview of the blog template.](http://jigsaw-blog-staging.tighten.co/) - -## Installation - -After installing Jigsaw, run the following command from your project directory: - -```bash -./vendor/bin/jigsaw init blog -``` - -This starter template includes samples of common page types, and comes pre-configured with: - -- A fully responsive navigation bar -- [Tailwind CSS](https://tailwindcss.com/), a utility CSS framework that allows you to customize your design without touching a line of CSS -- [Purgecss](https://www.purgecss.com/) to remove unused selectors from your CSS, resulting in smaller CSS files -- Syntax highlighting using [highlight.js](https://highlightjs.org/) -- A script that automatically generates a `sitemap.xml` file -- A custom 404 page -- A component for accepting signups for a [Mailchimp](https://mailchimp.com/) newsletter -- A sample contact form -- A search bar powered by [Fuse.js](http://fusejs.io/) and [Vue.js](https://vuejs.org/), which indexes your content automatically and requires zero configuration - ---- - - - ---- - -### Configuring your new site - -As with all Jigsaw sites, configuration settings can be found in `config.php`; you can update the variables in that file with settings specific to your site. You can also add new configuration variables there to use across your site; take a look at the [Jigsaw documentation](http://jigsaw.tighten.co/docs/site-variables/) to learn more. - -```php -// config.php -return [ - 'baseUrl' => 'https://my-awesome-jigsaw-site.com/', - 'production' => false, - 'siteName' => 'My Site', - 'siteDescription' => 'Give your blog a boost with Jigsaw.', - ... -]; -``` - -> Tip: This configuration file is also where you’ll define any "collections" (for example, a collection of the contributors to your site, or a collection of blog posts organized by topic). Check out the official [Jigsaw documentation](https://jigsaw.tighten.co/docs/collections/) to learn more. - ---- - -### Adding Content - -You can write your content using a [variety of file types](http://jigsaw.tighten.co/docs/content-other-file-types/). By default, this starter template expects your content to be located in the `source/_posts/` folder. - -The top of each content page contains a YAML header that specifies how it should be rendered. The `title` attribute is used to dynamically generate HTML `title` and OpenGraph tags for each page. The `extends` attribute defines which parent Blade layout this content file will render with (e.g. `_layouts.post` will render with `source/_layouts/post.blade.php`), and the `section` attribute defines the Blade "section" that expects this content to be placed into it. - -```yaml ---- -extends: _layouts.post -section: content -title: Getting Started -date: 2018-12-25 -description: Getting started with the Jigsaw blog starter template -cover_image: /assets/img/post-cover-image-2.png -featured: true ---- -``` - ---- - -### Adding Assets - -Any assets that need to be compiled (such as JavaScript, Less, or Sass files) can be added to the `source/_assets/` directory, and Laravel Mix will process them when running `npm run local` or `npm run production`. The processed assets will be stored in `/source/assets/build/` (note there is no underscore on this second `assets` directory). - -Then, when Jigsaw builds your site, the entire `/source/assets/` directory containing your built files (and any other directories containing static assets, such as images or fonts, that you choose to store there) will be copied to the destination build folders (`build_local`, on your local machine). - -Files that don't require processing (such as images and fonts) can be added directly to `/source/assets/`. - -[Read more about compiling assets in Jigsaw using Laravel Mix.](http://jigsaw.tighten.co/docs/compiling-assets/) - ---- - -## Building Your Site - -Now that you’ve edited your configuration variables and know how to customize your styles and content, let’s build the site. - -```bash -# build static files with Jigsaw -./vendor/bin/jigsaw build - -# compile assets with Laravel Mix -# options: dev, staging, production -npm run dev -``` diff --git a/source/_assets/js/components/Search.vue b/source/_assets/js/components/Search.vue deleted file mode 100644 index c5715a9..0000000 --- a/source/_assets/js/components/Search.vue +++ /dev/null @@ -1,133 +0,0 @@ -<template> - <div class="flex flex-1 justify-end items-center text-right px-4"> - <div - class="absolute md:relative w-full justify-end bg-white left-0 top-0 z-10 mt-7 md:mt-0 px-4 md:px-0" - :class="{'hidden md:flex': ! searching}" - > - <label for="search" class="hidden">Search</label> - - <input - id="search" - v-model="query" - ref="search" - class="transition-fast relative block h-10 w-full lg:w-1/2 lg:focus:w-3/4 bg-gray-100 border border-gray-500 focus:border-blue-400 outline-none cursor-pointer text-gray-700 px-4 pb-0 pt-px" - :class="{ 'transition-border': query }" - autocomplete="off" - name="search" - placeholder="Search" - type="text" - @keyup.esc="reset" - @blur="reset" - > - - <button - v-if="query || searching" - class="absolute top-0 right-0 leading-snug font-400 text-3xl text-blue-500 hover:text-blue-600 focus:outline-none pr-7 md:pr-3" - @click="reset" - >×</button> - - <transition name="fade"> - <div v-if="query" class="absolute left-0 right-0 md:inset-auto w-full lg:w-3/4 text-left mb-4 md:mt-10"> - <div class="flex flex-col bg-white border border-b-0 border-t-0 border-blue-400 rounded-b-lg shadow-lg mx-4 md:mx-0"> - <a - v-for="(result, index) in results" - class="bg-white hover:bg-blue-100 border-b border-blue-400 text-xl cursor-pointer p-4" - :class="{ 'rounded-b-lg' : (index === results.length - 1) }" - :href="result.link" - :title="result.title" - :key="result.link" - @mousedown.prevent - > - {{ result.title }} - - <span class="block font-normal text-gray-700 text-sm my-1" v-html="result.snippet"></span> - </a> - - <div - v-if="! results.length" - class="bg-white w-full hover:bg-blue-100 border-b border-blue-400 rounded-b-lg shadow cursor-pointer p-4" - > - <p class="my-0">No results for <strong>{{ query }}</strong></p> - </div> - </div> - </div> - </transition> - </div> - - <button - title="Start searching" - type="button" - class="flex md:hidden bg-gray-100 hover:bg-blue-100 justify-center items-center border border-gray-500 rounded-full focus:outline-none h-10 px-3" - @click.prevent="showInput" - > - <img src="/assets/img/magnifying-glass.svg" alt="search icon" class="h-4 w-4 max-w-none"> - </button> - </div> -</template> - -<script> -export default { - data() { - return { - fuse: null, - searching: false, - query: '', - }; - }, - computed: { - results() { - return this.query ? this.fuse.search(this.query) : []; - }, - }, - methods: { - showInput() { - this.searching = true; - this.$nextTick(() => { - this.$refs.search.focus(); - }) - }, - reset() { - this.query = ''; - this.searching = false; - }, - }, - created() { - axios('/index.json').then(response => { - this.fuse = new fuse(response.data, { - minMatchCharLength: 6, - keys: ['title', 'snippet', 'categories'], - }); - }); - }, -}; -</script> - -<style> -input[name='search'] { - background-image: url('/assets/img/magnifying-glass.svg'); - background-position: 0.8em; - background-repeat: no-repeat; - border-radius: 25px; - text-indent: 1.2em; -} - -input[name='search'].transition-border { - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - border-top-left-radius: .5rem; - border-top-right-radius: .5rem; -} - -.fade-enter-active { - transition: opacity .5s; -} - -.fade-leave-active { - transition: opacity 0s; -} - -.fade-enter, -.fade-leave-to { - opacity: 0; -} -</style> diff --git a/source/assets/images/jigsaw.png b/source/assets/images/jigsaw.png Binary files differdeleted file mode 100644 index c7c3b8d..0000000 --- a/source/assets/images/jigsaw.png +++ /dev/null diff --git a/source/assets/img/about.png b/source/assets/img/about.png Binary files differdeleted file mode 100644 index 0582d9a..0000000 --- a/source/assets/img/about.png +++ /dev/null diff --git a/source/assets/img/logo-large.svg b/source/assets/img/logo-large.svg deleted file mode 100644 index 79117ba..0000000 --- a/source/assets/img/logo-large.svg +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg width="318px" height="350px" viewBox="0 0 318 350" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch --> - <title>Group 2</title> - <desc>Created with Sketch.</desc> - <defs> - <linearGradient x1="-83.2348064%" y1="106.401351%" x2="140.023112%" y2="-13.2029998%" id="linearGradient-1"> - <stop stop-color="#F8FAFC" offset="0%"></stop> - <stop stop-color="#F8FAFC" offset="21.7972142%"></stop> - <stop stop-color="#BBDBF5" offset="100%"></stop> - <stop stop-color="#B9DAF5" offset="100%"></stop> - </linearGradient> - </defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="04-docs-start-copy-3" transform="translate(-714.000000, -205.000000)"> - <g id="Group-2" transform="translate(714.000000, 205.000000)"> - <path d="M159.9,41.23566 L29.5,106.216315 L29.5,268.671884 L159.9,333.652539 L290.3,268.671884 L290.3,106.216315 L159.9,41.23566 Z" id="Rectangle-3-Copy" stroke="#B9DAF5"></path> - <polygon id="Rectangle-3-Copy-2" fill="url(#linearGradient-1)" points="129.8 186.334516 129.8 349.670807 0 284.336291 0 121"></polygon> - <path d="M317.3,186.64261 L188.5,121.811441 L188.5,284.028197 L317.3,348.859366 L317.3,186.64261 Z" id="Rectangle-3-Copy-4" stroke="#338CD6" transform="translate(252.900000, 235.335404) scale(1, -1) translate(-252.900000, -235.335404) "></path> - <path d="M159.9,41.2359725 L30.1185393,106.090062 L159.9,170.944152 L289.681461,106.090062 L159.9,41.2359725 Z" id="Rectangle-3" stroke="#B9DAF5"></path> - <path d="M159.9,0.558953879 L30.1185393,65.4130435 L159.9,130.267133 L289.681461,65.4130435 L159.9,0.558953879 Z" id="Rectangle-3-Copy-3" stroke="#338CD6"></path> - <path d="M160.175,170.953416 L160.175,332.562112" id="Line" stroke="#B9DAF5" stroke-linecap="square" fill-rule="nonzero"></path> - <path d="M160.358333,130.484509 L160.358333,165.798482" id="Line-2-Copy-3" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero"></path> - <path d="M290.158333,68.178117 L290.158333,103.49209" id="Line-2-Copy-4" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero"></path> - <path d="M133.55,185.742236 L159.95,172.549689" id="Line-2" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero"></path> - <path d="M133.55,348.742236 L159.95,335.549689" id="Line-2-Copy" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero"></path> - <path d="M292.35,283.586957 L318.75,270.39441" id="Line-2" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero" transform="translate(305.550000, 276.990683) scale(1, -1) translate(-305.550000, -276.990683) "></path> - <path d="M162.55,348.742236 L188.95,335.549689" id="Line-2-Copy-2" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero" transform="translate(175.750000, 342.145963) scale(1, -1) translate(-175.750000, -342.145963) "></path> - <path d="M291.55,119.742236 L317.95,106.549689" id="Line-2-Copy" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero" transform="translate(304.750000, 113.145963) scale(1, -1) translate(-304.750000, -113.145963) "></path> - <path d="M162.55,185.742236 L188.95,172.549689" id="Line-2-Copy-5" stroke="#C7CFDA" stroke-linecap="square" stroke-dasharray="2,4" fill-rule="nonzero" transform="translate(175.750000, 179.145963) scale(1, -1) translate(-175.750000, -179.145963) "></path> - </g> - </g> - </g> -</svg>
\ No newline at end of file diff --git a/source/assets/img/logo.svg b/source/assets/img/logo.svg deleted file mode 100644 index 1e748b9..0000000 --- a/source/assets/img/logo.svg +++ /dev/null @@ -1,12 +0,0 @@ -<svg width="40px" height="45px" viewBox="0 0 40 45" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <defs></defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="04-docs-start" transform="translate(-170.000000, -28.000000)"> - <g id="Group" transform="translate(170.000000, 28.000000)"> - <polygon id="Rectangle-3-Copy" fill="#338CD6" points="20 0 40 10 40 35 20 45 0 35 0 10"></polygon> - <polygon id="Rectangle-3-Copy-2" fill="#1C3E5A" points="20 20 20 45 0 35 0 10"></polygon> - <polygon id="Rectangle-3" fill="#B9DAF5" points="20 0 40 10 20 20 0 10"></polygon> - </g> - </g> - </g> -</svg> diff --git a/source/assets/img/magnifying-glass.svg b/source/assets/img/magnifying-glass.svg deleted file mode 100644 index 15bf764..0000000 --- a/source/assets/img/magnifying-glass.svg +++ /dev/null @@ -1,8 +0,0 @@ -<svg width="13px" height="13px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <defs></defs> - <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g transform="translate(-829.000000, -42.000000)" fill="#748294" fill-rule="nonzero"> - <path d="M843.319857,54.9056439 L848.707107,60.2928932 C849.097631,60.6834175 849.097631,61.3165825 848.707107,61.7071068 C848.316582,62.0976311 847.683418,62.0976311 847.292893,61.7071068 L841.905644,56.3198574 C840.55096,57.3729184 838.848711,58 837,58 C832.581722,58 829,54.418278 829,50 C829,45.581722 832.581722,42 837,42 C841.418278,42 845,45.581722 845,50 C845,51.8487115 844.372918,53.5509601 843.319857,54.9056439 Z M837,56 C840.313708,56 843,53.3137085 843,50 C843,46.6862915 840.313708,44 837,44 C833.686292,44 831,46.6862915 831,50 C831,53.3137085 833.686292,56 837,56 Z" id="Mask"></path> - </g> - </g> -</svg> diff --git a/source/assets/img/newsletter.png b/source/assets/img/newsletter.png Binary files differdeleted file mode 100644 index 72cbdb9..0000000 --- a/source/assets/img/newsletter.png +++ /dev/null diff --git a/source/assets/img/post-cover-image-1.png b/source/assets/img/post-cover-image-1.png Binary files differdeleted file mode 100644 index fb4217c..0000000 --- a/source/assets/img/post-cover-image-1.png +++ /dev/null diff --git a/source/assets/img/post-cover-image-2.png b/source/assets/img/post-cover-image-2.png Binary files differdeleted file mode 100644 index 08fdd22..0000000 --- a/source/assets/img/post-cover-image-2.png +++ /dev/null |
