All Projects → aschmelyun → Use The Keyboard

aschmelyun / Use The Keyboard

A collection of keyboard shortcuts for Mac apps, Windows programs, and websites.

Labels

Projects that are alternatives of or similar to Use The Keyboard

Laravel Notify
Flexible Flash notifications for Laravel
Stars: ✭ 787 (+622.02%)
Mutual labels:  blade
Larawind
Larawind - Laravel 8.0+ Jetstream and Tailwind CSS Admin Theme
Stars: ✭ 55 (-49.54%)
Mutual labels:  blade
Blade Icons
A package to easily make use of SVG icons in your Laravel Blade views.
Stars: ✭ 1,181 (+983.49%)
Mutual labels:  blade
Laravelm1
Tracking what works and doesn't in the Laravel ecosystem on M1
Stars: ✭ 23 (-78.9%)
Mutual labels:  blade
Blade Zondicons
A package to easily make use of Zondicons in your Laravel Blade views.
Stars: ✭ 40 (-63.3%)
Mutual labels:  blade
Laravel Generator
laravel-generator / laravel代码生成器
Stars: ✭ 61 (-44.04%)
Mutual labels:  blade
Artisan View
👀 Manage your views in Laravel projects through artisan
Stars: ✭ 708 (+549.54%)
Mutual labels:  blade
Media Manager
Provides a web interface to manage local files
Stars: ✭ 94 (-13.76%)
Mutual labels:  blade
Tailwindcss
A Tailwind CSS frontend preset for the Laravel Framework
Stars: ✭ 1,056 (+868.81%)
Mutual labels:  blade
Alpinimations
Streamline your animations by using these simple blade directives in your components!
Stars: ✭ 73 (-33.03%)
Mutual labels:  blade
Beautymail
Send beautiful HTML emails with Laravel
Stars: ✭ 923 (+746.79%)
Mutual labels:  blade
Admin Generator
Laravel CRUD generator - quickly scaffold your typical admin interface.
Stars: ✭ 37 (-66.06%)
Mutual labels:  blade
Laravel Tinymce Simple Imageupload
Simple image upload for TinyMCE in Laravel.
Stars: ✭ 66 (-39.45%)
Mutual labels:  blade
Laravel Blade Directives
A collection of nice Laravel Blade directives
Stars: ✭ 813 (+645.87%)
Mutual labels:  blade
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (-26.61%)
Mutual labels:  blade
Blade Ui Kit
A set of renderless components to utilise in your Laravel Blade views.
Stars: ✭ 763 (+600%)
Mutual labels:  blade
Laravel Ui Coreui
Laravel UI Frontend Preset for CoreUI V3.
Stars: ✭ 56 (-48.62%)
Mutual labels:  blade
Laravel Ui Adminlte
Laravel UI Frontend Preset for AdminLTE with Laravel Fortify support.
Stars: ✭ 98 (-10.09%)
Mutual labels:  blade
Tall Dashboard
Tailwind CSS + AlpineJS + Laravel + Livewire dashboard (WIP)
Stars: ✭ 83 (-23.85%)
Mutual labels:  blade
Mario
🗿 如何设计一个Java MVC框架源码
Stars: ✭ 68 (-37.61%)
Mutual labels:  blade

Use The Keyboard

The source behind usethekeyboard.com

Prerequisites

If you'd like to clone this repo and use the underlying static site generator, you'll need to have the following installed on your environment:

  • PHP 5.6.4 or higher
  • Composer
  • Node/npm

After cloning the repo, you'll want to get all the vendor packages installed. Run the following command from the project root:

composer install && npm install

Adding/modifying a page

All content for the site is stored in the content directory as JSON files. The actual names of the files don't correlate to anything, but for organization purposes are named the same as the page slug.

During the site build process, each key in the content file is converted to a PHP variable and passed through to a Blade template engine for processing.

For Use The Keyboard, these are the following required attributes and their purpose on rendered pages:

  • view - The Blade view template that these variables should be passed to. All pages use layout.shortcut except the landing page, which uses layout.default.

  • slug - The string that appears in the URL after https://usethekeyboard.com/

  • title - The string that appears in the title before → UseTheKeyboard

  • meta_title - The title that appears as the h1 in the sidebar of shortcut pages

  • meta_description - Both the subtitle in the sidebar of shortcut pages, and the content value for the meta description of the page

  • reference_link - Where the "Original Reference" button links to on shortcut pages

  • sections - An array of objects, each one composed of a name and an array of shortcuts. These are used to display all main information on shortcut pages.

The following are optional attributes:

  • mac_only - If an application is for MacOS-only, set this attribute to true. When the page loads up, Mac will be auto-selected regardless of OS and the visitor will not be able to select "Windows".

Building the site

Once you've completed any changes, additions, or modifications to the site content or assets, you'll need to run the build process. From the project root, run the following command:

npm run production

This will compile the assets for production use (minify, version, etc) and then run the php taro build command to compile the HTML once that's been successfully finished.

If you're in the middle of development and want a faster alternative, npm run dev skips minification and returns the compiled assets at a quicker pace.

Everything that's built is then added to the dist folder at the project root.

Questions?

If you run into any issues regarding shortcuts on the site or the static build process, feel free to open and issue or submit a PR.

I'm also on Twitter if you'd like to follow me or get in more direct contact.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].