Primjer komponente:
<header class="flex-row align-center">
<ul class="navbar">
<li class="primary navbar_item active">Home</li>
<li class="navbar_item">Products</li>
Resources| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace StatusApp.Util; | |
| public sealed class WakeUpService : IDisposable |
| name: Publish PRs in the Dev branch for preview | |
| on: | |
| pull_request: | |
| types: [opened, labeled, synchronize, reopened] | |
| jobs: | |
| merge-dev: | |
| if: contains(github.event.pull_request.labels.*.name, 'DEV') | |
| runs-on: ubuntu-latest | |
| steps: |
| import { computable } from 'cx/ui'; | |
| import { DataProxy, Icon } from 'cx/widgets'; | |
| export const KPI = ({ title, value, unit, icon, iconClass, change }) => ( | |
| <cx> | |
| <div class="bg-white border p-6 rounded"> | |
| <Icon name={icon} class="block p-2 rounded-full w-10 h-10" className={iconClass} /> | |
| <div class="my-2 text-gray-600">{title}</div> | |
| <div class="text-3xl font-bold leading-none" ws> | |
| <span text={value} /> <span class="text-sm" text={unit} /> |
| var babelHelpers = {}; | |
| babelHelpers.typeof = | |
| typeof Symbol === "function" && typeof Symbol.iterator === "symbol" | |
| ? function (obj) { | |
| return typeof obj; | |
| } | |
| : function (obj) { | |
| return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype | |
| ? "symbol" |
| +:refs/heads/(*) | |
| +:refs/(pull/*)/merge | |
| +:refs/tags/v(*) |
| window.onerror = function (message, url, lineNo, colNo, error) { | |
| console.log(arguments); | |
| let container = document.createElement('div'); | |
| container.style.color = 'red'; | |
| container.style.position = 'fixed'; | |
| container.style.background = '#eee'; | |
| container.style.padding = '2em'; |
| 7z u Scripts.zip Scripts\*.sql -uq0 |