Skip to content

Commit

Permalink
Merge pull request #331 from KBVE/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
h0lybyte authored Feb 15, 2023
2 parents db442b3 + f82eef9 commit 8f576b6
Show file tree
Hide file tree
Showing 16 changed files with 509 additions and 70 deletions.
9 changes: 9 additions & 0 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,15 @@ declare module 'astro:content' {
data: InferEntrySchema<"application">
},
},
"blog": {
"theorycraft.mdx": {
id: "theorycraft.mdx",
slug: "theorycraft",
body: string,
collection: "blog",
data: InferEntrySchema<"blog">
},
},
"config": {
"nginx.md": {
id: "nginx.md",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@astrojs/sitemap": "^1.0.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.7",
"astro": "^2.0.10",
"astro": "^2.0.11",
"astro-compress": "1.1.32",
"sass": "^1.52.2",
"svgo": "2.8.0"
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
202 changes: 202 additions & 0 deletions public/data/n8n/github/github-issues-automation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
{
"name": "KBVE.com Git Issues Public",
"nodes": [
{
"parameters": {
"authentication": "appToken",
"resource": "ticket",
"pipelineId": "0",
"stageId": "1",
"ticketName": "=GH # {{ $json[\"body\"][\"issue\"][\"url\"].substring($json[\"body\"][\"issue\"][\"url\"].lastIndexOf('/') + 1) }}",
"additionalFields": {
"associatedCompanyIds": [
7101067111
],
"category": "PRODUCT_ISSUE",
"description": "=Information Found Here: {{ $json[\"body\"][\"issue\"][\"html_url\"] }}"
}
},
"id": "9a7abd91-8ab4-42ca-a225-67594d34a332",
"name": "HubSpot",
"type": "n8n-nodes-base.hubspot",
"typeVersion": 1,
"position": [
-1100,
520
],
"credentials": {
"hubspotAppToken": {
"id": "3",
"name": "HubSpot App Token account"
}
}
},
{
"parameters": {
"operation": "createComment",
"owner": "={{ $node[\"Github Trigger\"].json[\"body\"][\"repository\"][\"owner\"][\"login\"] }}",
"repository": "={{ $node[\"Github Trigger\"].json[\"body\"][\"repository\"][\"name\"] }}",
"issueNumber": "={{ $node[\"Github Trigger\"].json[\"body\"][\"issue\"][\"number\"] }}",
"body": "=Automating Tasker\n* * *\n[KBVE Support](https://kbve.com/support/)\n* * *\n[HubSpot Ticket Created](https://app.hubspot.com/contacts/{{ $json[\"portalId\"] }}/ticket/{{ $json[\"objectId\"] }})\n* * *"
},
"id": "40e13cd2-368e-4162-9518-b1caf99d6f13",
"name": "InitGIthub",
"type": "n8n-nodes-base.github",
"typeVersion": 1,
"position": [
-920,
280
],
"credentials": {
"githubApi": {
"id": "4",
"name": "GitHub account"
}
}
},
{
"parameters": {
"additionalFields": {}
},
"id": "c6062f1a-ec2c-45fc-a139-e3cdec7b2912",
"name": "Grafana",
"type": "n8n-nodes-base.grafana",
"typeVersion": 1,
"position": [
-740,
640
],
"disabled": true
},
{
"parameters": {
"team": "9006032826",
"space": "90060076415",
"folder": "90060240772",
"list": "900600470368",
"name": "={{ $json[\"properties\"][\"subject\"][\"versions\"][\"0\"][\"value\"] }}",
"additionalFields": {
"assignees": [
57164563
],
"content": "={{ $json[\"properties\"][\"content\"][\"versions\"][\"0\"][\"value\"] }}\n* * *\nHubspot Ticket : [HubSpot Ticket Created](https://app.hubspot.com/contacts/{{ $json[\"portalId\"] }}/ticket/{{ $json[\"objectId\"] }})\n",
"markdownContent": true,
"status": "to do"
}
},
"id": "016872a1-3488-481a-84b4-eb8ae19d0127",
"name": "ClickUp",
"type": "n8n-nodes-base.clickUp",
"typeVersion": 1,
"position": [
-920,
520
],
"credentials": {
"clickUpApi": {
"id": "6",
"name": "ClickUp KBVE"
}
}
},
{
"parameters": {
"options": {
"components": "setT"
}
},
"id": "a6c8f6fd-ac8f-4b2e-8943-e1d25ed3e91b",
"name": "Discord",
"type": "n8n-nodes-base.discord",
"typeVersion": 1,
"position": [
-740,
400
],
"disabled": true
},
{
"parameters": {
"owner": "kbve",
"repository": "kbve.com",
"events": [
"issues"
]
},
"id": "a103d783-66e6-4236-b1ae-265935e8bdfd",
"name": "Github Trigger",
"type": "n8n-nodes-base.githubTrigger",
"typeVersion": 1,
"position": [
-1280,
520
],
"webhookId": "c969ab27-b7a6-4c83-a22b-58eb8fe41135",
"credentials": {
"githubApi": {
"id": "4",
"name": "GitHub account"
}
}
}
],
"pinData": {},
"connections": {
"InitGIthub": {
"main": [
[]
]
},
"HubSpot": {
"main": [
[
{
"node": "InitGIthub",
"type": "main",
"index": 0
},
{
"node": "ClickUp",
"type": "main",
"index": 0
}
]
]
},
"ClickUp": {
"main": [
[
{
"node": "Discord",
"type": "main",
"index": 0
},
{
"node": "Grafana",
"type": "main",
"index": 0
}
]
]
},
"Github Trigger": {
"main": [
[
{
"node": "HubSpot",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {},
"versionId": "3ad946b4-1adb-46dd-adb8-857b26846ab6",
"id": "7",
"meta": {
"instanceId": "290edf19075c573c46d8641c39432c3840460ddf29e6f748ee54a95aeeb3ed59"
},
"tags": []
}
140 changes: 140 additions & 0 deletions public/data/n8n/gmail/gmail-filter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"name": "Gmail Filter",
"nodes": [
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"filters": {}
},
"id": "bc6ca540-105c-4d20-9179-f7c226aee984",
"name": "Gmail Trigger",
"type": "n8n-nodes-base.gmailTrigger",
"typeVersion": 1,
"position": [
140,
860
],
"credentials": {
"gmailOAuth2": {
"id": "9",
"name": "Gmail account"
}
}
},
{
"parameters": {
"operation": "get",
"messageId": "={{ $json[\"id\"] }}"
},
"id": "787c5f1c-211a-4874-b00e-d1c991445336",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2,
"position": [
320,
600
],
"credentials": {
"gmailOAuth2": {
"id": "9",
"name": "Gmail account"
}
}
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json[\"From\"] }}",
"operation": "contains",
"value2": "[email protected]"
},
{
"value1": "={{ $json[\"Subject\"] }}",
"operation": "regex",
"value2": "/eats/i"
}
]
}
},
"id": "b6b104c9-a563-4be1-98ce-1176f69457fc",
"name": "Common Title Filter",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
560,
60
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ JSON.stringify($json[\"labels\"]) }}",
"operation": "regex",
"value2": "/personal/i"
},
{
"value1": "={{ JSON.stringify($json[\"labels\"]) }}",
"operation": "regex",
"value2": "/promo/i"
}
]
}
},
"id": "d303c9ec-6bfa-46c4-b6bb-8387348195cb",
"name": "Label Search",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
560,
240
]
}
],
"connections": {
"Gmail Trigger": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
},
"Gmail": {
"main": [
[
{
"node": "Common Title Filter",
"type": "main",
"index": 0
},
{
"node": "Label Search",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {},
"versionId": "c9221aba-2925-4ab5-a1b8-09baef5f19db",
"id": "10",
"meta": {
"instanceId": "290edf19075c573c46d8641c39432c3840460ddf29e6f748ee54a95aeeb3ed59"
},
"tags": []
}
4 changes: 2 additions & 2 deletions src/components/Splash/splash.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import Starfield from "@c/Element/Background/Starfield/starfield.astro";
import KBVELogo from "@c/Branding/KBVELogo";
const widths = [450, 800];
const sizes = "(min-width: 640px) 42vw, 67vw";
const widths = [512, 512];
const sizes = "(min-width: 512px) 42vw, 67vw";
const { webp, avif, png } = generateImage("src/assets/spellbook.png", {
widths,
Expand Down
Loading

0 comments on commit 8f576b6

Please sign in to comment.