Skip to content

Commit ac0b9ca

Browse files
authored
feature: add auth and hooks (#2)
1 parent 822e7bd commit ac0b9ca

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

src/components/Features/Features.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import HubIcon from '@mui/icons-material/Hub';
22
import SecurityIcon from '@mui/icons-material/Security';
3+
import VpnKeyIcon from '@mui/icons-material/VpnKey';
34
import BoltIcon from '@mui/icons-material/Bolt';
4-
import InsightsIcon from '@mui/icons-material/Insights';
55
import { Card, CardContent, Container, Grid, Stack, Typography } from '@mui/material';
66

77
const items = [
@@ -18,16 +18,16 @@ const items = [
1818
'A clean, predictable HTTP client setup without repeating the same boilerplate in every project.',
1919
},
2020
{
21-
icon: <SecurityIcon fontSize="large" />,
22-
title: 'Production-oriented',
21+
icon: <VpnKeyIcon fontSize="large" />,
22+
title: 'Auth & lifecycle hooks',
2323
description:
24-
'Designed for reliability, clear request behavior, and maintainable service communication.',
24+
'Built-in support for bearer tokens, API keys, and request lifecycle hooks like beforeRequest, afterResponse, and onError.',
2525
},
2626
{
27-
icon: <InsightsIcon fontSize="large" />,
28-
title: 'Future dashboard',
27+
icon: <SecurityIcon fontSize="large" />,
28+
title: 'Production-oriented',
2929
description:
30-
'A separate admin dashboard with metrics and insights can later live on a dedicated subdomain.',
30+
'Designed for reliability, clear request behavior, and maintainable service communication.',
3131
},
3232
];
3333

@@ -39,8 +39,8 @@ export const Features = () => {
3939
Why dfsync
4040
</Typography>
4141
<Typography color="text.secondary" sx={{ maxWidth: 720 }}>
42-
A focused foundation for dependable HTTP communication between services, without turning a
43-
simple client into a complex platform.
42+
A focused foundation for dependable HTTP communication between services — with sensible
43+
defaults, auth strategies, and lifecycle hooks.
4444
</Typography>
4545
</Stack>
4646

src/components/Hero/Hero.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ export const Hero = () => {
2727
Reliable HTTP communication for modern services.
2828
</Typography>
2929

30+
<Chip
31+
label="NEW · Auth & lifecycle hooks"
32+
color="primary"
33+
variant="outlined"
34+
sx={{
35+
mt: 2,
36+
fontWeight: 500,
37+
}}
38+
/>
39+
3040
<Typography
3141
variant="h6"
3242
color="text.secondary"

0 commit comments

Comments
 (0)