update commands

This commit is contained in:
cade
2023-08-16 01:02:02 -07:00
parent 180006261e
commit 96cf4957d2
+26 -101
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="color-scheme" content="dark light" /> <meta name="color-scheme" content="dark light" />
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />
@@ -42,114 +42,32 @@
}; };
const COMMANDS = new Map([ const COMMANDS = new Map([
[ ['a', { name: 'GPT', url: 'https://sdk.vercel.ai' }],
'b', ['b', { name: 'Dribbble', url: 'https://dribbble.com/shots/popular' }],
{ ['c', { name: 'Calendar', url: 'https://calendar.google.com' }],
name: 'Dribbble', ['d', { name: 'Drive', url: 'https://drive.google.com' }],
url: 'https://dribbble.com/shots/popular', ['f', { name: 'Figma', url: 'https://www.figma.com/files/recent' }],
}, ['g', { name: 'GitHub', url: 'https://github.com' }],
], ['h', { name: 'Hypem', url: 'https://hypem.com/popular' }],
[ ['i', { name: 'Discord', url: 'https://discord.com/channels/@me' }],
'c', ['k', { name: 'Keep', url: 'https://keep.google.com' }],
{ ['l', { name: 'LinkedIn', url: 'https://www.linkedin.com/feed' }],
name: 'Calendar', ['m', { name: 'Mail', url: 'https://mail.proton.me/u/0/inbox' }],
url: 'https://calendar.google.com', ['n', { name: 'Notion', url: 'https://www.notion.so' }],
},
],
[
'd',
{
name: 'Drive',
url: 'https://drive.google.com',
},
],
[
'f',
{
name: 'Figma',
url: 'https://www.figma.com/files/recent',
},
],
[
'g',
{
name: 'GitHub',
url: 'https://github.com',
},
],
[
'i',
{
name: 'Discord',
url: 'https://discord.com/channels/@me',
},
],
[
'k',
{
name: 'Keep',
url: 'https://keep.google.com',
},
],
[
'm',
{
name: 'Mail',
url: 'https://mail.proton.me/u/0/inbox',
},
],
[
'n',
{
name: 'Notion',
url: 'https://www.notion.so',
},
],
[ [
'r', 'r',
{ {
name: 'Reddit', name: 'Reddit',
searchTemplate: '/search?q={}', searchTemplate: '/search?q={}',
suggestions: [ suggestions: ['r/r/onebag', 'r/r/fujix'],
'r/r/startpages',
'r/r/webdev',
'r/r/onebag',
'r/r/fujix',
],
url: 'https://www.reddit.com', url: 'https://www.reddit.com',
}, },
], ],
[ ['s', { name: 'Supabase', url: 'https://app.supabase.com/projects' }],
't', ['t', { name: 'DeepL', url: 'https://www.deepl.com/en/translator' }],
{ ['v', { name: 'Vercel', url: 'https://vercel.com/dashboard' }],
name: 'DeepL', ['w', { name: 'WhatsApp', url: 'https://web.whatsapp.com' }],
searchTemplate: '/en/translator#en/es/{}', ['x', { name: 'X', url: 'https://x.com' }],
suggestions: ['t/en/translator#es/en/'],
url: 'https://www.deepl.com/en/translator',
},
],
[
'u',
{
name: 'Supabase',
url: 'https://app.supabase.com/projects',
},
],
[
'v',
{
name: 'Vercel',
suggestions: ['sdk.vercel.ai'],
url: 'https://vercel.com/dashboard',
},
],
[
'w',
{
name: 'Twitter',
url: 'https://twitter.com/home',
},
],
[ [
'y', 'y',
{ {
@@ -218,6 +136,13 @@
max-width: 40rem; max-width: 40rem;
} }
} }
@media (min-width: 1100px) {
.commands {
columns: 5;
max-width: 50rem;
}
}
</style> </style>
<nav> <nav>
<menu class="commands"></menu> <menu class="commands"></menu>