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 React from 'react'; | |
import { StaticQuery, graphql } from 'gatsby'; | |
import { StyledLocationSelector, StyledList } from './styles'; | |
export const LanguageSelector: React.StatelessComponent<any> = ({language}) => ( | |
<StaticQuery | |
query={graphql` | |
query Languages { |
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 external dependencies | |
import forEach from 'lodash/forEach'; | |
import styles from "./styles"; | |
const init = (selector, callback) => forEach(document.querySelectorAll(selector), callback); | |
init('[data-map]', (el) => { | |
let map; |
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
<div class="embed-code"> <script type="text/javascript" src="//www.bookarestaurant.com/widget/IncludeBookingWidget/5644/Iki-jime/3/en-AU/1/600/400?PrimaryTextColour=000000&SecondaryTextColour=ffffff&WidgetBackgroundColour=eeeeee&PrimaryWidgetColour=3452ff&BackNavigationButtonsColour=cccccc&SelectableOptionsColour=eeeeee&CalAvailableDateColour=333333&CalBGAvailableColour=ffffff&CalBGUnAvailableColour=ffffff&CalUnAvailableDateColour=a9a9a9&CalendarHeaderTextColor=333333&CalendarHeaderGridColour=dedede&FontName=Arial, Helvetica, sans-serif&HeaderImage=/resources.ashx/RestaurantImages/CpZ9MSshKEmWkr2uxY4Dgg.75.400.75.400.100/Image/59F7A32D59F2414BDF7C1DFF90E821F4/Booking2.png&WidgetSpritesID=2&BARLogoID=4&IsSpecialRequestsRequired=false&MinPartySize=1&MaxPartySize=10&IsAvTimeSlot=false&IsHideRestaurantTitle=true&IsShowTermsAndConditions=false&IsOptInRestaurantEmailMarketing=False"></script> |
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
<div class="embed-code"> <script type="text/javascript" src="//www.bookarestaurant.com/widget/IncludeBookingWidget/5644/Iki-jime/3/en-AU/1/600/400?PrimaryTextColour=000000&SecondaryTextColour=ffffff&WidgetBackgroundColour=eeeeee&PrimaryWidgetColour=3452ff&BackNavigationButtonsColour=cccccc&SelectableOptionsColour=eeeeee&CalAvailableDateColour=333333&CalBGAvailableColour=ffffff&CalBGUnAvailableColour=ffffff&CalUnAvailableDateColour=a9a9a9&CalendarHeaderTextColor=333333&CalendarHeaderGridColour=dedede&FontName=Arial, Helvetica, sans-serif&HeaderImage=/resources.ashx/RestaurantImages/CpZ9MSshKEmWkr2uxY4Dgg.75.400.75.400.100/Image/59F7A32D59F2414BDF7C1DFF90E821F4/Booking2.png&WidgetSpritesID=2&BARLogoID=4&IsSpecialRequestsRequired=false&MinPartySize=1&MaxPartySize=10&IsAvTimeSlot=false&IsHideRestaurantTitle=true&IsShowTermsAndConditions=false&IsOptInRestaurantEmailMarketing=False"></script> |
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
# FORGE CONFIG (DOT NOT REMOVE!) | |
include forge-conf/futureclassic.com.au/before/*; | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name futureclassic.com.au; | |
root /home/forge/futureclassic.com.au/www/web; |
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
#!/bin/bash | |
# Generates a cover image along with mute web-ready WebM and MP4 files for each master video in a folder. | |
# See: https://gist.github.com/jaydenseric/220c785d6289bcfd7366. | |
# Parameter 1: Input video format (e.g. "mov"). | |
# Parameter 2: Output width in pixels (e.g. "1280"). | |
# Example use: "./video4web.sh mov 1280". | |
for i in *.$1 |
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 "partials/unsemantic-grid-responsive"; | |
@import "partials/mixins"; | |
@import "partials/reset"; | |
@import "partials/colours"; | |
@import "partials/text"; | |
@import "partials/button"; | |
@import "partials/form"; | |
body#tinymce{ | |
height: auto; |
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
function my_mce_css() { | |
return get_bloginfo('template_url').'/css/editor-style.css'; | |
} | |
add_filter( 'mce_css', 'my_mce_css' ); |
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
<div class="quote-container"> | |
<span class="quote"><?php the_sub_field('quote');?></span> | |
<?php $Path=$_SERVER['REQUEST_URI']; | |
$URI=get_site_url().$Path; | |
?> | |
<span class="share-link"> | |
<a class="uppercase" href="https://www.facebook.com/sharer/sharer.php?u=<?PHP echo $URI;?>" rel="nofollow" target="delivery" onclick="return window.open('','delivery','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=780,height=700')">Share quote on facebook</a> | |
<a class="uppercase" href="https://twitter.com/home?status=<?php echo urlencode(get_sub_field('quote') . " - " . $URI); ?>" rel="nofollow" target="delivery" onclick="return window.open('','delivery','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=780,height=700')">Share quote on twitter</a> | |
</span> | |
</div> |
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
function my_mce_css() { | |
return get_bloginfo('template_url').'/css/editor-style.css'; | |
} | |
add_filter( 'mce_css', 'my_mce_css' ); | |
add_filter( 'tiny_mce_before_init', 'my_mce_before_init_insert_formats' ); | |
function my_mce_before_init_insert_formats( $settings ) { |
NewerOlder