Skip to content

Instantly share code, notes, and snippets.

View mherchel's full-sized avatar

Michael Herchel mherchel

View GitHub Profile
@mherchel
mherchel / field--field-media-audio-file.html.twig
Last active September 19, 2021 13:15
Lullabot.com MP3 Player
{{ attach_library('lullabotcom/mp3player') }}
{% for item in items %}
{# Default implentation of audio element is hidden from modern browsers and shown to IE11. #}
<audio class="u-noscript-visible u-ie11-visible mp3player--default" controls>
<source src="{{ item.content }}" type="audio/mpeg">
</audio>
<div class="u-noscript-hidden u-ie11-hidden mp3player">
layout_onecol:
label: 'One column'
path: layouts/onecol
template: layout--onecol
library: layout_discovery/onecol
category: 'Columns: 1'
default_region: content
icon_map:
- [content]
const mobileNavButtonSelector = 'button.mobile-nav-button';
const headerNavSelector = '#header-nav';
const linkSubMenuId = 'home-submenu-1';
const buttonSubMenuId = 'button-submenu-2';
const focusTrapCheck = (browser, tabCount, tabBackwards) => {
if (tabBackwards === true) browser.keys(browser.Keys.SHIFT);
for (let i = 0; i < tabCount; i++) {
browser.keys(browser.Keys.TAB).pause(50);
}
browser.execute(
"black": (
100: #000000),
"blue": (
10: #edf5ff,
20: #d0e2ff,
30: #a6c8ff,
40: #78a9ff,
50: #4589ff,
60: #0f62fe,
70: #0043ce,

Keybase proof

I hereby claim:

  • I am mherchel on github.
  • I am mherchel (https://keybase.io/mherchel) on keybase.
  • I have a public key ASD9GmM0YlU_w9jDEwm7Jh9AFkZDGtjsOUgEd-f-XsnaGwo

To claim this, I am signing this object:

[
UPDATE AGENDA LINK BELOW
UPDATE DATE BELOW
]
Meeting today (in 47 minutes!) for the front-end theme in Drupal 9 (Olivero) initiative. This is a Slack-only meeting. #Drupal
Join us!
🗓 Monday, June 21
🕒 2pm UTC (10am ET)
<br><img src="/files/fresh-prince-of-bel-air-o.gif" />
<br>&#9835;&#9835;<br>
Now, this is a story... all about how
My life got flipped - turned upside down
And I'd you like to take a minute
Listen to this call
I'll tell you how I became a developer of a framework called Drupal
<br>&#9835;&#9835;<br>
In west Gainesville Florida... 2001
Using Dreamweaver to create the code that I spun
{#
/**
* @file
* Theme override for the basic structure of a single Drupal page.
*
* Variables:
* - logged_in: A flag indicating if user is logged in.
* - root_path: The root path of the current page (e.g., node, admin, user).
* - node_type: The content type for the current node, if the page is a node.
* - head_title: List of text elements that make up the head_title variable.