Added tools page

This commit is contained in:
srleom
2024-03-21 10:13:23 +08:00
parent 9434a4ce05
commit 8a6d72f682
12 changed files with 517 additions and 6 deletions

View File

@ -0,0 +1,87 @@
---
import PageLayout from '@/layouts/BaseLayout.astro'
import ToolSection from '@/components/ToolSection.astro'
import Button from '@/components/Button.astro'
const DESIGN = [
{
name: 'Figma',
description: 'Design Tool',
href: 'https://www.figma.com/',
iconPath: 'figma',
iconBgColour: '#000001'
}
]
const PRODUCTIVITY = [
{
name: 'Arc',
description: 'Browser',
href: 'https://arc.net/',
iconPath: 'arc',
iconBgColour: '#414350'
},
{
name: 'Notion',
description: 'Note Taking',
href: 'https://www.notion.so/product',
iconPath: 'notion',
iconBgColour: '#EFEFEE'
},
{
name: 'Obsidian',
description: 'Long-form Writing',
href: 'https://obsidian.md/',
iconPath: 'obsidian',
iconBgColour: '#7A3EE8'
}
]
const DEVELOPMENT = [
{
name: 'VS Code',
description: 'IDE',
href: 'https://code.visualstudio.com/',
iconPath: 'vscode',
iconBgColour: '#2C2C32'
},
{
name: 'ChatGPT',
description: 'AI',
href: 'https://chat.openai.com/',
iconPath: 'chatgpt',
iconBgColour: '#06A67F'
}
]
---
<PageLayout meta={{ title: 'Home' }}>
<div class='w-full'>
<Button title='Back' href='/' style='button'>
<svg
xmlns='http://www.w3.org/2000/svg'
width='14'
height='14'
viewBox='0 0 24 24'
slot='icon-before'
>
<path
fill='currentColor'
d='m6.921 12.5l5.792 5.792L12 19l-7-7l7-7l.713.708L6.921 11.5H19v1z'
>
</path>
</svg>
</Button>
<div class='mt-5 flex w-full flex-col gap-y-10'>
<div>
<h1 class='mb-1 text-2xl font-bold'>Tools</h1>
<p>Tools and software I use daily</p>
</div>
<ToolSection title='Design' tools={DESIGN} />
<ToolSection title='Productivity' tools={PRODUCTIVITY} />
<ToolSection title='Development' tools={DEVELOPMENT} />
</div>
</div>
</PageLayout>