Skip to content

Commit 47c2c11

Browse files
committed
get mvp done for box style
1 parent e3fb90e commit 47c2c11

File tree

5 files changed

+679
-14
lines changed

5 files changed

+679
-14
lines changed

astro.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ export default defineConfig({
6666
},
6767
{
6868
label: 'Local AWS Services',
69-
autogenerate: { directory: '/aws/services' },
70-
collapsed: true,
69+
slug: 'aws/aws-services',
7170
},
7271
{
7372
label: 'Sample Apps',

src/components/ServiceBox.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from 'react';
2+
3+
interface ServiceBoxProps {
4+
title: string;
5+
description: string;
6+
href: string;
7+
}
8+
9+
export const ServiceBox: React.FC<ServiceBoxProps> = ({ title, description, href }) => {
10+
return (
11+
<a href={href} className="service-box">
12+
<div className="service-box-content">
13+
<h3 className="service-box-title">{title}</h3>
14+
<p className="service-box-description">{description}</p>
15+
</div>
16+
</a>
17+
);
18+
};

src/content/docs/aws/aws-services.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)