https://daisyui.com/components/
I love working with these tools. I will call it the DLST (DaisyUI, Lucide, Svelte, Tailwind) Stack!
| <?php | |
| /* | |
| Plugin Name: Awesome Block Block Type | |
| Version: 1.0 | |
| Author: Simon | |
| Author URI: https://github.com/simonhlee97 | |
| */ | |
| if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| #!/bin/bash | |
| # Set the input and output directories | |
| input_dir="input" | |
| output_dir="output" | |
| # Create the output directory if it doesn't exist | |
| mkdir -p "$output_dir" | |
| # Iterate over each JPG file in the input directory |
| <div class="gallery"> | |
| <a href="large.jpg" data-lightbox="mygallery" data-title="a dog"><img src="small.jpg" alt="thumbnail" /></a> | |
| <a href="large.jpg" data-lightbox="mygallery" data-title="a dog"><img src="small.jpg" alt="thumbnail" /></a> | |
| <a href="large.jpg" data-lightbox="mygallery" data-title="a dog"><img src="small.jpg" alt="thumbnail" /></a> | |
| <a href="large.jpg" data-lightbox="mygallery" data-title="a dog"><img src="small.jpg" alt="thumbnail" /></a> | |
| </div> |
| <img srcset="large.jpg 1024w, | |
| medium.jpg 640w, | |
| small.jpg 320w" | |
| sizes="(min-width: 36em) 33.3vw, | |
| 100vw" | |
| src="small.jpg" | |
| alt="A rad wolf" | |
| /> | |
| <!-- common image sizes |
https://daisyui.com/components/
I love working with these tools. I will call it the DLST (DaisyUI, Lucide, Svelte, Tailwind) Stack!
| { | |
| "all": { | |
| "sourceCodeDir": "app/frontend", | |
| "watchAdditionalPaths": [] | |
| }, | |
| "development": { | |
| "autoBuild": true, | |
| "host": "127.0.0.1", | |
| "publicOutputDir": "vite-dev", | |
| "port": 3036 |
| /* credit: https://andy-bell.co.uk/a-modern-css-reset/ */ | |
| /* Box sizing rules */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| /* Remove default margin */ |
| # better error messages | |
| gem 'better_errors' | |
| # authentication | |
| gem 'devise' | |
| # roles and authorization | |
| gem 'cancancan' | |
| # preview emails in browser |
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "Simon Lee", | |
| "label": "Software Developer", | |
| "image": "https://picsum.photos/id/237/200/300", | |
| "website": "https://simonhlee97.github.io/", | |
| "email": "[email protected]", | |
| "summary": "I'm a full stack web developer who has experienced a plethora of stacks and tools. From WordPress to MERN stack, Jamstack, Ruby on Rails, and even a little Django - I love to experiment and learn new approaches and ways of building applications. I am always open to learning new tools and flexible when it comes to searching for my next project or job.", | |
| "location": { |
| source "https://rubygems.org" | |
| git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
| ruby "3.0.2" | |
| gem "bootsnap", require: false | |
| gem "devise" | |
| gem "rails", "~> 7.0.4", ">= 7.0.4.1" | |
| gem "sprockets-rails" | |
| gem "pg", "~> 1.1" |