Skip to content

Commit

Permalink
Merge pull request #323 from KBVE/alpha
Browse files Browse the repository at this point in the history
Alpha
  • Loading branch information
h0lybyte authored Feb 11, 2023
2 parents 3a7dbe2 + 4c2968b commit 231669d
Show file tree
Hide file tree
Showing 17 changed files with 413 additions and 145 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/portfolio",
"version": "0.0.1",
"name": "@kbve/kbve.com",
"version": "0.99.8",
"private": true,
"scripts": {
"dev": "astro dev",
Expand All @@ -9,7 +9,8 @@
"preview": "astro preview",
"astro": "astro",
"sync": "astro sync",
"hamstring": "astro build; astro preview"
"hamstring": "astro check",
"kbve": "astro sync && astro build && astro preview"
},
"devDependencies": {
"@astrojs/mdx": "^0.14.0",
Expand All @@ -18,9 +19,10 @@
"@astrojs/sitemap": "^1.0.0",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.7",
"astro": "^2.0.1",
"astro-compress": "1.0.6",
"sass": "^1.52.2"
"astro": "^2.0.10",
"astro-compress": "1.1.32",
"sass": "^1.52.2",
"svgo": "2.8.0"
},
"dependencies": {
"@11ty/eleventy": "^1.0.2",
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.
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.
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.
160 changes: 160 additions & 0 deletions public/data/n8n/cityvote/JapanDataMiner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
{
"name": "JapanDataMiner",
"nodes": [
{
"parameters": {},
"id": "08073008-b66a-46cf-ac68-8b9651104f43",
"name": "When clicking \"Execute Workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-240,
720
]
},
{
"parameters": {
"url": "",
"options": {}
},
"id": "967ac0f6-8330-413e-bc8b-76e977f0c38d",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
-20,
720
]
},
{
"parameters": {
"extractionValues": {
"values": [
{
"key": "listing",
"cssSelector": "div.listing",
"returnValue": "html"
}
]
},
"options": {
"trimValues": false
}
},
"id": "8b4b6afc-06f7-4260-96d3-449d37b2bde3",
"name": "HTML Extract",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
200,
720
]
},
{
"parameters": {
"dataPropertyName": "listing",
"extractionValues": {
"values": [
{
"key": "data",
"cssSelector": "div.row",
"returnValue": "html",
"returnArray": true
}
]
},
"options": {
"trimValues": false
}
},
"id": "635973bc-3c77-4d97-a48e-4882c864275e",
"name": "Isolate Listing",
"type": "n8n-nodes-base.htmlExtract",
"typeVersion": 1,
"position": [
420,
720
]
},
{
"parameters": {
"webhookUri": "",
"text": "={{ $json[\"data\"][\"1\"] }}",
"options": {}
},
"id": "bcb26bca-66c8-4dcb-85ff-29361f412fcd",
"name": "Discord",
"type": "n8n-nodes-base.discord",
"typeVersion": 1,
"position": [
900,
560
]
},
{
"parameters": {
"html": "={{ $json[\"data\"] }}",
"options": {
"strongDelimiter": "**"
}
},
"id": "4b6a523d-c9ee-4f18-92b2-f8cd11a4a008",
"name": "Markdown",
"type": "n8n-nodes-base.markdown",
"typeVersion": 1,
"position": [
620,
420
]
}
],
"pinData": {},
"connections": {
"When clicking \"Execute Workflow\"": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTML Extract",
"type": "main",
"index": 0
}
]
]
},
"HTML Extract": {
"main": [
[
{
"node": "Isolate Listing",
"type": "main",
"index": 0
}
]
]
},
"Isolate Listing": {
"main": [
[]
]
}
},
"active": false,
"settings": {},
"versionId": "eaf62a0e-f8f4-4ddd-bcc6-9ad3391b528e",
"id": "4",
"meta": {
"instanceId": "290edf19075c573c46d8641c39432c3840460ddf29e6f748ee54a95aeeb3ed59"
},
"tags": []
}
Empty file added public/void.txt
Empty file.
Binary file added src/assets/spellbook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/components/Splash/splash.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { generateImage } from "astro-eleventy-img";
import { Icon } from "astro-icon";
//import { Icon } from "astro-icon";
import Starfield from "@c/Element/Background/Starfield/starfield.astro";
//import Galaxia from "@c/Element/Background/Starfield/galaxia.astro";
//import HeroImage from "@c/Element/Picture/HeroImage/hero-image.astro";
Expand All @@ -11,11 +11,11 @@ import KBVELogo from "@c/Branding/KBVELogo";
const widths = [450, 800];
const sizes = "(min-width: 640px) 42vw, 67vw";
const { webp, avif, png } = generateImage("src/assets/suss.png", {
const { webp, avif, png } = generateImage("src/assets/spellbook.png", {
widths,
formats: ["webp", "avif", "png"],
outputDir: "public/assets/images/suss",
urlPath: "/assets/images/suss",
outputDir: "public/assets/images/spellbook",
urlPath: "/assets/images/spellbook",
});
const avifSrcset = avif.map(({ srcset }) => srcset).join(",");
Expand Down
66 changes: 41 additions & 25 deletions src/layouts/theme/header.astro
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
---
//? [HEADER]
const { title = "KBVE - Apps, Gaming, Memes and Wealth.", description = "KBVE - KiloByte Virtual Enterprise - is a collection of web tools, research, games, memes, media and more!"} = Astro.props;
const {
title = "KBVE - Apps, Gaming, Memes and Wealth.",
description = "KBVE - KiloByte Virtual Enterprise - is a collection of web tools, research, games, memes, media and more!",
img = "https://kbve.com/assets/img/kbve.png"
} = Astro.props;
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
---
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<title>{title}</title>
<meta name="description" content={description} />

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
media="print"
onload="this.media='all'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
</noscript>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="canonical" href={canonicalURL} />

<title>{title}</title>
<meta name="description" content={description} />

<meta property="og:title" content={title} />
<meta property="og:type" content="website" />
<meta property="og:description" content={description} />
<meta property="og:image" content={img} />
<meta property="og:url" content={canonicalURL} />
<meta name="twitter:card" content="summary_large_image" />

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
media="print"
onload="this.media='all'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
/>
</noscript>
3 changes: 2 additions & 1 deletion src/layouts/theme/mdx.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ const { content } = Astro.props; /// [Astro Props]
{content.description}
</div>

<N ns="ads" template="banner" id="ezoic" />


<div class="shadow-2xl p-4 bg-offset rounded-3xl">
<N ns="ads" template="banner" id="ezoic" />

<div
class="prose max-w-none prose-td:text-secondary prose-tr:text-primary prose-p:text-secondary prose-a:text-primary prose-code:text-primary prose-code:before:content-none prose-code:after:content-none prose-headings:text-primary prose-ul:text-secondary"
>
Expand Down
Loading

0 comments on commit 231669d

Please sign in to comment.