This repository has been archived by the owner on Apr 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from kaviththiranga/master
Fixes to UX and add GA, GTM
- Loading branch information
Showing
10 changed files
with
82 additions
and
22 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
steps: | ||
- name: 'gcr.io/cloud-builders/docker' | ||
args: [ 'build', '-t', 'gcr.io/$PROJECT_ID/playground-web', '.' ] | ||
args: [ 'build', '-t', '$_IMAGE_TAG', '.' ] | ||
images: | ||
- 'gcr.io/$PROJECT_ID/playground-web' | ||
- '$_IMAGE_TAG' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
import * as React from "react"; | ||
import "./ControlPanel.less"; | ||
import { PlaygroundContext } from "./Playground"; | ||
import { RunButton } from "./RunButton"; | ||
import { ShareButton } from "./ShareButton"; | ||
|
||
export function ControlPanel() { | ||
return <div className="control-panel w3-top w3-teal"> | ||
<div className="w3-bar"> | ||
<img className="logo" src="images/ballerina-logo-play.svg" /> | ||
<RunButton /> | ||
<ShareButton /> | ||
</div> | ||
</div>; | ||
return <PlaygroundContext.Consumer> | ||
{ ({ displayCopiedToCB }) => ( | ||
<div className="control-panel w3-top w3-teal"> | ||
<div className="w3-bar"> | ||
<img className="logo" src="images/ballerina-logo-play.svg" /> | ||
<RunButton /> | ||
<ShareButton /> | ||
{displayCopiedToCB && | ||
<span | ||
className="w3-text w3-small w3-animate-opacity"> | ||
copied to clipboard. | ||
</span> | ||
} | ||
<span className="w3-text w3-right download-text">Love it? <a | ||
target="_blank" | ||
href="https://ballerina.io/downloads/"> | ||
download now</a>! | ||
</span> | ||
</div> | ||
</div>)} | ||
</PlaygroundContext.Consumer>; | ||
} |
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
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
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
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