Compare commits

..

No commits in common. "66ecf81556afe3cb6857dce3b9412353aa4961bc" and "bbdabcb362c44007afa66bb3df984e5cd0e1819a" have entirely different histories.

11 changed files with 8 additions and 61 deletions

View File

@ -1,40 +0,0 @@
---
kind: secret
name: gitea_token
get:
path: odit-git-bot
name: apikey
---
kind: pipeline
type: kubernetes
name: build:tag
steps:
- name: build and package
depends_on: ["clone"]
image: node:15.11.0-alpine3.13
commands:
- apk add git zip -f
- yarn
- yarn build
- yarn build:package
- name: gitea_release
depends_on: ["build and package"]
image: plugins/gitea-release
settings:
title: Release ${DRONE_TAG}
api_key:
from_secret: gitea_token
base_url: https://git.odit.services
files: linkylinky-chrome.zip
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
trigger:
event:
- tag

6
.gitignore vendored
View File

@ -1,8 +1,8 @@
.DS_Store .DS_Store
node_modules node_modules
/build
/.svelte-kit
/package
**/tailwind.css
dist
*.zip
# Fuck lockfiles :D # Fuck lockfiles :D
*.lock *.lock

View File

@ -1,5 +1,5 @@
<p align="center"> <p align="center">
<img height="150" src="./src/icon_128.png"> <img height="150" src="./icon_128.png">
<h1 align="center">LinkyLinky 4 Chrome</h1> <h1 align="center">LinkyLinky 4 Chrome</h1>
<h3 align="center">A simple, privacy focused urls shortner</h3> <h3 align="center">A simple, privacy focused urls shortner</h3>
</p> </p>

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -54,7 +54,7 @@
<div id="target_container"> <div id="target_container">
<div class="mt-1 flex rounded-md shadow-sm"> <div class="mt-1 flex rounded-md shadow-sm">
<input type="url" name="target" id="target" required <input type="url" name="target" id="target" required
class="flex-1 min-w-0 block border rounded-lg w-full px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300 bg-gray-50" class="flex-1 min-w-0 block rounded-lg w-full px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
placeholder="target url" /> placeholder="target url" />
</div> </div>
</div> </div>
@ -65,7 +65,7 @@
https://kauf.es/ https://kauf.es/
</span> </span>
<input type="text" name="shortcode" id="shortcode" <input type="text" name="shortcode" id="shortcode"
class="flex-1 min-w-0 block w-full px-3 py-2 border-t border-b border-r rounded-none rounded-r-md focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300" class="flex-1 min-w-0 block w-full px-3 py-2 rounded-none rounded-r-md focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
placeholder="custom url" /> placeholder="custom url" />
</div> </div>
</div> </div>

View File

@ -1,17 +1,5 @@
{ {
"name": "linkylinky-chrome",
"scripts": {
"build": "npm run prebuild && npm run build:copy && npm run build:css",
"prebuild": "rimraf ./dist ./*.zip",
"build:copy": "cpx ./src/* ./dist/",
"build:css": "tailwindcss -o ./dist/tailwind.css --purge ./dist/index.html -m",
"build:package": "cross-zip dist linkylinky-chrome.zip",
"dev": "tailwindcss -o ./src/tailwind.css"
},
"devDependencies": { "devDependencies": {
"cpx": "^1.5.0",
"cross-zip-cli": "^1.0.0",
"rimraf": "^3.0.2",
"tailwindcss": "^2.2.7" "tailwindcss": "^2.2.7"
} }
} }

View File

@ -1,7 +1,5 @@
module.exports = { module.exports = {
purge: [ purge: [],
'./index.html'
],
darkMode: false, // or 'media' or 'class' darkMode: false, // or 'media' or 'class'
theme: { theme: {
extend: {}, extend: {},

1
tailwind.css Normal file

File diff suppressed because one or more lines are too long