Compare commits
97 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d0c78c029 | |||
| 35bb33cf8f | |||
| 94cca820ad | |||
| 1867a6bbfd | |||
| 0f0fe2232c | |||
| 69a6543de7 | |||
| 106e73fbcc | |||
| 5f6deea201 | |||
| ed01a40995 | |||
| e7f64fd4a5 | |||
| 3d5ec86933 | |||
| da2ffe3bdb | |||
| 87451a1e58 | |||
| 65efc3b5ab | |||
| 637026f89a | |||
| be8025d416 | |||
| f986a9f5f0 | |||
| 4ca4dbc449 | |||
| 2f4a461b1d | |||
| 36f5dcbde0 | |||
| d2ffd9ed8a | |||
| 607a7720e5 | |||
| 634a1d446c | |||
| 48e3acde2f | |||
| cf69d45064 | |||
| 1d975fdc09 | |||
| d501aadbbb | |||
| 7004cc7908 | |||
| ea081f8228 | |||
| d1ed7f697d | |||
| 2b3f671400 | |||
| 9f9a1110ad | |||
| 0c3c2ae5d9 | |||
| d83fd10ca6 | |||
| 2b553aea71 | |||
| ce9d089dd7 | |||
| d466300ee7 | |||
| a1fc7307c4 | |||
| f3a13cbfc5 | |||
| 91c8a6e112 | |||
| f2d5fea663 | |||
| d0d3875fb9 | |||
| 2fb93904fe | |||
| e2b995c44f | |||
| b249c4e820 | |||
| dc871cdea7 | |||
| 27b5b29a0b | |||
| c7a7177d9d | |||
| 1e2734dc3a | |||
| 6dbc9a0257 | |||
| 22b192b8ca | |||
| cc2e84f8d3 | |||
| 7b26596b0b | |||
| 4344aa8a79 | |||
| f54aeb5fcc | |||
| e797e6905a | |||
| 3f0fa83286 | |||
| 246ec08076 | |||
| 381db28b9f | |||
| 41a5bfc307 | |||
| 88a6ae4b31 | |||
| 4e9ebdbd95 | |||
| 4efd5c9215 | |||
| 317b5675b6 | |||
| adcd9af337 | |||
| d3eff70590 | |||
| 10ffd08754 | |||
| 6e68472aa0 | |||
| 4ff4a5463f | |||
| 3ff47cc3a1 | |||
| b10553cece | |||
| 544291d300 | |||
| e021c2577b | |||
| f3a20ee6aa | |||
| ec46605828 | |||
| bc05c38cad | |||
| 118df55742 | |||
| 97063d1003 | |||
| c7edad0e56 | |||
| 8f3e37aaba | |||
| ebe1811e93 | |||
| c33da25571 | |||
| f681e3c4c3 | |||
| f326027e58 | |||
| 5bd128b742 | |||
| 086ecc0aab | |||
| 372efb9ef0 | |||
| 988b138d91 | |||
| 7f0c0934d6 | |||
| 62a0c45842 | |||
| 1262e971c4 | |||
| e097c27286 | |||
| 174f88776e | |||
| 5309732f80 | |||
| 98f6aaddcd | |||
| 0d0a27038f | |||
| 1bce80b7b5 |
24 changed files with 2191 additions and 1924 deletions
2
.env.example
Normal file
2
.env.example
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# replace with correct IP, and rename the file to .env
|
||||||
|
HOST=123.456.789.00
|
||||||
3
.husky/post-commit
Normal file
3
.husky/post-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
echo "post-commit..."
|
||||||
|
git push gh
|
||||||
|
git push sh
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
npx lint-staged
|
echo "pre-commit..."
|
||||||
|
npx lint-staged
|
||||||
|
|
|
||||||
13
README.md
13
README.md
|
|
@ -33,8 +33,21 @@ $ pnpm i
|
||||||
|
|
||||||
For the script `npm run deploy`, you need to add an environmental variable named HOST containing the IP address of the host server. This will scp the build files into the server.
|
For the script `npm run deploy`, you need to add an environmental variable named HOST containing the IP address of the host server. This will scp the build files into the server.
|
||||||
|
|
||||||
|
You can do this by adding a `.env` file with the following content (replace the IP):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# .env
|
||||||
|
HOST=123.456.789.00
|
||||||
|
```
|
||||||
|
|
||||||
|
There is a service worker (`src/sw.mjs`) that caches assets on client browsers. For cache invalidation, the version property in package.json is used. Increment the version via `npm version patch` (or `minor`, `major`) if there is a significant change in the website's assets.
|
||||||
|
|
||||||
If you want to run build before deploying, do `npm run build:deploy`
|
If you want to run build before deploying, do `npm run build:deploy`
|
||||||
|
|
||||||
|
## Auto-mirror to various code forges
|
||||||
|
|
||||||
|
The power of git lies within its decentralized nature. I push this project to three different code forges, because I'm paranoid like that. No, I just like to show off. I do this with a post-commit hook that automatically calls `git push <repo> --mirror`, and you can see that in the `.husky/post-commit` file.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
_Just keep building._<br />
|
_Just keep building._<br />
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
import { Code } from 'astro:components'
|
import { Code } from 'astro:components'
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import Footer from '../components/Footer.astro'
|
import Footer from '../../components/Footer.astro'
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../../layouts/Layout.astro'
|
||||||
import importedCode from '../../public/following_accounts.csv?raw'
|
import importedCode from '../../../public/following_accounts.csv?raw'
|
||||||
|
|
||||||
const csvToArray = (content: string) => {
|
const csvToArray = (content: string) => {
|
||||||
return content
|
return content
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,8 @@ import icon from 'astro-icon'
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://ayo.ayco.io',
|
site: 'https://ayo.ayco.io',
|
||||||
image: {
|
image: {
|
||||||
domains: ['cdn.bsky.app'],
|
domains: ['cdn.bsky.app', 'media.ayco.io'],
|
||||||
|
remotePatterns: [{ protocol: 'https' }],
|
||||||
},
|
},
|
||||||
integrations: [
|
integrations: [
|
||||||
sitemap(),
|
sitemap(),
|
||||||
|
|
|
||||||
38
package.json
38
package.json
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@ayco/personal-website",
|
"name": "@ayco/personal-website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.3.7",
|
"version": "1.3.51",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
|
|
@ -12,8 +12,8 @@
|
||||||
"lint": "eslint . --config eslint.config.mjs --cache",
|
"lint": "eslint . --config eslint.config.mjs --cache",
|
||||||
"format": "prettier . --write",
|
"format": "prettier . --write",
|
||||||
"check": "npm run format && npm run lint",
|
"check": "npm run format && npm run lint",
|
||||||
"predeploy": "npm version patch && npm run build",
|
"deploy": "eval $(grep '^HOST' .env) && scp -v -r dist ayo@$HOST:~/ayco.io-flask",
|
||||||
"deploy": "npm run predeploy && eval $(grep '^HOST' .env) && scp -r dist ayo@$HOST:~/ayco.io-flask",
|
"patch:build:deploy": "npm run patch && npm run build && npm run deploy",
|
||||||
"build:preview": "npm run build && astro preview",
|
"build:preview": "npm run build && astro preview",
|
||||||
"build:deploy": "npm run build && npm run deploy",
|
"build:deploy": "npm run build && npm run deploy",
|
||||||
"copy:dist": "npm run build && cp -R dist ../ayco.io-flask/",
|
"copy:dist": "npm run build && cp -R dist ../ayco.io-flask/",
|
||||||
|
|
@ -23,35 +23,35 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astro-reactive/form": "^0.10.1",
|
"@astro-reactive/form": "^0.10.1",
|
||||||
"@astro-reactive/validator": "^0.5.1",
|
"@astro-reactive/validator": "^0.5.1",
|
||||||
"@astrojs/sitemap": "^3.4.2",
|
"@astrojs/sitemap": "^3.7.0",
|
||||||
"@ayco/astro-sw": "^0.8.14",
|
"@ayco/astro-sw": "^0.8.14",
|
||||||
"@eslint/compat": "^1.3.1",
|
"@eslint/compat": "^2.0.2",
|
||||||
"@eslint/js": "^9.32.0",
|
"@eslint/js": "^10.0.1",
|
||||||
"@iconify-json/mdi": "^1.2.3",
|
"@iconify-json/mdi": "^1.2.3",
|
||||||
"@iconify-json/simple-icons": "^1.2.45",
|
"@iconify-json/simple-icons": "^1.2.71",
|
||||||
"@iconify-json/tabler": "^1.2.20",
|
"@iconify-json/tabler": "^1.2.27",
|
||||||
"@typescript-eslint/parser": "^8.38.0",
|
"@typescript-eslint/parser": "^8.56.0",
|
||||||
"astro": "^5.12.8",
|
"astro": "^5.17.3",
|
||||||
"astro-eslint-parser": "^1.2.2",
|
"astro-eslint-parser": "^1.3.0",
|
||||||
"astro-github-stats": "^0.8.0",
|
"astro-github-stats": "^0.8.0",
|
||||||
"astro-icon": "^1.1.5",
|
"astro-icon": "^1.1.5",
|
||||||
"consola": "^3.4.2",
|
"consola": "^3.4.2",
|
||||||
"eslint": "^9.32.0",
|
"eslint": "^10.0.1",
|
||||||
"eslint-plugin-astro": "^1.3.1",
|
"eslint-plugin-astro": "^1.6.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"globals": "^16.3.0",
|
"globals": "^17.3.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"jiti": "^2.5.1",
|
"jiti": "^2.6.1",
|
||||||
"lint-staged": "^16.1.2",
|
"lint-staged": "^16.2.7",
|
||||||
"pathe": "^2.0.3",
|
"pathe": "^2.0.3",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.8.1",
|
||||||
"prettier-plugin-astro": "^0.14.1",
|
"prettier-plugin-astro": "^0.14.1",
|
||||||
"rehype-stringify": "^10.0.1",
|
"rehype-stringify": "^10.0.1",
|
||||||
"remark-parse": "^11.0.0",
|
"remark-parse": "^11.0.0",
|
||||||
"remark-rehype": "^11.1.2",
|
"remark-rehype": "^11.1.2",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.3",
|
||||||
"typescript-eslint": "^8.38.0",
|
"typescript-eslint": "^8.56.0",
|
||||||
"unified": "^11.0.5"
|
"unified": "^11.0.5"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
|
|
||||||
3499
pnpm-lock.yaml
3499
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
BIN
public/Ayco_Resume.pdf
Normal file
BIN
public/Ayco_Resume.pdf
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 93 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -8,8 +8,7 @@ jay.bsky.team@bsky.brid.gy, true, false,
|
||||||
b0rk.jvns.ca@bsky.brid.gy, true, false,
|
b0rk.jvns.ca@bsky.brid.gy, true, false,
|
||||||
seldo.com@bsky.brid.gy, true, false,
|
seldo.com@bsky.brid.gy, true, false,
|
||||||
nerdy.dev@bsky.brid.gy, true, false,
|
nerdy.dev@bsky.brid.gy, true, false,
|
||||||
wongmjane.com@bsky.brid.gy, true, false,
|
samuel.fm@bsky.brid.gy, true, false,
|
||||||
samuel.bsky.team@bsky.brid.gy, true, false,
|
|
||||||
laurenshof.online@bsky.brid.gy, true, false,
|
laurenshof.online@bsky.brid.gy, true, false,
|
||||||
bell.bz@bsky.brid.gy, true, false,
|
bell.bz@bsky.brid.gy, true, false,
|
||||||
matrix.org@bsky.brid.gy, true, false,
|
matrix.org@bsky.brid.gy, true, false,
|
||||||
|
|
@ -32,6 +31,6 @@ intenttoship.dev@bsky.brid.gy, true, false,
|
||||||
element.io@bsky.brid.gy, true, false,
|
element.io@bsky.brid.gy, true, false,
|
||||||
e18e.dev@bsky.brid.gy, true, false,
|
e18e.dev@bsky.brid.gy, true, false,
|
||||||
danabra.mov@bsky.brid.gy, true, false,
|
danabra.mov@bsky.brid.gy, true, false,
|
||||||
heydonworks.bsky.social@bsky.brid.gy, true, false,
|
heydonworks.com@bsky.brid.gy, true, false,
|
||||||
danielroe.dev@bsky.brid.gy, true, false,
|
danielroe.dev@bsky.brid.gy, true, false,
|
||||||
patak.dev@bsky.brid.gy, true, false,
|
patak.dev@bsky.brid.gy, true, false,
|
||||||
|
|
|
||||||
|
|
|
@ -1,35 +1,137 @@
|
||||||
Sitemap: https://ayo.ayco.io/sitemap-index.xml
|
Sitemap: https://ayo.ayco.io/sitemap-index.xml
|
||||||
|
|
||||||
User-agent: *
|
User-agent: AddSearchBot
|
||||||
Disallow:
|
User-agent: AI2Bot
|
||||||
|
User-agent: AI2Bot-DeepResearchEval
|
||||||
User-agent: AdsBot-Google
|
User-agent: Ai2Bot-Dolma
|
||||||
|
User-agent: aiHitBot
|
||||||
|
User-agent: amazon-kendra
|
||||||
User-agent: Amazonbot
|
User-agent: Amazonbot
|
||||||
|
User-agent: AmazonBuyForMe
|
||||||
|
User-agent: Amzn-SearchBot
|
||||||
|
User-agent: Amzn-User
|
||||||
|
User-agent: Andibot
|
||||||
|
User-agent: Anomura
|
||||||
User-agent: anthropic-ai
|
User-agent: anthropic-ai
|
||||||
User-agent: Applebot
|
User-agent: Applebot
|
||||||
User-agent: AwarioRssBot
|
User-agent: Applebot-Extended
|
||||||
User-agent: AwarioSmartBot
|
User-agent: atlassian-bot
|
||||||
|
User-agent: Awario
|
||||||
|
User-agent: AzureAI-SearchBot
|
||||||
|
User-agent: bedrockbot
|
||||||
|
User-agent: bigsur.ai
|
||||||
|
User-agent: Bravebot
|
||||||
|
User-agent: Brightbot 1.0
|
||||||
|
User-agent: BuddyBot
|
||||||
User-agent: Bytespider
|
User-agent: Bytespider
|
||||||
User-agent: CCBot
|
User-agent: CCBot
|
||||||
|
User-agent: Channel3Bot
|
||||||
|
User-agent: ChatGLM-Spider
|
||||||
|
User-agent: ChatGPT Agent
|
||||||
User-agent: ChatGPT-User
|
User-agent: ChatGPT-User
|
||||||
User-agent: ClaudeBot
|
User-agent: Claude-SearchBot
|
||||||
|
User-agent: Claude-User
|
||||||
User-agent: Claude-Web
|
User-agent: Claude-Web
|
||||||
|
User-agent: ClaudeBot
|
||||||
|
User-agent: Cloudflare-AutoRAG
|
||||||
|
User-agent: CloudVertexBot
|
||||||
User-agent: cohere-ai
|
User-agent: cohere-ai
|
||||||
User-agent: DataForSeoBot
|
User-agent: cohere-training-data-crawler
|
||||||
|
User-agent: Cotoyogi
|
||||||
|
User-agent: Crawl4AI
|
||||||
|
User-agent: Crawlspace
|
||||||
|
User-agent: Datenbank Crawler
|
||||||
|
User-agent: DeepSeekBot
|
||||||
|
User-agent: Devin
|
||||||
|
User-agent: Diffbot
|
||||||
|
User-agent: DuckAssistBot
|
||||||
|
User-agent: Echobot Bot
|
||||||
|
User-agent: EchoboxBot
|
||||||
User-agent: FacebookBot
|
User-agent: FacebookBot
|
||||||
|
User-agent: facebookexternalhit
|
||||||
|
User-agent: Factset_spyderbot
|
||||||
|
User-agent: FirecrawlAgent
|
||||||
User-agent: FriendlyCrawler
|
User-agent: FriendlyCrawler
|
||||||
|
User-agent: Gemini-Deep-Research
|
||||||
|
User-agent: Google-CloudVertexBot
|
||||||
User-agent: Google-Extended
|
User-agent: Google-Extended
|
||||||
|
User-agent: Google-Firebase
|
||||||
|
User-agent: Google-NotebookLM
|
||||||
|
User-agent: GoogleAgent-Mariner
|
||||||
User-agent: GoogleOther
|
User-agent: GoogleOther
|
||||||
|
User-agent: GoogleOther-Image
|
||||||
|
User-agent: GoogleOther-Video
|
||||||
User-agent: GPTBot
|
User-agent: GPTBot
|
||||||
|
User-agent: iAskBot
|
||||||
|
User-agent: iaskspider
|
||||||
|
User-agent: iaskspider/2.0
|
||||||
|
User-agent: IbouBot
|
||||||
|
User-agent: ICC-Crawler
|
||||||
User-agent: ImagesiftBot
|
User-agent: ImagesiftBot
|
||||||
User-agent: magpie-crawler
|
User-agent: imageSpider
|
||||||
User-agent: Meltwater
|
User-agent: img2dataset
|
||||||
|
User-agent: ISSCyberRiskCrawler
|
||||||
|
User-agent: kagi-fetcher
|
||||||
|
User-agent: Kangaroo Bot
|
||||||
|
User-agent: KlaviyoAIBot
|
||||||
|
User-agent: KunatoCrawler
|
||||||
|
User-agent: laion-huggingface-processor
|
||||||
|
User-agent: LAIONDownloader
|
||||||
|
User-agent: LCC
|
||||||
|
User-agent: LinerBot
|
||||||
|
User-agent: Linguee Bot
|
||||||
|
User-agent: LinkupBot
|
||||||
|
User-agent: Manus-User
|
||||||
|
User-agent: meta-externalagent
|
||||||
|
User-agent: Meta-ExternalAgent
|
||||||
|
User-agent: meta-externalfetcher
|
||||||
|
User-agent: Meta-ExternalFetcher
|
||||||
|
User-agent: meta-webindexer
|
||||||
|
User-agent: MistralAI-User
|
||||||
|
User-agent: MistralAI-User/1.0
|
||||||
|
User-agent: MyCentralAIScraperBot
|
||||||
|
User-agent: netEstate Imprint Crawler
|
||||||
|
User-agent: NotebookLM
|
||||||
|
User-agent: NovaAct
|
||||||
|
User-agent: OAI-SearchBot
|
||||||
User-agent: omgili
|
User-agent: omgili
|
||||||
User-agent: omgilibot
|
User-agent: omgilibot
|
||||||
User-agent: peer39_crawler
|
User-agent: OpenAI
|
||||||
User-agent: peer39_crawler/1.0
|
User-agent: Operator
|
||||||
|
User-agent: PanguBot
|
||||||
|
User-agent: Panscient
|
||||||
|
User-agent: panscient.com
|
||||||
|
User-agent: Perplexity-User
|
||||||
User-agent: PerplexityBot
|
User-agent: PerplexityBot
|
||||||
User-agent: PiplBot
|
User-agent: PetalBot
|
||||||
User-agent: Seekr
|
User-agent: PhindBot
|
||||||
|
User-agent: Poggio-Citations
|
||||||
|
User-agent: Poseidon Research Crawler
|
||||||
|
User-agent: QualifiedBot
|
||||||
|
User-agent: QuillBot
|
||||||
|
User-agent: quillbot.com
|
||||||
|
User-agent: SBIntuitionsBot
|
||||||
|
User-agent: Scrapy
|
||||||
|
User-agent: SemrushBot-OCOB
|
||||||
|
User-agent: SemrushBot-SWA
|
||||||
|
User-agent: ShapBot
|
||||||
|
User-agent: Sidetrade indexer bot
|
||||||
|
User-agent: Spider
|
||||||
|
User-agent: TavilyBot
|
||||||
|
User-agent: TerraCotta
|
||||||
|
User-agent: Thinkbot
|
||||||
|
User-agent: TikTokSpider
|
||||||
|
User-agent: Timpibot
|
||||||
|
User-agent: TwinAgent
|
||||||
|
User-agent: VelenPublicWebCrawler
|
||||||
|
User-agent: WARDBot
|
||||||
|
User-agent: Webzio-Extended
|
||||||
|
User-agent: webzio-extended
|
||||||
|
User-agent: wpbot
|
||||||
|
User-agent: WRTNBot
|
||||||
|
User-agent: YaK
|
||||||
|
User-agent: YandexAdditional
|
||||||
|
User-agent: YandexAdditionalBot
|
||||||
User-agent: YouBot
|
User-agent: YouBot
|
||||||
|
User-agent: ZanistaBot
|
||||||
Disallow: /
|
Disallow: /
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 504 KiB |
|
|
@ -3,17 +3,20 @@ export interface Props {
|
||||||
title?: string | undefined
|
title?: string | undefined
|
||||||
description?: string | undefined
|
description?: string | undefined
|
||||||
ogImage?: string | undefined
|
ogImage?: string | undefined
|
||||||
|
ogFileType?: string | undefined
|
||||||
}
|
}
|
||||||
const defaultDescription =
|
const defaultDescription =
|
||||||
'Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS'
|
'Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS'
|
||||||
|
|
||||||
const defaultTitle = 'Ayo Ayco - Web Dev, Engineer, Leader, Thinker'
|
const defaultTitle = 'Ayo Ayco - Tech Leader, Software Engineer, Web Developer'
|
||||||
const defaultOgImage = 'ayo.png'
|
const defaultOgImage = 'ayo.png'
|
||||||
|
const defaultOgFileType = 'image/png'
|
||||||
|
|
||||||
let {
|
let {
|
||||||
title,
|
title,
|
||||||
description = defaultDescription,
|
description = defaultDescription,
|
||||||
ogImage = defaultOgImage,
|
ogImage = defaultOgImage,
|
||||||
|
ogFileType = defaultOgFileType,
|
||||||
} = Astro.props
|
} = Astro.props
|
||||||
|
|
||||||
const baseURL = Astro.site?.toString().slice(0, -1) // ?? 'https://ayo.ayco.io'
|
const baseURL = Astro.site?.toString().slice(0, -1) // ?? 'https://ayo.ayco.io'
|
||||||
|
|
@ -35,7 +38,8 @@ const baseURL = Astro.site?.toString().slice(0, -1) // ?? 'https://ayo.ayco.io'
|
||||||
<meta property="og:url" content={baseURL + Astro.url.pathname} />
|
<meta property="og:url" content={baseURL + Astro.url.pathname} />
|
||||||
<meta property="og:title" content={title} />
|
<meta property="og:title" content={title} />
|
||||||
<meta property="og:description" content={description} />
|
<meta property="og:description" content={description} />
|
||||||
<meta property="og:image" content={`/${ogImage}`} />
|
<meta property="og:image:type" content={ogFileType} />
|
||||||
|
<meta property="og:image" content={ogImage} />
|
||||||
|
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
<link rel="canonical" href={baseURL + Astro.url.pathname} />
|
<link rel="canonical" href={baseURL + Astro.url.pathname} />
|
||||||
|
|
|
||||||
|
|
@ -45,30 +45,35 @@ export const footerLinks: Link[] = [
|
||||||
url: 'https://git.ayo.run/ayo/',
|
url: 'https://git.ayo.run/ayo/',
|
||||||
icon: 'git',
|
icon: 'git',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: 'SourceHut',
|
|
||||||
url: 'https://sr.ht/~ayoayco',
|
|
||||||
icon: 'sourcehut',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'GitHub',
|
text: 'GitHub',
|
||||||
url: 'https://ayco.io/gh',
|
url: 'https://github.com/ayo-run',
|
||||||
icon: 'github',
|
icon: 'github',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'CodePen',
|
||||||
|
url: 'https://codepen.io/ayo-run',
|
||||||
|
icon: 'codepen',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'Mastodon',
|
text: 'Mastodon',
|
||||||
url: 'https://social.ayco.io/about',
|
url: 'https://main.elk.zone/social.ayco.io/@ayo',
|
||||||
icon: 'mastodon',
|
icon: 'mastodon',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'Bluesky',
|
||||||
|
url: 'http://bsky.app/profile/ayo.run',
|
||||||
|
icon: 'bluesky',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'Pixelfed',
|
text: 'Pixelfed',
|
||||||
url: 'https://metapixl.com/@ayo',
|
url: 'https://metapixl.com/@ayo',
|
||||||
icon: 'pixelfed',
|
icon: 'pixelfed',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Bluesky',
|
text: 'Instagram',
|
||||||
url: 'http://bsky.app/profile/ayo.ayco.io',
|
url: 'https://www.instagram.com/ayoayco/',
|
||||||
icon: 'bluesky',
|
icon: 'instagram',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'LinkedIn',
|
text: 'LinkedIn',
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"title": "",
|
"title": "BACK AT IT",
|
||||||
"description": "",
|
"description": "",
|
||||||
"publishDate": "2025-10-18",
|
"publishDate": "2026-02-22",
|
||||||
"publishedOn": "",
|
"publishedOn": "the 22nd day of February 2026",
|
||||||
"publishState": ""
|
"publishState": ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
Hello! Been a while!
|
||||||
|
|
||||||
|
Yes, I'm getting back to some of my shelved side projects like <a href="https://github.com/ayoayco/mcfly#readme">McFly</a> and <a href="https://github.com/ayoayco/astro-sw#readme">Astro SW</a>.
|
||||||
|
|
||||||
|
Why were they shelved, you ask?
|
||||||
|
|
||||||
|
Well, that's a story for another time.
|
||||||
|
|
||||||
|
You can <a href="https://github.com/ayoayco">Follow me on GitHub</a> to see my activities on these projects if that's your thing. :)
|
||||||
|
|
@ -8,15 +8,34 @@ import { links } from '../constants/links'
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title?: string
|
title?: string
|
||||||
description?: string
|
description?: string
|
||||||
ogImage?: string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const { title, description, ogImage } = Astro.props
|
const { title, description } = Astro.props
|
||||||
|
import { getImage } from 'astro:assets'
|
||||||
|
|
||||||
|
// fetch mastodon account
|
||||||
|
const response = await fetch(
|
||||||
|
'https://social.ayco.io/api/v1/accounts/lookup?acct=ayo'
|
||||||
|
)
|
||||||
|
const data = await response.json()
|
||||||
|
const { avatar } = data
|
||||||
|
const ogImage = await getImage({
|
||||||
|
src: avatar,
|
||||||
|
width: 400,
|
||||||
|
height: 400,
|
||||||
|
format: 'png',
|
||||||
|
})
|
||||||
|
const ogFileType = 'image/png'
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<Head title={title} description={description} ogImage={ogImage} />
|
<Head
|
||||||
|
title={title}
|
||||||
|
description={description}
|
||||||
|
ogImage={ogImage.src}
|
||||||
|
ogFileType={ogFileType}
|
||||||
|
/>
|
||||||
|
|
||||||
<body class="h-card">
|
<body class="h-card">
|
||||||
<Nav links={links} />
|
<Nav links={links} />
|
||||||
|
|
|
||||||
|
|
@ -8,51 +8,33 @@ import Footer from '../components/Footer.astro'
|
||||||
<h1>Ayo Ayco</h1>
|
<h1>Ayo Ayco</h1>
|
||||||
<p>ᜈᜄ᜔ᜋᜓᜎ ᜐ ᜉᜒᜇ̢̟ᜎᜐ᜔ ᜅ᜔ ᜐᜒᜎᜅᜈᜈ᜔</p>
|
<p>ᜈᜄ᜔ᜋᜓᜎ ᜐ ᜉᜒᜇ̢̟ᜎᜐ᜔ ᜅ᜔ ᜐᜒᜎᜅᜈᜈ᜔</p>
|
||||||
<p>
|
<p>
|
||||||
Frontend guy who likes server adventures, coding, and linux. Passionate
|
Technical engineering leader experienced in web development, software
|
||||||
about the indieweb, digital sovereignty, and kindness.
|
architecture, and community building. Passionate about the indieweb,
|
||||||
|
digital sovereignty, and kindness.
|
||||||
</p>
|
</p>
|
||||||
<details>
|
|
||||||
<summary>
|
|
||||||
Hey there! I interrupt this page for a message from this website's
|
|
||||||
sponsor...
|
|
||||||
</summary>
|
|
||||||
<p>
|
|
||||||
<strong>Myself!</strong> Thank you for wanting to read a bit more about me.
|
|
||||||
<!--Some people shy away from writing things about themselves, and thus looks negatively at others who do. But that shouldn't be the case!-->
|
|
||||||
I find it helpful to have a single canonical <code class="inline-code"
|
|
||||||
>/about</code
|
|
||||||
> page with these significant information. It is always a work in progress
|
|
||||||
(like me), and to be honest, I do this mostly as a reminder as the world
|
|
||||||
continue to impose identity onto us. Cheers to celebrating differences!
|
|
||||||
</p>
|
|
||||||
<small> Now back to the rest of the web page... </small>
|
|
||||||
</details>
|
|
||||||
<p>
|
<p>
|
||||||
I am a newbie engineering manager at a large global bank headquartered in
|
I am an engineering manager at <a href="https://ing.com">ING</a> and a certified
|
||||||
Amsterdam. I'm also a certified software architecture professional
|
software architecture professional (CPSA‑F®) by <a
|
||||||
(CPSA‑F®) by <a href="https://isaqb.org" target="_blank">isaqb.org</a>.
|
href="https://isaqb.org"
|
||||||
|
target="_blank">iSAQB</a
|
||||||
|
>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
In my spare time, when I have energy, I find it fun building <a
|
In my spare time, I find it fun building <a href="/showcase">projects</a>,
|
||||||
href="/showcase">hobby projects</a
|
running self-hosted services at <a href="https://ayo.run">ayo.run</a>, and
|
||||||
>, running self-hosted services at <a href="https://ayo.run">ayo.run</a>,
|
volunteering to <a href="https://ayos.blog/why-fediverse/" target="_blank"
|
||||||
and volunteering to <a
|
>Fediverse</a
|
||||||
href="https://ayos.blog/why-fediverse/"
|
|
||||||
target="_blank">Fediverse</a
|
|
||||||
> projects like <a href="https://elk.zone">elk.zone</a>,
|
> projects like <a href="https://elk.zone">elk.zone</a>,
|
||||||
<a href="https://m.webtoo.ls/public/local">webtoo.ls</a>, and <a
|
<a href="https://m.webtoo.ls/public/local">webtoo.ls</a>, and <a
|
||||||
href="https://m.webtoo.ls/@vitest">vitest's fedi presence</a
|
href="https://m.webtoo.ls/@vitest">vitest's fedi presence</a
|
||||||
>.
|
>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
In a previous life, I've volunteered much of my weekends into teaching
|
I've volunteered much of my early years into leadership trainings,
|
||||||
kids, leading groups of students, planting a church, and facilitating
|
teaching & leading groups of students, planting a church, and facilitating
|
||||||
focus group discussions with entrepreneurial founders, where I learned a
|
focus group discussions with entrepreneurial founders, where I learned the
|
||||||
lot about the power of multi-generational & multi-cultural communities.
|
power of multi-generational & multi-cultural communities.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2 id="contact">Contact info</h2>
|
<h2 id="contact">Contact info</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>✉️ Email: <a href="mailto:ayo@ayco.io">ayo@ayco.io</a></li>
|
<li>✉️ Email: <a href="mailto:ayo@ayco.io">ayo@ayco.io</a></li>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,17 @@
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import Card from '../components/Card.astro'
|
import Card from '../components/Card.astro'
|
||||||
import Footer from '../components/Footer.astro'
|
import Footer from '../components/Footer.astro'
|
||||||
// import now from '../constants/now.json'
|
import now from '../constants/now.json'
|
||||||
|
|
||||||
|
import { Picture } from 'astro:assets'
|
||||||
|
|
||||||
|
// fetch mastodon account
|
||||||
|
const response = await fetch(
|
||||||
|
'https://social.ayco.io/api/v1/accounts/lookup?acct=ayo'
|
||||||
|
)
|
||||||
|
const data = await response.json()
|
||||||
|
const { avatar, note } = data
|
||||||
|
const avatarSize = 150
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
|
|
@ -12,28 +22,25 @@ import Footer from '../components/Footer.astro'
|
||||||
<!-- h-card details -->
|
<!-- h-card details -->
|
||||||
<span class="p-name">Ayo Ayco</span>
|
<span class="p-name">Ayo Ayco</span>
|
||||||
<a class="u-url u-uid" href="https://ayo.ayco.io">w</a>,
|
<a class="u-url u-uid" href="https://ayo.ayco.io">w</a>,
|
||||||
<p class="p-note">
|
<section class="p-note" set:html={note} />
|
||||||
Frontend guy who likes server adventures & works w/ linux. Looking to
|
|
||||||
specialize in web perf, but mostly feels like an impostor for now. Has
|
|
||||||
hobby projects.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<img
|
<Picture
|
||||||
class="u-photo highlighted-section__content__profile-picture"
|
class="u-photo highlighted-section__content__profile-picture"
|
||||||
alt="Ayo Ayco's avatar"
|
alt="Ayo Ayco's avatar"
|
||||||
src="/ayo-sm.png"
|
formats={['avif', 'webp']}
|
||||||
width="140"
|
src={avatar}
|
||||||
height="140"
|
width={avatarSize}
|
||||||
|
height={avatarSize}
|
||||||
/>
|
/>
|
||||||
<div class="highlighted-section__content__text">
|
<div class="highlighted-section__content__text">
|
||||||
<h1 title="Ayo Ayco | Software Engineer + Web Developer">
|
<h1 title="Ayo Ayco | Software Engineer + Web Developer">
|
||||||
Hi, I'm <span class="heavy-text">Ayo</span>!
|
Hi, I'm <span class="heavy-text">Ayo</span>!
|
||||||
</h1>
|
</h1>
|
||||||
<!--a href="https://forms.ayo.run/form/tnz7FybY" class="now-wrapper"-->
|
<!--a href="https://forms.ayo.run/form/tnz7FybY" class="now-wrapper"-->
|
||||||
<!--a href="/now" class="now-wrapper">
|
<a href="/now" class="now-wrapper">
|
||||||
<span class="now-label">now</span>
|
<span class="now-label">now</span>
|
||||||
<span class="status">{now.title}</span>
|
<span class="status">{now.title}</span>
|
||||||
</a-->
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -57,7 +64,7 @@ import Footer from '../components/Footer.astro'
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab={true}
|
newTab={true}
|
||||||
href="https://ayco.io/cv"
|
href="/Ayco_Resume.pdf"
|
||||||
title="CV / Resume"
|
title="CV / Resume"
|
||||||
body="Download and peruse my skills and experience"
|
body="Download and peruse my skills and experience"
|
||||||
/>
|
/>
|
||||||
|
|
@ -67,7 +74,7 @@ import Footer from '../components/Footer.astro'
|
||||||
<Footer />
|
<Footer />
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style define:vars={{ avatarSize }}>
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: rgba(255, 255, 255, 0.75);
|
color: rgba(255, 255, 255, 0.75);
|
||||||
|
|
@ -125,8 +132,8 @@ import Footer from '../components/Footer.astro'
|
||||||
background-color: var(--color-brand-blue-1);
|
background-color: var(--color-brand-blue-1);
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 140px;
|
width: var(--avatarSize) px;
|
||||||
height: 140px;
|
height: var(--avatarSize) px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlighted-section__content ul a {
|
.highlighted-section__content ul a {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ import Card from '../components/Card.astro'
|
||||||
newTab
|
newTab
|
||||||
href="https://git.ayo.run/ayo/simple-tts#readme"
|
href="https://git.ayo.run/ayo/simple-tts#readme"
|
||||||
title="Simple TTS"
|
title="Simple TTS"
|
||||||
body="A simple machine learning text-to-speech program for the terminal"
|
body="A machine learning text-to-speech program for the terminal"
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
|
|
@ -28,14 +28,9 @@ import Card from '../components/Card.astro'
|
||||||
title="McFly"
|
title="McFly"
|
||||||
body="A meta-framework for building web experiences"
|
body="A meta-framework for building web experiences"
|
||||||
/>
|
/>
|
||||||
<Card
|
|
||||||
href="/showcase/tech-bsky-fedi"
|
|
||||||
title="Tech Bsky ↔ Fedi"
|
|
||||||
body="Celebrating bsky folks who bridged their accounts to the fediverse!"
|
|
||||||
/>
|
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
href="https://ayco.io/sh/astro-sw#readme"
|
href="https://git.ayo.run/ayo/astro-sw#readme"
|
||||||
title="Astro SW"
|
title="Astro SW"
|
||||||
body="Integration to use your service worker with Astro"
|
body="Integration to use your service worker with Astro"
|
||||||
/>
|
/>
|
||||||
|
|
@ -47,15 +42,15 @@ import Card from '../components/Card.astro'
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
href="https://ayco.io/sh/astro-resume#readme"
|
href="https://git.ayo.run/ayo/astro-resume#readme"
|
||||||
title="Astro Resume"
|
title="Astro Resume"
|
||||||
body="Utilities for serializing data from server for use in the client with types preserved across components."
|
body="Utilities for serializing data from server for use in the client with types preserved across components."
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
href="https://ayco.io/n/generate-timezone-json"
|
href="https://astro-reactive.js.org"
|
||||||
title="Time Zone JSON Generator"
|
title="Astro Reactive"
|
||||||
body="Generate a JSON file containing time zones from the official IANA Database or your own zone.tab file"
|
body="Let your Data build your UI with Astro components 🔥"
|
||||||
/>
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
|
|
@ -63,6 +58,12 @@ import Card from '../components/Card.astro'
|
||||||
title="Cozy 🧸"
|
title="Cozy 🧸"
|
||||||
body="Your modern-day reading assistant"
|
body="Your modern-day reading assistant"
|
||||||
/>
|
/>
|
||||||
|
<Card
|
||||||
|
newTab
|
||||||
|
href="https://ayco.io/n/generate-timezone-json"
|
||||||
|
title="Time Zone JSON Generator"
|
||||||
|
body="Generate a JSON file containing time zones from the official IANA Database or your own zone.tab file"
|
||||||
|
/>
|
||||||
<Card
|
<Card
|
||||||
newTab
|
newTab
|
||||||
href="https://kaboom.ayco.io"
|
href="https://kaboom.ayco.io"
|
||||||
|
|
@ -75,16 +76,6 @@ import Card from '../components/Card.astro'
|
||||||
title="Minesweeper"
|
title="Minesweeper"
|
||||||
body="Recreated the classic game for the web 💣"
|
body="Recreated the classic game for the web 💣"
|
||||||
/>
|
/>
|
||||||
<Card
|
|
||||||
href="/showcase/astro-reactive-form"
|
|
||||||
title="Reactive Form"
|
|
||||||
body="The reactive form component for Astro 🔥"
|
|
||||||
/>
|
|
||||||
<Card
|
|
||||||
href="/showcase/astro-github-stats"
|
|
||||||
title="GitHub Stats"
|
|
||||||
body="Embed GitHub stats on your Astro page ✨"
|
|
||||||
/>
|
|
||||||
</ul>
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
|
||||||
|
|
@ -1,218 +0,0 @@
|
||||||
---
|
|
||||||
import { Code } from 'astro:components'
|
|
||||||
import { Image } from 'astro:assets'
|
|
||||||
import Footer from '../../components/Footer.astro'
|
|
||||||
import Layout from '../../layouts/Layout.astro'
|
|
||||||
import importedCode from '../../../public/following_accounts.csv?raw'
|
|
||||||
|
|
||||||
const csvToArray = (content: string) => {
|
|
||||||
return content
|
|
||||||
.split('\n')
|
|
||||||
.slice(1)
|
|
||||||
.map((str) => str.split(',')[0])
|
|
||||||
}
|
|
||||||
|
|
||||||
const accounts = csvToArray(importedCode)
|
|
||||||
|
|
||||||
let accountObjects = accounts
|
|
||||||
.map((account) => {
|
|
||||||
const bskyHandle = account?.replace('@bsky.brid.gy', '')
|
|
||||||
const url = `https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile/?actor=${bskyHandle}`
|
|
||||||
|
|
||||||
return account
|
|
||||||
? {
|
|
||||||
bskyHandle,
|
|
||||||
fediHandle: account,
|
|
||||||
url,
|
|
||||||
}
|
|
||||||
: null
|
|
||||||
})
|
|
||||||
.filter((acct) => !!acct)
|
|
||||||
|
|
||||||
const urls = accountObjects.map((account) => account.url)
|
|
||||||
const promises = urls.map((url) => fetch(url))
|
|
||||||
const responses = await Promise.all(promises)
|
|
||||||
let data = await Promise.all(responses.map((response) => response.json()))
|
|
||||||
|
|
||||||
// filter accounts with error (e.g., AccountDisabled)
|
|
||||||
accountObjects = accountObjects.filter((acct, index) => {
|
|
||||||
const hasNoError = !data[index].error
|
|
||||||
if (!hasNoError)
|
|
||||||
console.log(`>>> ${acct.bskyHandle} has error: ${data[index].error}`)
|
|
||||||
return hasNoError
|
|
||||||
})
|
|
||||||
data = data.filter((datum) => !datum.error)
|
|
||||||
|
|
||||||
const title = 'Tech Bsky ↔ Fedi'
|
|
||||||
const description =
|
|
||||||
'Celebrating bsky folks who bridged their accounts to the fediverse!'
|
|
||||||
---
|
|
||||||
|
|
||||||
<Layout title={title} description={description} ogImage="bskyfedi.png">
|
|
||||||
<main>
|
|
||||||
<h1 class="text-gradient">{title}</h1>
|
|
||||||
|
|
||||||
<p><em>{description}</em></p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
A lot of tech accounts are now active in Bsky. Some of them opted to be
|
|
||||||
bridged to the Fediverse via <a href="https://fed.brid.gy">fed.brid.gy</a>
|
|
||||||
-- so we can also follow them from any ActivityPub powered social platforms.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
On this page, I upload my handpicked tech Bsky accounts that are currently
|
|
||||||
bridged to the Fedi. Feel free to <a
|
|
||||||
href="mailto:ayo@ayco.io?subject=Re:%20Tech%20bsky%20<->%20fedi"
|
|
||||||
>send me a mail</a
|
|
||||||
> to request adding accounts I missed.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
If you are on bsky and want to be bridged too, please follow <a
|
|
||||||
href="https://bsky.app/profile/ap.brid.gy"
|
|
||||||
target="_blank">@ap.brid.gy</a
|
|
||||||
>.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
If you are on fedi and want to follow the accounts here, scroll to the <a
|
|
||||||
href="#how">bottom of the page</a
|
|
||||||
> for a handy `.csv` file you can upload to your chosen fedi platform.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Note that for the bsky accounts to see your replies and likes from fedi,
|
|
||||||
you have to bridge your account as well by following <a
|
|
||||||
href="https://elk.zone/@bsky.brid.gy@bsky.brid.gy"
|
|
||||||
>@bsky.brid.gy@bsky.brid.gy</a
|
|
||||||
>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Accounts ({accountObjects.length})</h2>
|
|
||||||
|
|
||||||
<p><em>Ordered in terms of my time of discovery.</em></p>
|
|
||||||
|
|
||||||
<div class="table-container">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th> </th>
|
|
||||||
<th>Fedi</th>
|
|
||||||
<th>Bsky</th>
|
|
||||||
</tr>
|
|
||||||
{
|
|
||||||
accountObjects.map((account, index) => (
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<Image
|
|
||||||
src={data[index].avatar ?? ''}
|
|
||||||
alt={`${account.bskyHandle}'s avatar`}
|
|
||||||
width="50"
|
|
||||||
height="50"
|
|
||||||
decoding="async"
|
|
||||||
loading="lazy"
|
|
||||||
/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<span>
|
|
||||||
<a
|
|
||||||
href={`https://elk.zone/@${account.fediHandle}`}
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
{account.fediHandle}
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<span>
|
|
||||||
<a
|
|
||||||
href={`https://bsky.app/profile/${account.bskyHandle}`}
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
{account.bskyHandle}
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
))
|
|
||||||
}
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h2 id="how">How how how?</h2>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Download the <a href="following_accounts.csv">.csv file</a>
|
|
||||||
<strong>or</strong> copy the content below and save in a file. Then, upload
|
|
||||||
to your fedi account provider.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>If you're on Mastodon, this functionality is found in:</p>
|
|
||||||
<p>
|
|
||||||
<strong>Preferences</strong> → <strong>Import and export</strong> →
|
|
||||||
<strong>Import</strong>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h2>Full <code class="inline-code">.csv</code> content</h2>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<Code code={importedCode} />
|
|
||||||
|
|
||||||
<Footer />
|
|
||||||
</main>
|
|
||||||
</Layout>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
td img {
|
|
||||||
border-radius: 5px;
|
|
||||||
min-width: 50px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-container {
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
th,
|
|
||||||
td {
|
|
||||||
padding: 1rem;
|
|
||||||
border-radius: 5px;
|
|
||||||
background: rgba(0, 0, 0, 0.01);
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
th:first-child,
|
|
||||||
td:first-child {
|
|
||||||
display: block;
|
|
||||||
max-width: calc(50px + 2rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
td a {
|
|
||||||
color: var(--text-color-dark);
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: var(--color-brand-blue-3);
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
td,
|
|
||||||
th {
|
|
||||||
background: rgba(0, 0, 0, 0.1);
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
||||||
|
|
||||||
& a {
|
|
||||||
color: var(--text-color-light);
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: var(--color-brand-complement);
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
Loading…
Reference in a new issue