zaengle / craft-baseline Goto Github PK
View Code? Open in Web Editor NEWBaseline / template for Zaengle CraftCMS installs
Baseline / template for Zaengle CraftCMS installs
Description
Add tailwind forms to base setup https://github.com/tailwindlabs/tailwindcss-typography
Change sr-only
to skip-link
and update the styling to something basic
.skip-link {
@apply absolute left-0 p-4 text-white bg-black -top-16;
z-index: 100;
&:focus {
@apply top-0 outline-none outline-blue-500;
}
}
Describe the solution you'd like
Appropriate issue templates for the different types of issue we encounter during specification and build
Tom to refine this Issue with direction for Jasmine.
From a Slack chat:
it would be really helpful to have an HTML sampler template in Craft, with html for all the things we always need (buttons, prose etc)
would then help to validate the TW config against that
kinda like the styleguide pages I built for Relias but TW driven, and with fewer code examples b/c we have the TW docs
We end up building the same thing again and again:
etc etc
We should have a long-lived branch with project config + skeleton templating for this stuff
We shouldn't be able to excuse not writing tests because there is no harness set up...
https://craftcms.com/docs/4.x/config/app.html#mailer
<?php
# config/app.php
use craft\helpers\App;
$isDev = App::env('CRAFT_ENVIRONMENT') === 'dev';
$useMailhog = Craft::$app->getConfig()->getGeneral()->devMode;
return [
'components' => [
'mailer' => function() {
// Get the default component config:
$config = App::mailerConfig();
if ($useMailhog) {
$adapter = craft\helpers\MailerHelper::createTransportAdapter(
craft\mail\transportadapters\Smtp::class,
[
'host' => App::env('MAILHOG_HOST'),
'port' => App::env('MAILHOG_PORT'),
]
);
// Override the transport:
$config['transport'] = $adapter->defineTransport();
}
// Return the initialized component:
return Craft::createObject($config);
},
],
];
.eslintrc
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Is an estimate required before development starts?
Is a visual design required? If so has it been approved and provided?
Additional context
Add any other context or screenshots about the feature request here.
Mix is dead, long live Vite!
Must support:
Should support:
@
alias for src/assets/js
See also #15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.