Skip to content

Commit

Permalink
chore: disable regenerate/copy until next release
Browse files Browse the repository at this point in the history
  • Loading branch information
michtio committed Sep 6, 2022
1 parent 9ac5727 commit 2b24ae3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 8 additions & 7 deletions buildchain/src/vue/organisms/fields/ShortlinkField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@ withDefaults(defineProps<Props>(), {

<template>
<div class="mb-4">
<div class="flex items-center">
<div class="flex items-center mb-2">
<h6 class="h6">
{{ label }}
</h6>
<button type="button" title="regenerate"
class="ml-auto inline-flex mb-2 text-gray-800 hover:text-red-craft transition-colors ease-in-out duration-150">
<!--<button type="button" title="regenerate"
class="ml-auto inline-flex mb-2 transition-colors ease-in-out duration-150 bg-red-craft hover:bg-red-craft-hover text-white text-xs px-3 py-[2px] rounded-md"
>
<span class="inline-flex">
regenerate
</span>
<svg width="24" height="24" fill="none" viewBox="0 0 24 24">
<svg width="18" height="18" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M11.25 4.75L8.75 7L11.25 9.25"></path>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12.75 19.25L15.25 17L12.75 14.75"></path>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.75 7H13.25C16.5637 7 19.25 9.68629 19.25 13V13.25"></path>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M14.25 17H10.75C7.43629 17 4.75 14.3137 4.75 11V10.75"></path>
</svg>
</button>
</button>-->
</div>
<div class="meta">
<div class="field">
Expand All @@ -42,14 +43,14 @@ withDefaults(defineProps<Props>(), {
</label>
<div class="input ltr">
<input type="text" id="shortlink" class="text fullwidth" name="shortlink-uri" :value="shortlink" :disabled="!allowCustom">
<div class="absolute top-0 -right-4 flex items-center h-full w-8">
<!--<div class="absolute top-0 -right-4 flex items-center h-full w-8">
<button type="button" title="copy" class="text-gray-800 hover:text-red-craft transition-colors ease-in-out duration-150">
<svg width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.5 15.25V15.25C5.5335 15.25 4.75 14.4665 4.75 13.5V6.75C4.75 5.64543 5.64543 4.75 6.75 4.75H13.5C14.4665 4.75 15.25 5.5335 15.25 6.5V6.5"></path>
<rect width="10.5" height="10.5" x="8.75" y="8.75" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="2"></rect>
</svg>
</button>
</div>
</div>-->
</div>
</div>
<div v-if="showRedirectOption" class="field">
Expand Down
3 changes: 2 additions & 1 deletion buildchain/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
module.exports = {
content: [
'../src/templates/**/*.{twig,html}',
'./src/vue/*.{vue,html}',
'./src/**/*.{js,ts,vue,html}',
],
theme: {
// Extend the default Tailwind config here
extend: {
colors: {
red: {
craft: '#e5422b',
'craft-hover': '#d61f2b',
}
},
minHeight: (theme) => ({
Expand Down

0 comments on commit 2b24ae3

Please sign in to comment.