Inital Commit UwU

pull/1/head
Nikurasu 7 months ago
commit 4ead9ab57d
  1. 14
      .gitignore
  2. 17
      bootstrap.php
  3. 5
      composer.json
  4. 9
      config.php
  5. 5
      config.production.php
  6. 16
      package.json
  7. 3
      source/_assets/css/main.css
  8. 14
      source/_layouts/main.blade.php
  9. BIN
      source/assets/images/jigsaw.png
  10. 7
      source/index.blade.php
  11. 14
      tailwind.config.js
  12. 12
      webpack.mix.js

14
.gitignore vendored

@ -0,0 +1,14 @@
/cache/
/node_modules/
/vendor/
/.idea/
/.vscode/
npm-debug.log
composer.lock
package-lock.json
# Jigsaw Ignores
/build_staging/
/build_production/
/source/assets/build/
/build_local/

@ -0,0 +1,17 @@
<?php
use TightenCo\Jigsaw\Jigsaw;
/** @var $container \Illuminate\Container\Container */
/** @var $events \TightenCo\Jigsaw\Events\EventBus */
/**
* You can run custom code at different stages of the build process by
* listening to the 'beforeBuild', 'afterCollections', and 'afterBuild' events.
*
* For example:
*
* $events->beforeBuild(function (Jigsaw $jigsaw) {
* // Your code here
* });
*/

@ -0,0 +1,5 @@
{
"require": {
"tightenco/jigsaw": "^1.3"
}
}

@ -0,0 +1,9 @@
<?php
return [
'production' => false,
'baseUrl' => '',
'title' => 'Jigsaw',
'description' => 'Website description.',
'collections' => [],
];

@ -0,0 +1,5 @@
<?php
return [
'production' => true,
];

@ -0,0 +1,16 @@
{
"private": true,
"scripts": {
"dev": "mix",
"watch": "mix watch",
"staging": "NODE_ENV=staging mix",
"prod": "mix --production"
},
"devDependencies": {
"laravel-mix": "^6.0.39",
"laravel-mix-jigsaw": "^1.5.0",
"postcss": "^8.2.4",
"postcss-import": "^14.0.0",
"tailwindcss": "^2.0.2"
}
}

@ -0,0 +1,3 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="{{ $page->language ?? 'en' }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="{{ $page->getUrl() }}">
<meta name="description" content="{{ $page->description }}">
<title>{{ $page->title }}</title>
<link rel="stylesheet" href="{{ mix('css/main.css', 'assets/build') }}">
</head>
<body>
@yield('body')
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@ -0,0 +1,7 @@
@extends('_layouts.main')
@section('body')
<div>
<h1>Hello world!</h1>
</div>
@endsection

@ -0,0 +1,14 @@
module.exports = {
purge: [
'source/**/*.blade.php',
'source/**/*.md',
'source/**/*.html',
],
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
};

@ -0,0 +1,12 @@
const mix = require('laravel-mix');
require('laravel-mix-jigsaw');
mix.disableSuccessNotifications();
mix.setPublicPath('source/assets/build');
mix.jigsaw()
.css('source/_assets/css/main.css', 'css')
.options({
processCssUrls: false,
})
.version();
Loading…
Cancel
Save