This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use tobimori\DreamForm\Fields\Field; | |
| class HeadingField extends Field | |
| { | |
| public static function blueprint(): array | |
| { | |
| return [ | |
| 'label' => 'Überschrift', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require("fs"); | |
| const file = fs.readFileSync(__dirname + "/keys.txt").toString(); | |
| const games = file.split("\n\n").map((game) => game.split("\n")); | |
| const toObject = games.map((game) => { | |
| const [name, year] = game[0].split(/ \((\d+)\)/gm); | |
| return { | |
| name, | |
| year, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const openRoute = (loc: { address: string; long: number; lat: number }) => { | |
| trackEvent(['trackEvent', 'Shopstandorte', `Route geöffnet`, `Route zu ${loc.address}`]) | |
| if (/iPad|iPhone|iPod|Mac/.test(navigator.platform)) { | |
| window.open(`http://maps.apple.com/?daddr=${encodeURIComponent(loc.address)}`) | |
| } else if (/Android/.test(navigator.platform)) { | |
| window.open( | |
| `geo:${encodeURIComponent(loc.lat)},${encodeURIComponent(loc.long)}?q=${encodeURIComponent( | |
| loc.address |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { tsParticles } from 'tsparticles-engine' | |
| import { loadFull } from 'tsparticles' | |
| export const confetti = async () => { | |
| await loadFull(tsParticles) | |
| await tsParticles.load('egg', { | |
| emitters: [ | |
| { | |
| position: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title: | |
| de: Häufig gestellte Fragen | |
| en: Frequently asked questions | |
| icon: question | |
| preview: fields | |
| wysiwyg: true | |
| tabs: | |
| content: | |
| label: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useEffect } from 'react' | |
| import Router from 'next/router' | |
| import * as ackeeTracker from 'ackee-tracker' | |
| // global styles (css reset, fonts) | |
| import 'assets/styles/global.css' | |
| const PersonalApp = ({ Component, pageProps, router }) => { | |
| useEffect(() => { | |
| if (typeof window !== 'undefined') { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder