This file contains 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 { | |
Accordion, | |
AccordionItem, | |
AccordionItemTitle, | |
AccordionItemBody | |
} from 'react-accessible-accordion' | |
Default | |
// ============================== | |
<AccordionControl> |
This file contains 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 | |
# This way you can customize which branches should be skipped when | |
# prepending commit message. | |
if [ -z "$BRANCHES_TO_SKIP" ]; then | |
BRANCHES_TO_SKIP=(master develop qa test) | |
fi | |
BRANCH_NAME=$(git symbolic-ref --short HEAD) | |
BRANCH_NAME="${BRANCH_NAME##*/}" |
This file contains 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
xport const ComponentWrapper = styled.div` | |
/* Parent | |
------------------------------- */ | |
/* Childrens | |
------------------------------- */ | |
/* Modifiers | |
------------------------------- */ | |
${() => { | |
let i = 0 | |
let styles = '' |
This file contains 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
{ | |
"editor.detectIndentation": false, | |
"editor.formatOnPaste": true, | |
"editor.minimap.enabled": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.snippetSuggestions": "top", | |
"window.zoomLevel": 0, | |
"files.trimTrailingWhitespace": true, |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | |
<title>HandiGo</title> | |
<meta name="application-name" content="HandiGo"> | |
<meta name="description" content="HandiGo is ‘your pocket concierge’. A straightforward, modern and sleek application for guests to download after check-in. HandiGo allows guests to browse and book hotel facilities and provides a portal to explore local amenities and attractions"> |
This file contains 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
// Git global setup | |
git config --global user.name "Nattarat Srila" | |
git config --global user.email "nattarat.design@gmail.com" | |
// Create a new repository | |
git clone https://gitlab.com/nattarat_sr/merge_request_training.git | |
cd merge_request_training | |
touch README.md | |
git add README.md | |
git commit -m "add README" |
This file contains 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 { | |
Platform, | |
Dimensions | |
} from 'react-native' | |
import styled, { | |
css | |
} from 'styled-components' | |
const PLATFORM = Platform.OS | |
const DEVICE_WIDTH = Dimensions.get('window').width; |
This file contains 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 ClassNames from 'classnames' | |
import PropTypes from 'prop-types' | |
import { | |
CardWrapper, | |
CardBodyWrapper, | |
CardAvatarWrapper, | |
CardInfoWrapper, | |
CardContactWrapper, | |
CardFooterWrapper |
This file contains 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
.button { | |
// Parent styles | |
// ------------------------------- | |
display: inline-block; | |
padding: 5px 10px; | |
background-color: blue; | |
border-radius: 5px; | |
vertical-align: middle; | |
// Child element styles |