@jsonresume/core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +689 -0
- package/dist/resume-print.css +425 -0
- package/dist/tokens.css +139 -0
- package/package.json +66 -0
- package/src/badges/BadgeRowOutline.jsx +118 -0
- package/src/badges/BadgeRowOutline.stories.tsx +160 -0
- package/src/badges/index.jsx +5 -0
- package/src/callouts/Callout.jsx +80 -0
- package/src/callouts/Callout.stories.tsx +27 -0
- package/src/callouts/HighlightCard.jsx +114 -0
- package/src/callouts/HighlightCard.stories.tsx +27 -0
- package/src/callouts/InfoBox.jsx +82 -0
- package/src/callouts/InfoBox.stories.tsx +26 -0
- package/src/callouts/index.jsx +4 -0
- package/src/certifications/AwardCard.jsx +83 -0
- package/src/certifications/AwardCard.stories.tsx +32 -0
- package/src/certifications/CertificationBadge.jsx +85 -0
- package/src/certifications/CertificationBadge.stories.tsx +29 -0
- package/src/certifications/CertificationRow.jsx +150 -0
- package/src/certifications/CertificationRow.stories.tsx +64 -0
- package/src/certifications/HonorsList.jsx +87 -0
- package/src/certifications/HonorsList.stories.tsx +36 -0
- package/src/certifications/index.jsx +5 -0
- package/src/containers/AccentCalloutPanel.jsx +176 -0
- package/src/containers/AccentCalloutPanel.stories.tsx +105 -0
- package/src/containers/MutedPanel.jsx +125 -0
- package/src/containers/MutedPanel.stories.tsx +113 -0
- package/src/containers/RoleBlockFramed.jsx +191 -0
- package/src/containers/RoleBlockFramed.stories.tsx +230 -0
- package/src/containers/SoftCardOutline.jsx +161 -0
- package/src/containers/SoftCardOutline.stories.tsx +174 -0
- package/src/containers/index.jsx +9 -0
- package/src/data/KPIChipLine.jsx +158 -0
- package/src/data/KPIChipLine.stories.tsx +99 -0
- package/src/data/KeyValueInline.jsx +150 -0
- package/src/data/KeyValueInline.stories.tsx +136 -0
- package/src/data/MetricBar.jsx +93 -0
- package/src/data/MetricBar.stories.tsx +31 -0
- package/src/data/MetricBullet.jsx +129 -0
- package/src/data/MetricBullet.stories.tsx +99 -0
- package/src/data/MetricInline.jsx +60 -0
- package/src/data/MetricInline.stories.tsx +53 -0
- package/src/data/ProgressCircle.jsx +81 -0
- package/src/data/ProgressCircle.stories.tsx +102 -0
- package/src/data/StatCard.jsx +65 -0
- package/src/data/StatCard.stories.tsx +29 -0
- package/src/data/index.jsx +12 -0
- package/src/dates/DateBadge.jsx +73 -0
- package/src/dates/DateBadge.stories.tsx +30 -0
- package/src/dates/RelativeDate.jsx +121 -0
- package/src/dates/RelativeDate.stories.tsx +29 -0
- package/src/dates/index.jsx +3 -0
- package/src/experience/ExperienceCard.jsx +82 -0
- package/src/experience/ExperienceCard.stories.tsx +36 -0
- package/src/experience/ExperienceCompact.jsx +72 -0
- package/src/experience/ExperienceCompact.stories.tsx +53 -0
- package/src/experience/ExperienceGrid.jsx +65 -0
- package/src/experience/ExperienceGrid.stories.tsx +63 -0
- package/src/experience/ExperienceTimeline.jsx +24 -0
- package/src/experience/ExperienceTimeline.stories.tsx +63 -0
- package/src/experience/RoleHeaderCompact.jsx +99 -0
- package/src/experience/index.jsx +9 -0
- package/src/header/ContactRowLine.jsx +125 -0
- package/src/header/ContactRowLine.stories.tsx +65 -0
- package/src/header/CornerInitials.jsx +178 -0
- package/src/header/CornerInitials.stories.tsx +129 -0
- package/src/header/Footer.jsx +50 -0
- package/src/header/Footer.stories.tsx +25 -0
- package/src/header/HeaderCentered.jsx +51 -0
- package/src/header/HeaderCentered.stories.tsx +30 -0
- package/src/header/HeaderMinimal.jsx +50 -0
- package/src/header/HeaderMinimal.stories.tsx +29 -0
- package/src/header/HeaderSplit.jsx +65 -0
- package/src/header/HeaderSplit.stories.tsx +29 -0
- package/src/header/HeroNameBlock.jsx +71 -0
- package/src/header/HeroNameBlock.stories.tsx +37 -0
- package/src/header/NameStackElegant.jsx +104 -0
- package/src/header/NameStackElegant.stories.tsx +60 -0
- package/src/header/PageBreak.jsx +25 -0
- package/src/header/PageBreak.stories.tsx +22 -0
- package/src/header/SectionFlagTitle.jsx +87 -0
- package/src/header/SectionFlagTitle.stories.tsx +53 -0
- package/src/header/SectionRuleTitle.jsx +84 -0
- package/src/header/SectionRuleTitle.stories.tsx +52 -0
- package/src/header/index.jsx +18 -0
- package/src/helpers/calculations.js +428 -0
- package/src/index.js +253 -0
- package/src/languages/LanguageBar.jsx +90 -0
- package/src/languages/LanguageBar.stories.tsx +28 -0
- package/src/languages/LanguageGrid.jsx +118 -0
- package/src/languages/LanguageGrid.stories.tsx +33 -0
- package/src/languages/LanguageLevelBarLite.jsx +147 -0
- package/src/languages/LanguageLevelBarLite.stories.tsx +74 -0
- package/src/languages/ProficiencyScale.jsx +107 -0
- package/src/languages/ProficiencyScale.stories.tsx +30 -0
- package/src/languages/index.jsx +5 -0
- package/src/layouts/CardLayout.jsx +46 -0
- package/src/layouts/CardLayout.stories.tsx +272 -0
- package/src/layouts/FlexLayout.jsx +53 -0
- package/src/layouts/FlexLayout.stories.tsx +270 -0
- package/src/layouts/GridLayout.jsx +38 -0
- package/src/layouts/GridLayout.stories.tsx +183 -0
- package/src/layouts/SidebarLayout.jsx +63 -0
- package/src/layouts/SidebarLayout.stories.tsx +162 -0
- package/src/layouts/StackLayout.jsx +26 -0
- package/src/layouts/StackLayout.stories.tsx +192 -0
- package/src/layouts/TwoColumnMicroGrid.jsx +87 -0
- package/src/layouts/TwoColumnMicroGrid.stories.tsx +96 -0
- package/src/layouts/index.jsx +11 -0
- package/src/lists/AchievementListSpacious.jsx +81 -0
- package/src/lists/AchievementListSpacious.stories.tsx +49 -0
- package/src/lists/AchievementListTight.jsx +80 -0
- package/src/lists/AchievementListTight.stories.tsx +49 -0
- package/src/lists/BulletList.jsx +66 -0
- package/src/lists/BulletList.stories.tsx +38 -0
- package/src/lists/CheckList.jsx +94 -0
- package/src/lists/CheckList.stories.tsx +38 -0
- package/src/lists/CompactList.jsx +90 -0
- package/src/lists/CompactList.stories.tsx +34 -0
- package/src/lists/DefinitionKeyline.jsx +114 -0
- package/src/lists/DefinitionKeyline.stories.tsx +90 -0
- package/src/lists/HangingBulletList.jsx +82 -0
- package/src/lists/HangingBulletList.stories.tsx +50 -0
- package/src/lists/IconList.jsx +89 -0
- package/src/lists/IconList.stories.tsx +36 -0
- package/src/lists/ListDashCompact.jsx +69 -0
- package/src/lists/ListDashCompact.stories.tsx +60 -0
- package/src/lists/MiniDotLeaderList.jsx +69 -0
- package/src/lists/MiniDotLeaderList.stories.tsx +73 -0
- package/src/lists/NumberedList.jsx +74 -0
- package/src/lists/NumberedList.stories.tsx +39 -0
- package/src/lists/index.jsx +12 -0
- package/src/metadata/GreyLabelCaps.jsx +66 -0
- package/src/metadata/GreyLabelCaps.stories.tsx +40 -0
- package/src/metadata/InlineKicker.jsx +61 -0
- package/src/metadata/InlineKicker.stories.tsx +35 -0
- package/src/metadata/MetaRow.jsx +96 -0
- package/src/metadata/MetaRow.stories.tsx +38 -0
- package/src/metadata/SmallCapsHeading.jsx +75 -0
- package/src/metadata/SmallCapsHeading.stories.tsx +54 -0
- package/src/metadata/SubsectionLabel.jsx +92 -0
- package/src/metadata/SubsectionLabel.stories.tsx +40 -0
- package/src/metadata/index.jsx +10 -0
- package/src/primitives/AccentSidebarStripe.stories.tsx +65 -0
- package/src/primitives/AccentSidebarStripe.tsx +95 -0
- package/src/primitives/AccentTopRule.stories.tsx +102 -0
- package/src/primitives/AccentTopRule.tsx +103 -0
- package/src/primitives/Badge.jsx +125 -0
- package/src/primitives/Badge.stories.tsx +27 -0
- package/src/primitives/ContactInfo.jsx +133 -0
- package/src/primitives/ContactInfo.stories.tsx +30 -0
- package/src/primitives/DIVIDERS.md +333 -0
- package/src/primitives/DateRange.jsx +178 -0
- package/src/primitives/DateRange.stories.tsx +28 -0
- package/src/primitives/DottedDivider.stories.tsx +54 -0
- package/src/primitives/DottedDivider.tsx +102 -0
- package/src/primitives/InlineSeparatorPipe.jsx +64 -0
- package/src/primitives/InlineSeparatorPipe.stories.tsx +96 -0
- package/src/primitives/KeylineDivider.stories.tsx +48 -0
- package/src/primitives/KeylineDivider.tsx +80 -0
- package/src/primitives/Link.jsx +59 -0
- package/src/primitives/Link.stories.tsx +29 -0
- package/src/primitives/ListItem.jsx +127 -0
- package/src/primitives/ListItem.stories.tsx +27 -0
- package/src/primitives/RulesetStack.stories.tsx +85 -0
- package/src/primitives/RulesetStack.tsx +117 -0
- package/src/primitives/Section.jsx +37 -0
- package/src/primitives/Section.stories.tsx +28 -0
- package/src/primitives/SectionTitle.jsx +62 -0
- package/src/primitives/SectionTitle.stories.tsx +27 -0
- package/src/primitives/index.jsx +36 -0
- package/src/print/ColumnBreak.jsx +44 -0
- package/src/print/ColumnBreak.stories.tsx +22 -0
- package/src/print/KeepTogether.jsx +24 -0
- package/src/print/KeepTogether.stories.tsx +26 -0
- package/src/print/LetterheadBar.jsx +100 -0
- package/src/print/LetterheadBar.stories.tsx +141 -0
- package/src/print/PageFooterLine.jsx +93 -0
- package/src/print/PageFooterLine.stories.tsx +121 -0
- package/src/print/PageHeaderLine.jsx +59 -0
- package/src/print/PageHeaderLine.stories.tsx +108 -0
- package/src/print/PrintOnly.jsx +49 -0
- package/src/print/PrintOnly.stories.tsx +26 -0
- package/src/print/SoftShadowEmulation.jsx +88 -0
- package/src/print/SoftShadowEmulation.stories.tsx +214 -0
- package/src/print/index.jsx +8 -0
- package/src/profile/Avatar.jsx +66 -0
- package/src/profile/Avatar.stories.tsx +84 -0
- package/src/profile/ContactGrid.jsx +63 -0
- package/src/profile/ContactGrid.stories.tsx +33 -0
- package/src/profile/ProfileCard.jsx +73 -0
- package/src/profile/ProfileCard.stories.tsx +35 -0
- package/src/profile/SocialLinks.jsx +61 -0
- package/src/profile/SocialLinks.stories.tsx +33 -0
- package/src/profile/index.jsx +9 -0
- package/src/providers/ThemeProvider.jsx +56 -0
- package/src/providers/ThemeProvider.stories.tsx +149 -0
- package/src/publications/PortfolioGrid.jsx +122 -0
- package/src/publications/PortfolioGrid.stories.tsx +62 -0
- package/src/publications/ProjectCard.jsx +151 -0
- package/src/publications/ProjectCard.stories.tsx +36 -0
- package/src/publications/PublicationEntryPlain.jsx +127 -0
- package/src/publications/PublicationEntryPlain.stories.tsx +58 -0
- package/src/publications/PublicationItem.jsx +120 -0
- package/src/publications/PublicationItem.stories.tsx +32 -0
- package/src/publications/index.jsx +5 -0
- package/src/quotes/BlockQuote.jsx +55 -0
- package/src/quotes/BlockQuote.stories.tsx +33 -0
- package/src/quotes/PullQuote.jsx +70 -0
- package/src/quotes/PullQuote.stories.tsx +32 -0
- package/src/quotes/Testimonial.jsx +99 -0
- package/src/quotes/Testimonial.stories.tsx +36 -0
- package/src/quotes/index.jsx +4 -0
- package/src/skills/SkillBar.jsx +66 -0
- package/src/skills/SkillBar.stories.tsx +112 -0
- package/src/skills/SkillCategory.jsx +71 -0
- package/src/skills/SkillCategory.stories.tsx +197 -0
- package/src/skills/SkillCloud.jsx +53 -0
- package/src/skills/SkillCloud.stories.tsx +132 -0
- package/src/skills/SkillGroup.jsx +56 -0
- package/src/skills/SkillGroup.stories.tsx +162 -0
- package/src/skills/SkillPill.jsx +56 -0
- package/src/skills/SkillPill.stories.tsx +157 -0
- package/src/skills/SkillRating.jsx +60 -0
- package/src/skills/SkillRating.stories.tsx +115 -0
- package/src/skills/index.jsx +11 -0
- package/src/styles/tokens.css +139 -0
- package/src/tables/ComparisonTable.jsx +128 -0
- package/src/tables/ComparisonTable.stories.tsx +41 -0
- package/src/tables/DataTable.jsx +149 -0
- package/src/tables/DataTable.stories.tsx +64 -0
- package/src/tables/SkillMatrix.jsx +139 -0
- package/src/tables/SkillMatrix.stories.tsx +90 -0
- package/src/tables/index.jsx +4 -0
- package/src/tags/ToolTagRibbon.jsx +106 -0
- package/src/tags/ToolTagRibbon.stories.tsx +121 -0
- package/src/tags/index.jsx +5 -0
- package/src/timeline/TimelineInline.stories.tsx +83 -0
- package/src/timeline/TimelineInline.tsx +202 -0
- package/src/timeline/TimelineItem.jsx +106 -0
- package/src/timeline/TimelineItem.stories.tsx +64 -0
- package/src/timeline/TimelineRuleMinimal.stories.tsx +68 -0
- package/src/timeline/TimelineRuleMinimal.tsx +165 -0
- package/src/timeline/TimelineSection.jsx +21 -0
- package/src/timeline/TimelineSection.stories.tsx +44 -0
- package/src/timeline/index.jsx +9 -0
- package/src/tokens/index.js +164 -0
- package/src/typography/Heading.jsx +48 -0
- package/src/typography/Heading.stories.tsx +46 -0
- package/src/typography/HyphenationSafeParagraph.jsx +98 -0
- package/src/typography/HyphenationSafeParagraph.stories.tsx +151 -0
- package/src/typography/Label.jsx +38 -0
- package/src/typography/Label.stories.tsx +27 -0
- package/src/typography/QuoteStripe.jsx +78 -0
- package/src/typography/QuoteStripe.stories.tsx +63 -0
- package/src/typography/SectionIntroParagraph.jsx +62 -0
- package/src/typography/SectionIntroParagraph.stories.tsx +57 -0
- package/src/typography/Text.jsx +42 -0
- package/src/typography/Text.stories.tsx +35 -0
- package/src/typography/index.jsx +11 -0
- package/src/utils/Divider.jsx +32 -0
- package/src/utils/Divider.stories.tsx +24 -0
- package/src/utils/Flex.jsx +6 -0
- package/src/utils/Flex.stories.tsx +28 -0
- package/src/utils/Grid.jsx +6 -0
- package/src/utils/Grid.stories.tsx +28 -0
- package/src/utils/Spacer.jsx +18 -0
- package/src/utils/Spacer.stories.tsx +26 -0
- package/src/utils/index.jsx +9 -0
- package/src/utils/security.js +155 -0
- package/src/visuals/BackgroundPattern.jsx +65 -0
- package/src/visuals/BackgroundPattern.stories.tsx +27 -0
- package/src/visuals/BorderAccent.jsx +147 -0
- package/src/visuals/BorderAccent.stories.tsx +27 -0
- package/src/visuals/ColorBlock.jsx +60 -0
- package/src/visuals/ColorBlock.stories.tsx +27 -0
- package/src/visuals/DividerVariants.jsx +120 -0
- package/src/visuals/DividerVariants.stories.tsx +27 -0
- package/src/visuals/index.jsx +5 -0
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { RoleBlockFramed } from './RoleBlockFramed.jsx';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof RoleBlockFramed> = {
|
|
5
|
+
title: 'Containers/RoleBlockFramed',
|
|
6
|
+
component: RoleBlockFramed,
|
|
7
|
+
tags: ['autodocs'],
|
|
8
|
+
argTypes: {
|
|
9
|
+
variant: {
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: ['default', 'accent', 'tinted', 'minimal'],
|
|
12
|
+
},
|
|
13
|
+
padding: {
|
|
14
|
+
control: 'select',
|
|
15
|
+
options: ['sm', 'md', 'lg'],
|
|
16
|
+
},
|
|
17
|
+
spacing: {
|
|
18
|
+
control: 'select',
|
|
19
|
+
options: ['none', 'sm', 'md', 'lg'],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default meta;
|
|
25
|
+
type Story = StoryObj<typeof RoleBlockFramed>;
|
|
26
|
+
|
|
27
|
+
export const Default: Story = {
|
|
28
|
+
args: {
|
|
29
|
+
children: (
|
|
30
|
+
<div>
|
|
31
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
32
|
+
Senior Software Engineer
|
|
33
|
+
</h3>
|
|
34
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
35
|
+
Tech Company Inc. • 2020-2023 • San Francisco, CA
|
|
36
|
+
</p>
|
|
37
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
38
|
+
<li>
|
|
39
|
+
Led development of customer analytics platform serving 5M+ users
|
|
40
|
+
</li>
|
|
41
|
+
<li>
|
|
42
|
+
Architected microservices infrastructure handling 50M daily requests
|
|
43
|
+
</li>
|
|
44
|
+
<li>
|
|
45
|
+
Mentored team of 5 junior engineers through code reviews and pair
|
|
46
|
+
programming
|
|
47
|
+
</li>
|
|
48
|
+
<li>
|
|
49
|
+
Reduced infrastructure costs by 35% through optimization and caching
|
|
50
|
+
strategies
|
|
51
|
+
</li>
|
|
52
|
+
</ul>
|
|
53
|
+
</div>
|
|
54
|
+
),
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const AccentVariant: Story = {
|
|
59
|
+
args: {
|
|
60
|
+
variant: 'accent',
|
|
61
|
+
children: (
|
|
62
|
+
<div>
|
|
63
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
64
|
+
Staff Engineer (Featured Role)
|
|
65
|
+
</h3>
|
|
66
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
67
|
+
Startup Inc. • 2023-Present • Remote
|
|
68
|
+
</p>
|
|
69
|
+
<p style={{ marginTop: '8px', marginBottom: '8px' }}>
|
|
70
|
+
Leading technical architecture for next-generation AI platform:
|
|
71
|
+
</p>
|
|
72
|
+
<ul style={{ marginTop: 0, marginBottom: 0 }}>
|
|
73
|
+
<li>Designed distributed training system processing 100TB+ daily</li>
|
|
74
|
+
<li>Built real-time inference API serving 1M+ requests/minute</li>
|
|
75
|
+
<li>Established ML engineering best practices across organization</li>
|
|
76
|
+
</ul>
|
|
77
|
+
</div>
|
|
78
|
+
),
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const TintedVariant: Story = {
|
|
83
|
+
args: {
|
|
84
|
+
variant: 'tinted',
|
|
85
|
+
children: (
|
|
86
|
+
<div>
|
|
87
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>Software Engineer</h3>
|
|
88
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
89
|
+
Enterprise Corp. • 2018-2020 • New York, NY
|
|
90
|
+
</p>
|
|
91
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
92
|
+
<li>Developed internal tools used by 1,000+ employees</li>
|
|
93
|
+
<li>Implemented CI/CD pipeline reducing deployment time by 75%</li>
|
|
94
|
+
<li>Contributed to migration from monolith to microservices</li>
|
|
95
|
+
</ul>
|
|
96
|
+
</div>
|
|
97
|
+
),
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export const MinimalVariant: Story = {
|
|
102
|
+
args: {
|
|
103
|
+
variant: 'minimal',
|
|
104
|
+
children: (
|
|
105
|
+
<div>
|
|
106
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>Junior Developer</h3>
|
|
107
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
108
|
+
Web Agency • 2016-2018 • Seattle, WA
|
|
109
|
+
</p>
|
|
110
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
111
|
+
<li>Built responsive websites for 20+ clients</li>
|
|
112
|
+
<li>Maintained WordPress and custom PHP applications</li>
|
|
113
|
+
</ul>
|
|
114
|
+
</div>
|
|
115
|
+
),
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export const SmallPadding: Story = {
|
|
120
|
+
args: {
|
|
121
|
+
padding: 'sm',
|
|
122
|
+
children: (
|
|
123
|
+
<div>
|
|
124
|
+
<h4 style={{ marginTop: 0, marginBottom: '6px' }}>Intern</h4>
|
|
125
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
126
|
+
Tech Startup • Summer 2016 • Remote
|
|
127
|
+
</p>
|
|
128
|
+
<p style={{ margin: '4px 0' }}>
|
|
129
|
+
Built features for mobile app with React Native
|
|
130
|
+
</p>
|
|
131
|
+
</div>
|
|
132
|
+
),
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export const LargePadding: Story = {
|
|
137
|
+
args: {
|
|
138
|
+
padding: 'lg',
|
|
139
|
+
children: (
|
|
140
|
+
<div>
|
|
141
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
142
|
+
Principal Engineer
|
|
143
|
+
</h3>
|
|
144
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
145
|
+
Fortune 500 Company • 2015-2020 • Boston, MA
|
|
146
|
+
</p>
|
|
147
|
+
<p style={{ marginTop: '8px', marginBottom: '8px' }}>
|
|
148
|
+
<strong>Major Achievements:</strong>
|
|
149
|
+
</p>
|
|
150
|
+
<ul style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
151
|
+
<li>Architected platform serving 50M+ users across 20 countries</li>
|
|
152
|
+
<li>Led team of 15 engineers through 3 major product launches</li>
|
|
153
|
+
<li>Reduced technical debt by 60% through systematic refactoring</li>
|
|
154
|
+
</ul>
|
|
155
|
+
<p style={{ margin: '4px 0' }}>
|
|
156
|
+
<strong>Technologies:</strong> Java, Spring Boot, React, AWS,
|
|
157
|
+
Kubernetes, PostgreSQL
|
|
158
|
+
</p>
|
|
159
|
+
</div>
|
|
160
|
+
),
|
|
161
|
+
},
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export const CompactSpacing: Story = {
|
|
165
|
+
args: {
|
|
166
|
+
spacing: 'sm',
|
|
167
|
+
padding: 'sm',
|
|
168
|
+
children: (
|
|
169
|
+
<div>
|
|
170
|
+
<h4 style={{ marginTop: 0, marginBottom: '4px' }}>Contractor</h4>
|
|
171
|
+
<p style={{ margin: '2px 0', fontSize: '9pt', color: '#666' }}>
|
|
172
|
+
Various Clients • 2019-2020
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
),
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export const LargeSpacing: Story = {
|
|
180
|
+
args: {
|
|
181
|
+
spacing: 'lg',
|
|
182
|
+
children: (
|
|
183
|
+
<div>
|
|
184
|
+
<h3 style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
185
|
+
Distinguished Engineer
|
|
186
|
+
</h3>
|
|
187
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
188
|
+
Tech Giant • 2010-2015 • Multiple Locations
|
|
189
|
+
</p>
|
|
190
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
191
|
+
<li>
|
|
192
|
+
Technical leader for cloud infrastructure serving billions of users
|
|
193
|
+
</li>
|
|
194
|
+
</ul>
|
|
195
|
+
</div>
|
|
196
|
+
),
|
|
197
|
+
},
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
export const MultipleRoles: Story = {
|
|
201
|
+
render: () => (
|
|
202
|
+
<div>
|
|
203
|
+
<RoleBlockFramed variant="accent">
|
|
204
|
+
<h3 style={{ marginTop: 0 }}>Current Position</h3>
|
|
205
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
206
|
+
Company A • 2023-Present
|
|
207
|
+
</p>
|
|
208
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
209
|
+
<li>Leading team of 10 engineers</li>
|
|
210
|
+
<li>Driving architecture decisions</li>
|
|
211
|
+
</ul>
|
|
212
|
+
</RoleBlockFramed>
|
|
213
|
+
<RoleBlockFramed>
|
|
214
|
+
<h3 style={{ marginTop: 0 }}>Previous Role</h3>
|
|
215
|
+
<p style={{ margin: '4px 0', color: '#666' }}>Company B • 2020-2023</p>
|
|
216
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
217
|
+
<li>Built scalable backend systems</li>
|
|
218
|
+
<li>Mentored junior developers</li>
|
|
219
|
+
</ul>
|
|
220
|
+
</RoleBlockFramed>
|
|
221
|
+
<RoleBlockFramed variant="tinted">
|
|
222
|
+
<h3 style={{ marginTop: 0 }}>Earlier Experience</h3>
|
|
223
|
+
<p style={{ margin: '4px 0', color: '#666' }}>Company C • 2018-2020</p>
|
|
224
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
225
|
+
<li>Full-stack development</li>
|
|
226
|
+
</ul>
|
|
227
|
+
</RoleBlockFramed>
|
|
228
|
+
</div>
|
|
229
|
+
),
|
|
230
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* SoftCardOutline Component
|
|
6
|
+
* Delicate rounded outline around content without shadows
|
|
7
|
+
* Uses 1pt stroke for clean, professional appearance
|
|
8
|
+
* Perfect for grouping related information
|
|
9
|
+
*
|
|
10
|
+
* @component
|
|
11
|
+
* @example
|
|
12
|
+
* <SoftCardOutline>
|
|
13
|
+
* <h4>Senior Software Engineer</h4>
|
|
14
|
+
* <p>Company Name • 2020-2023</p>
|
|
15
|
+
* <ul>
|
|
16
|
+
* <li>Key responsibility 1</li>
|
|
17
|
+
* <li>Key responsibility 2</li>
|
|
18
|
+
* </ul>
|
|
19
|
+
* </SoftCardOutline>
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* <SoftCardOutline variant="accent" padding="lg">
|
|
23
|
+
* <div>Featured Project Content</div>
|
|
24
|
+
* </SoftCardOutline>
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
const StyledCardOutline = styled.div`
|
|
28
|
+
/* 1pt stroke as specified */
|
|
29
|
+
border: 1px solid
|
|
30
|
+
${(props) => {
|
|
31
|
+
if (props.$variant === 'accent') {
|
|
32
|
+
return (
|
|
33
|
+
props.theme?.colors?.accentBorder ||
|
|
34
|
+
'var(--resume-color-accent-border, #cce5ff)'
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
if (props.$variant === 'muted') {
|
|
38
|
+
return (
|
|
39
|
+
props.theme?.colors?.border || 'var(--resume-color-border, #e5e5e5)'
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
// Default neutral
|
|
43
|
+
return (
|
|
44
|
+
props.theme?.colors?.borderLight ||
|
|
45
|
+
'var(--resume-color-border-light, #d4d4d4)'
|
|
46
|
+
);
|
|
47
|
+
}};
|
|
48
|
+
|
|
49
|
+
/* Rounded corners for softness */
|
|
50
|
+
border-radius: ${(props) => {
|
|
51
|
+
if (props.$rounded === 'sm') return '4px';
|
|
52
|
+
if (props.$rounded === 'lg') return '12px';
|
|
53
|
+
return props.theme?.radius?.md || 'var(--resume-radius-md, 8px)'; // default md
|
|
54
|
+
}};
|
|
55
|
+
|
|
56
|
+
/* No shadows - clean outline only */
|
|
57
|
+
box-shadow: none;
|
|
58
|
+
|
|
59
|
+
/* Padding options */
|
|
60
|
+
padding: ${(props) => {
|
|
61
|
+
if (props.$padding === 'sm') return '12px';
|
|
62
|
+
if (props.$padding === 'lg') return '24px';
|
|
63
|
+
return '16px'; // default md
|
|
64
|
+
}};
|
|
65
|
+
|
|
66
|
+
margin: ${(props) => {
|
|
67
|
+
if (props.$margin === 'sm') return '8px 0';
|
|
68
|
+
if (props.$margin === 'lg') return '24px 0';
|
|
69
|
+
if (props.$margin === 'none') return '0';
|
|
70
|
+
return '16px 0'; // default md
|
|
71
|
+
}};
|
|
72
|
+
|
|
73
|
+
/* Optional subtle background */
|
|
74
|
+
background: ${(props) => {
|
|
75
|
+
if (props.$background === 'accent') {
|
|
76
|
+
return (
|
|
77
|
+
props.theme?.colors?.accentMuted ||
|
|
78
|
+
'var(--resume-color-accent-muted, rgba(0, 102, 204, 0.03))'
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
if (props.$background === 'muted') {
|
|
82
|
+
return 'var(--resume-color-background-muted, rgba(0, 0, 0, 0.02))';
|
|
83
|
+
}
|
|
84
|
+
return 'transparent'; // default
|
|
85
|
+
}};
|
|
86
|
+
|
|
87
|
+
/* Text styling */
|
|
88
|
+
color: ${(props) =>
|
|
89
|
+
props.theme?.colors?.primary || 'var(--resume-color-primary, #000)'};
|
|
90
|
+
|
|
91
|
+
/* Content spacing */
|
|
92
|
+
> *:first-child {
|
|
93
|
+
margin-top: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
> *:last-child {
|
|
97
|
+
margin-bottom: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media print {
|
|
101
|
+
/* Ensure border prints clearly */
|
|
102
|
+
border: 1pt solid
|
|
103
|
+
${(props) => {
|
|
104
|
+
if (props.$variant === 'accent') return '#b3d9ff';
|
|
105
|
+
if (props.$variant === 'muted') return '#d4d4d4';
|
|
106
|
+
return '#c0c0c0';
|
|
107
|
+
}};
|
|
108
|
+
|
|
109
|
+
/* Remove border radius for print (cleaner appearance) */
|
|
110
|
+
border-radius: 0;
|
|
111
|
+
|
|
112
|
+
/* Remove background fills for print */
|
|
113
|
+
background: transparent;
|
|
114
|
+
|
|
115
|
+
/* Ensure high contrast text */
|
|
116
|
+
color: #000;
|
|
117
|
+
|
|
118
|
+
/* Adjust padding for print density */
|
|
119
|
+
padding: ${(props) => {
|
|
120
|
+
if (props.$padding === 'sm') return '10px';
|
|
121
|
+
if (props.$padding === 'lg') return '20px';
|
|
122
|
+
return '14px';
|
|
123
|
+
}};
|
|
124
|
+
|
|
125
|
+
/* Prevent splitting card across pages */
|
|
126
|
+
page-break-inside: avoid;
|
|
127
|
+
|
|
128
|
+
/* Ensure no page edge collision */
|
|
129
|
+
margin-left: 0;
|
|
130
|
+
margin-right: 0;
|
|
131
|
+
}
|
|
132
|
+
`;
|
|
133
|
+
|
|
134
|
+
export function SoftCardOutline({
|
|
135
|
+
children,
|
|
136
|
+
variant = 'default',
|
|
137
|
+
padding = 'md',
|
|
138
|
+
margin = 'md',
|
|
139
|
+
rounded = 'md',
|
|
140
|
+
background = 'none',
|
|
141
|
+
className,
|
|
142
|
+
...rest
|
|
143
|
+
}) {
|
|
144
|
+
return (
|
|
145
|
+
<StyledCardOutline
|
|
146
|
+
$variant={variant}
|
|
147
|
+
$padding={padding}
|
|
148
|
+
$margin={margin}
|
|
149
|
+
$rounded={rounded}
|
|
150
|
+
$background={background}
|
|
151
|
+
className={`resume-card-outline resume-card-outline-${variant} ${
|
|
152
|
+
className || ''
|
|
153
|
+
}`.trim()}
|
|
154
|
+
{...rest}
|
|
155
|
+
>
|
|
156
|
+
{children}
|
|
157
|
+
</StyledCardOutline>
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export default SoftCardOutline;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SoftCardOutline } from './SoftCardOutline.jsx';
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof SoftCardOutline> = {
|
|
5
|
+
title: 'Containers/SoftCardOutline',
|
|
6
|
+
component: SoftCardOutline,
|
|
7
|
+
tags: ['autodocs'],
|
|
8
|
+
argTypes: {
|
|
9
|
+
variant: {
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: ['default', 'accent', 'muted'],
|
|
12
|
+
},
|
|
13
|
+
padding: {
|
|
14
|
+
control: 'select',
|
|
15
|
+
options: ['sm', 'md', 'lg'],
|
|
16
|
+
},
|
|
17
|
+
margin: {
|
|
18
|
+
control: 'select',
|
|
19
|
+
options: ['none', 'sm', 'md', 'lg'],
|
|
20
|
+
},
|
|
21
|
+
rounded: {
|
|
22
|
+
control: 'select',
|
|
23
|
+
options: ['sm', 'md', 'lg'],
|
|
24
|
+
},
|
|
25
|
+
background: {
|
|
26
|
+
control: 'select',
|
|
27
|
+
options: ['none', 'accent', 'muted'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default meta;
|
|
33
|
+
type Story = StoryObj<typeof SoftCardOutline>;
|
|
34
|
+
|
|
35
|
+
export const Default: Story = {
|
|
36
|
+
args: {
|
|
37
|
+
children: (
|
|
38
|
+
<div>
|
|
39
|
+
<h4 style={{ marginTop: 0, marginBottom: '8px' }}>
|
|
40
|
+
Senior Software Engineer
|
|
41
|
+
</h4>
|
|
42
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
43
|
+
Tech Company Inc. • 2020-2023 • San Francisco, CA
|
|
44
|
+
</p>
|
|
45
|
+
<ul style={{ marginTop: '8px', marginBottom: 0 }}>
|
|
46
|
+
<li>Led team of 5 engineers building customer analytics platform</li>
|
|
47
|
+
<li>Architected microservices handling 50M+ requests daily</li>
|
|
48
|
+
<li>Reduced infrastructure costs by 35% through optimization</li>
|
|
49
|
+
</ul>
|
|
50
|
+
</div>
|
|
51
|
+
),
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const AccentVariant: Story = {
|
|
56
|
+
args: {
|
|
57
|
+
variant: 'accent',
|
|
58
|
+
background: 'accent',
|
|
59
|
+
children: (
|
|
60
|
+
<div>
|
|
61
|
+
<h4 style={{ marginTop: 0, marginBottom: '8px' }}>Featured Project</h4>
|
|
62
|
+
<p style={{ margin: '4px 0' }}>
|
|
63
|
+
<strong>Real-time Collaboration Platform</strong>
|
|
64
|
+
</p>
|
|
65
|
+
<p style={{ margin: '4px 0' }}>
|
|
66
|
+
Built WebSocket-based collaboration tool supporting 10,000+ concurrent
|
|
67
|
+
users. Technologies: React, Node.js, Redis, PostgreSQL.
|
|
68
|
+
</p>
|
|
69
|
+
</div>
|
|
70
|
+
),
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export const MutedVariant: Story = {
|
|
75
|
+
args: {
|
|
76
|
+
variant: 'muted',
|
|
77
|
+
children: (
|
|
78
|
+
<div>
|
|
79
|
+
<h4 style={{ marginTop: 0, marginBottom: '8px' }}>Education</h4>
|
|
80
|
+
<p style={{ margin: '4px 0' }}>
|
|
81
|
+
<strong>Bachelor of Science in Computer Science</strong>
|
|
82
|
+
</p>
|
|
83
|
+
<p style={{ margin: '4px 0', color: '#666' }}>
|
|
84
|
+
Stanford University • 2012-2016 • GPA: 3.8/4.0
|
|
85
|
+
</p>
|
|
86
|
+
</div>
|
|
87
|
+
),
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const SmallPadding: Story = {
|
|
92
|
+
args: {
|
|
93
|
+
padding: 'sm',
|
|
94
|
+
rounded: 'sm',
|
|
95
|
+
children: (
|
|
96
|
+
<div>
|
|
97
|
+
<p style={{ margin: 0 }}>
|
|
98
|
+
<strong>Certification:</strong> AWS Solutions Architect Professional •
|
|
99
|
+
Expires 2025
|
|
100
|
+
</p>
|
|
101
|
+
</div>
|
|
102
|
+
),
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export const LargePadding: Story = {
|
|
107
|
+
args: {
|
|
108
|
+
padding: 'lg',
|
|
109
|
+
rounded: 'lg',
|
|
110
|
+
background: 'muted',
|
|
111
|
+
children: (
|
|
112
|
+
<div>
|
|
113
|
+
<h3 style={{ marginTop: 0 }}>Technical Skills</h3>
|
|
114
|
+
<p style={{ marginBottom: '12px' }}>
|
|
115
|
+
<strong>Languages:</strong> TypeScript, Python, Go, Java
|
|
116
|
+
</p>
|
|
117
|
+
<p style={{ marginBottom: '12px' }}>
|
|
118
|
+
<strong>Frameworks:</strong> React, Next.js, Node.js, Django
|
|
119
|
+
</p>
|
|
120
|
+
<p style={{ margin: 0 }}>
|
|
121
|
+
<strong>Infrastructure:</strong> AWS, Docker, Kubernetes, Terraform
|
|
122
|
+
</p>
|
|
123
|
+
</div>
|
|
124
|
+
),
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export const TransparentCard: Story = {
|
|
129
|
+
args: {
|
|
130
|
+
background: 'none',
|
|
131
|
+
children: (
|
|
132
|
+
<div>
|
|
133
|
+
<h4 style={{ marginTop: 0, marginBottom: '8px' }}>Volunteer Work</h4>
|
|
134
|
+
<p style={{ margin: '4px 0' }}>
|
|
135
|
+
<strong>Code Mentor</strong> • Tech Education Non-Profit
|
|
136
|
+
</p>
|
|
137
|
+
<p style={{ margin: '4px 0' }}>
|
|
138
|
+
Teaching web development to underrepresented groups in tech.
|
|
139
|
+
</p>
|
|
140
|
+
</div>
|
|
141
|
+
),
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export const NoMargin: Story = {
|
|
146
|
+
args: {
|
|
147
|
+
margin: 'none',
|
|
148
|
+
children: (
|
|
149
|
+
<p style={{ margin: 0 }}>
|
|
150
|
+
Card with no vertical margins - useful for dense layouts or nested
|
|
151
|
+
components.
|
|
152
|
+
</p>
|
|
153
|
+
),
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export const MultipleCards: Story = {
|
|
158
|
+
render: () => (
|
|
159
|
+
<div>
|
|
160
|
+
<SoftCardOutline variant="accent" background="accent">
|
|
161
|
+
<h4 style={{ marginTop: 0 }}>Card 1</h4>
|
|
162
|
+
<p style={{ marginBottom: 0 }}>Accent variant with background</p>
|
|
163
|
+
</SoftCardOutline>
|
|
164
|
+
<SoftCardOutline>
|
|
165
|
+
<h4 style={{ marginTop: 0 }}>Card 2</h4>
|
|
166
|
+
<p style={{ marginBottom: 0 }}>Default card</p>
|
|
167
|
+
</SoftCardOutline>
|
|
168
|
+
<SoftCardOutline variant="muted">
|
|
169
|
+
<h4 style={{ marginTop: 0 }}>Card 3</h4>
|
|
170
|
+
<p style={{ marginBottom: 0 }}>Muted variant</p>
|
|
171
|
+
</SoftCardOutline>
|
|
172
|
+
</div>
|
|
173
|
+
),
|
|
174
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Container Components
|
|
3
|
+
* Panel and container components for structuring resume content
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export { MutedPanel } from './MutedPanel.jsx';
|
|
7
|
+
export { AccentCalloutPanel } from './AccentCalloutPanel.jsx';
|
|
8
|
+
export { SoftCardOutline } from './SoftCardOutline.jsx';
|
|
9
|
+
export { RoleBlockFramed } from './RoleBlockFramed.jsx';
|