@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,183 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* GridLayout Stories
|
|
4
|
+
* Responsive grid layout for organizing content
|
|
5
|
+
*/
|
|
6
|
+
import { GridLayout } from './GridLayout';
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Resume Core/Layouts/GridLayout',
|
|
10
|
+
component: GridLayout,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: 'padded',
|
|
13
|
+
},
|
|
14
|
+
tags: ['autodocs'],
|
|
15
|
+
argTypes: {
|
|
16
|
+
columns: {
|
|
17
|
+
control: { type: 'range', min: 1, max: 4, step: 1 },
|
|
18
|
+
description: 'Number of columns',
|
|
19
|
+
},
|
|
20
|
+
gap: {
|
|
21
|
+
control: 'text',
|
|
22
|
+
description: 'Gap between grid items',
|
|
23
|
+
},
|
|
24
|
+
spacing: {
|
|
25
|
+
control: 'text',
|
|
26
|
+
description: 'Bottom spacing',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default meta;
|
|
32
|
+
|
|
33
|
+
const SampleCard = ({ children }: { children: React.ReactNode }) => (
|
|
34
|
+
<div
|
|
35
|
+
style={{
|
|
36
|
+
padding: '1.5rem',
|
|
37
|
+
background: '#f5f5f5',
|
|
38
|
+
borderRadius: '8px',
|
|
39
|
+
border: '1px solid #ddd',
|
|
40
|
+
}}
|
|
41
|
+
>
|
|
42
|
+
{children}
|
|
43
|
+
</div>
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
export const TwoColumns = {
|
|
47
|
+
args: {
|
|
48
|
+
columns: 2,
|
|
49
|
+
children: (
|
|
50
|
+
<>
|
|
51
|
+
<SampleCard>
|
|
52
|
+
<h3>Column 1</h3>
|
|
53
|
+
<p>Content for first column</p>
|
|
54
|
+
</SampleCard>
|
|
55
|
+
<SampleCard>
|
|
56
|
+
<h3>Column 2</h3>
|
|
57
|
+
<p>Content for second column</p>
|
|
58
|
+
</SampleCard>
|
|
59
|
+
</>
|
|
60
|
+
),
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export const ThreeColumns = {
|
|
65
|
+
args: {
|
|
66
|
+
columns: 3,
|
|
67
|
+
children: (
|
|
68
|
+
<>
|
|
69
|
+
<SampleCard>
|
|
70
|
+
<h4>Item 1</h4>
|
|
71
|
+
<p>First item content</p>
|
|
72
|
+
</SampleCard>
|
|
73
|
+
<SampleCard>
|
|
74
|
+
<h4>Item 2</h4>
|
|
75
|
+
<p>Second item content</p>
|
|
76
|
+
</SampleCard>
|
|
77
|
+
<SampleCard>
|
|
78
|
+
<h4>Item 3</h4>
|
|
79
|
+
<p>Third item content</p>
|
|
80
|
+
</SampleCard>
|
|
81
|
+
</>
|
|
82
|
+
),
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const FourColumns = {
|
|
87
|
+
args: {
|
|
88
|
+
columns: 4,
|
|
89
|
+
children: (
|
|
90
|
+
<>
|
|
91
|
+
<SampleCard>Column 1</SampleCard>
|
|
92
|
+
<SampleCard>Column 2</SampleCard>
|
|
93
|
+
<SampleCard>Column 3</SampleCard>
|
|
94
|
+
<SampleCard>Column 4</SampleCard>
|
|
95
|
+
</>
|
|
96
|
+
),
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export const SingleColumn = {
|
|
101
|
+
args: {
|
|
102
|
+
columns: 1,
|
|
103
|
+
children: (
|
|
104
|
+
<>
|
|
105
|
+
<SampleCard>
|
|
106
|
+
<h3>Full Width Section</h3>
|
|
107
|
+
<p>This content spans the entire width</p>
|
|
108
|
+
</SampleCard>
|
|
109
|
+
<SampleCard>
|
|
110
|
+
<h3>Another Full Width</h3>
|
|
111
|
+
<p>Another full-width section</p>
|
|
112
|
+
</SampleCard>
|
|
113
|
+
</>
|
|
114
|
+
),
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const CustomGap = {
|
|
119
|
+
args: {
|
|
120
|
+
columns: 2,
|
|
121
|
+
gap: '2rem',
|
|
122
|
+
children: (
|
|
123
|
+
<>
|
|
124
|
+
<SampleCard>Large gap between items</SampleCard>
|
|
125
|
+
<SampleCard>Creates breathing room</SampleCard>
|
|
126
|
+
</>
|
|
127
|
+
),
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export const SkillsGrid = {
|
|
132
|
+
render: () => (
|
|
133
|
+
<GridLayout columns={2}>
|
|
134
|
+
<SampleCard>
|
|
135
|
+
<h4>Frontend</h4>
|
|
136
|
+
<p>React, Vue, Angular, TypeScript</p>
|
|
137
|
+
</SampleCard>
|
|
138
|
+
<SampleCard>
|
|
139
|
+
<h4>Backend</h4>
|
|
140
|
+
<p>Node.js, Python, PostgreSQL</p>
|
|
141
|
+
</SampleCard>
|
|
142
|
+
<SampleCard>
|
|
143
|
+
<h4>DevOps</h4>
|
|
144
|
+
<p>Docker, Kubernetes, AWS</p>
|
|
145
|
+
</SampleCard>
|
|
146
|
+
<SampleCard>
|
|
147
|
+
<h4>Tools</h4>
|
|
148
|
+
<p>Git, Jenkins, Terraform</p>
|
|
149
|
+
</SampleCard>
|
|
150
|
+
</GridLayout>
|
|
151
|
+
),
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export const ThreeColumnShowcase = {
|
|
155
|
+
render: () => (
|
|
156
|
+
<GridLayout columns={3} gap="1.5rem">
|
|
157
|
+
<SampleCard>
|
|
158
|
+
<h4>Project 1</h4>
|
|
159
|
+
<p>E-commerce platform built with React</p>
|
|
160
|
+
</SampleCard>
|
|
161
|
+
<SampleCard>
|
|
162
|
+
<h4>Project 2</h4>
|
|
163
|
+
<p>Real-time chat application</p>
|
|
164
|
+
</SampleCard>
|
|
165
|
+
<SampleCard>
|
|
166
|
+
<h4>Project 3</h4>
|
|
167
|
+
<p>Analytics dashboard</p>
|
|
168
|
+
</SampleCard>
|
|
169
|
+
<SampleCard>
|
|
170
|
+
<h4>Project 4</h4>
|
|
171
|
+
<p>Mobile app with React Native</p>
|
|
172
|
+
</SampleCard>
|
|
173
|
+
<SampleCard>
|
|
174
|
+
<h4>Project 5</h4>
|
|
175
|
+
<p>API gateway service</p>
|
|
176
|
+
</SampleCard>
|
|
177
|
+
<SampleCard>
|
|
178
|
+
<h4>Project 6</h4>
|
|
179
|
+
<p>ML prediction model</p>
|
|
180
|
+
</SampleCard>
|
|
181
|
+
</GridLayout>
|
|
182
|
+
),
|
|
183
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* SidebarLayout
|
|
4
|
+
* Layout with main content and sidebar
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Container = styled.div`
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: ${(props) =>
|
|
11
|
+
props.$sidebarPosition === 'right'
|
|
12
|
+
? `1fr ${props.$sidebarWidth || '30%'}`
|
|
13
|
+
: `${props.$sidebarWidth || '30%'} 1fr`};
|
|
14
|
+
gap: ${(props) => props.$gap || 'var(--resume-column-gap)'};
|
|
15
|
+
|
|
16
|
+
@media print {
|
|
17
|
+
gap: ${(props) => props.$gap || '16px'};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (max-width: 768px) {
|
|
21
|
+
grid-template-columns: 1fr;
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
const Sidebar = styled.aside`
|
|
26
|
+
grid-area: ${(props) => (props.$position === 'right' ? '1 / 2' : '1 / 1')};
|
|
27
|
+
|
|
28
|
+
@media (max-width: 768px) {
|
|
29
|
+
grid-area: auto;
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
const Main = styled.main`
|
|
34
|
+
grid-area: ${(props) =>
|
|
35
|
+
props.$sidebarPosition === 'right' ? '1 / 1' : '1 / 2'};
|
|
36
|
+
|
|
37
|
+
@media (max-width: 768px) {
|
|
38
|
+
grid-area: auto;
|
|
39
|
+
}
|
|
40
|
+
`;
|
|
41
|
+
|
|
42
|
+
export function SidebarLayout({
|
|
43
|
+
sidebarWidth = '30%',
|
|
44
|
+
sidebarPosition = 'left',
|
|
45
|
+
gap,
|
|
46
|
+
sidebar,
|
|
47
|
+
children,
|
|
48
|
+
className,
|
|
49
|
+
}) {
|
|
50
|
+
return (
|
|
51
|
+
<Container
|
|
52
|
+
$sidebarWidth={sidebarWidth}
|
|
53
|
+
$sidebarPosition={sidebarPosition}
|
|
54
|
+
$gap={gap}
|
|
55
|
+
className={className}
|
|
56
|
+
>
|
|
57
|
+
<Sidebar $position={sidebarPosition}>{sidebar}</Sidebar>
|
|
58
|
+
<Main $sidebarPosition={sidebarPosition}>{children}</Main>
|
|
59
|
+
</Container>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export default SidebarLayout;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* SidebarLayout Stories
|
|
4
|
+
* Layout with main content and sidebar
|
|
5
|
+
*/
|
|
6
|
+
import { SidebarLayout } from './SidebarLayout';
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Resume Core/Layouts/SidebarLayout',
|
|
10
|
+
component: SidebarLayout,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: 'padded',
|
|
13
|
+
},
|
|
14
|
+
tags: ['autodocs'],
|
|
15
|
+
argTypes: {
|
|
16
|
+
sidebarWidth: {
|
|
17
|
+
control: 'text',
|
|
18
|
+
description: 'Sidebar width (CSS value)',
|
|
19
|
+
},
|
|
20
|
+
sidebarPosition: {
|
|
21
|
+
control: 'select',
|
|
22
|
+
options: ['left', 'right'],
|
|
23
|
+
description: 'Sidebar position',
|
|
24
|
+
},
|
|
25
|
+
gap: {
|
|
26
|
+
control: 'text',
|
|
27
|
+
description: 'Gap between sidebar and main',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export default meta;
|
|
33
|
+
|
|
34
|
+
const SidebarContent = () => (
|
|
35
|
+
<div style={{ padding: '1rem', background: '#f0f0f0', borderRadius: '8px' }}>
|
|
36
|
+
<h3>Sidebar</h3>
|
|
37
|
+
<div style={{ marginTop: '1rem' }}>
|
|
38
|
+
<h4>Contact</h4>
|
|
39
|
+
<p>john@example.com</p>
|
|
40
|
+
<p>(555) 123-4567</p>
|
|
41
|
+
</div>
|
|
42
|
+
<div style={{ marginTop: '1rem' }}>
|
|
43
|
+
<h4>Skills</h4>
|
|
44
|
+
<p>React, Node.js, TypeScript</p>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
const MainContent = () => (
|
|
50
|
+
<div style={{ padding: '1rem', background: '#fafafa', borderRadius: '8px' }}>
|
|
51
|
+
<h2>Main Content</h2>
|
|
52
|
+
<p>
|
|
53
|
+
This is the main content area. It contains the primary information like
|
|
54
|
+
work experience, projects, and education.
|
|
55
|
+
</p>
|
|
56
|
+
<h3>Work Experience</h3>
|
|
57
|
+
<p>Senior Software Engineer at Tech Corp (2020-Present)</p>
|
|
58
|
+
<p>Led development of microservices architecture serving 1M+ users.</p>
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
export const Default = {
|
|
63
|
+
args: {
|
|
64
|
+
sidebar: 'Sidebar content',
|
|
65
|
+
children: 'Main content',
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const RightSidebar = {
|
|
70
|
+
args: {
|
|
71
|
+
sidebarWidth: '30%',
|
|
72
|
+
sidebarPosition: 'right',
|
|
73
|
+
sidebar: <SidebarContent />,
|
|
74
|
+
children: <MainContent />,
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export const NarrowSidebar = {
|
|
79
|
+
args: {
|
|
80
|
+
sidebarWidth: '25%',
|
|
81
|
+
sidebarPosition: 'left',
|
|
82
|
+
sidebar: <SidebarContent />,
|
|
83
|
+
children: <MainContent />,
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export const WideSidebar = {
|
|
88
|
+
args: {
|
|
89
|
+
sidebarWidth: '35%',
|
|
90
|
+
sidebarPosition: 'left',
|
|
91
|
+
sidebar: <SidebarContent />,
|
|
92
|
+
children: <MainContent />,
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const CustomGap = {
|
|
97
|
+
args: {
|
|
98
|
+
sidebarWidth: '30%',
|
|
99
|
+
sidebarPosition: 'left',
|
|
100
|
+
gap: '3rem',
|
|
101
|
+
sidebar: <SidebarContent />,
|
|
102
|
+
children: <MainContent />,
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export const ResumeLayout = {
|
|
107
|
+
render: () => (
|
|
108
|
+
<SidebarLayout
|
|
109
|
+
sidebarWidth="280px"
|
|
110
|
+
sidebarPosition="left"
|
|
111
|
+
sidebar={
|
|
112
|
+
<div
|
|
113
|
+
style={{
|
|
114
|
+
padding: '1.5rem',
|
|
115
|
+
background: '#2c3e50',
|
|
116
|
+
color: 'white',
|
|
117
|
+
borderRadius: '8px',
|
|
118
|
+
}}
|
|
119
|
+
>
|
|
120
|
+
<div style={{ textAlign: 'center', marginBottom: '2rem' }}>
|
|
121
|
+
<div
|
|
122
|
+
style={{
|
|
123
|
+
width: '100px',
|
|
124
|
+
height: '100px',
|
|
125
|
+
borderRadius: '50%',
|
|
126
|
+
background: '#34495e',
|
|
127
|
+
margin: '0 auto 1rem',
|
|
128
|
+
}}
|
|
129
|
+
/>
|
|
130
|
+
<h3>John Doe</h3>
|
|
131
|
+
<p>Senior Developer</p>
|
|
132
|
+
</div>
|
|
133
|
+
<div style={{ marginBottom: '1.5rem' }}>
|
|
134
|
+
<h4>Contact</h4>
|
|
135
|
+
<p>john@example.com</p>
|
|
136
|
+
<p>(555) 123-4567</p>
|
|
137
|
+
</div>
|
|
138
|
+
<div>
|
|
139
|
+
<h4>Skills</h4>
|
|
140
|
+
<p>JavaScript • React • Node.js • TypeScript • AWS</p>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
}
|
|
144
|
+
>
|
|
145
|
+
<div
|
|
146
|
+
style={{ padding: '1.5rem', background: 'white', borderRadius: '8px' }}
|
|
147
|
+
>
|
|
148
|
+
<h2>Experience</h2>
|
|
149
|
+
<div style={{ marginTop: '1rem' }}>
|
|
150
|
+
<h3>Senior Software Engineer</h3>
|
|
151
|
+
<p>Tech Corp • 2020-Present</p>
|
|
152
|
+
<p>Leading development of cloud-native applications.</p>
|
|
153
|
+
</div>
|
|
154
|
+
<h2 style={{ marginTop: '2rem' }}>Education</h2>
|
|
155
|
+
<div style={{ marginTop: '1rem' }}>
|
|
156
|
+
<h3>BS Computer Science</h3>
|
|
157
|
+
<p>University of Technology • 2016</p>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</SidebarLayout>
|
|
161
|
+
),
|
|
162
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* StackLayout
|
|
4
|
+
* Vertical stack layout with consistent spacing
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Stack = styled.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: ${(props) => props.$spacing || 'var(--resume-space-item)'};
|
|
12
|
+
|
|
13
|
+
@media print {
|
|
14
|
+
gap: ${(props) => props.$spacing || '12px'};
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
|
|
18
|
+
export function StackLayout({ spacing, children, className }) {
|
|
19
|
+
return (
|
|
20
|
+
<Stack $spacing={spacing} className={className}>
|
|
21
|
+
{children}
|
|
22
|
+
</Stack>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default StackLayout;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* StackLayout Stories
|
|
4
|
+
* Vertical stack layout with consistent spacing
|
|
5
|
+
*/
|
|
6
|
+
import { StackLayout } from './StackLayout';
|
|
7
|
+
|
|
8
|
+
const meta = {
|
|
9
|
+
title: 'Resume Core/Layouts/StackLayout',
|
|
10
|
+
component: StackLayout,
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: 'padded',
|
|
13
|
+
},
|
|
14
|
+
tags: ['autodocs'],
|
|
15
|
+
argTypes: {
|
|
16
|
+
spacing: {
|
|
17
|
+
control: 'text',
|
|
18
|
+
description: 'Gap between stacked items',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default meta;
|
|
24
|
+
|
|
25
|
+
const Card = ({ title, content }: { title: string; content: string }) => (
|
|
26
|
+
<div
|
|
27
|
+
style={{
|
|
28
|
+
padding: '1rem',
|
|
29
|
+
background: '#f5f5f5',
|
|
30
|
+
borderRadius: '8px',
|
|
31
|
+
border: '1px solid #ddd',
|
|
32
|
+
}}
|
|
33
|
+
>
|
|
34
|
+
<h3>{title}</h3>
|
|
35
|
+
<p>{content}</p>
|
|
36
|
+
</div>
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export const Default = {
|
|
40
|
+
args: {
|
|
41
|
+
children: 'Stacked content',
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export const TightSpacing = {
|
|
46
|
+
args: {
|
|
47
|
+
spacing: '0.5rem',
|
|
48
|
+
children: (
|
|
49
|
+
<>
|
|
50
|
+
<Card title="Item 1" content="Tight spacing between items" />
|
|
51
|
+
<Card title="Item 2" content="Compact layout" />
|
|
52
|
+
<Card title="Item 3" content="Space efficient" />
|
|
53
|
+
</>
|
|
54
|
+
),
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const WideSpacing = {
|
|
59
|
+
args: {
|
|
60
|
+
spacing: '2rem',
|
|
61
|
+
children: (
|
|
62
|
+
<>
|
|
63
|
+
<Card title="Item 1" content="Wide spacing between items" />
|
|
64
|
+
<Card title="Item 2" content="Spacious layout" />
|
|
65
|
+
<Card title="Item 3" content="Breathing room" />
|
|
66
|
+
</>
|
|
67
|
+
),
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export const WorkExperience = {
|
|
72
|
+
render: () => (
|
|
73
|
+
<StackLayout>
|
|
74
|
+
<div
|
|
75
|
+
style={{
|
|
76
|
+
padding: '1.5rem',
|
|
77
|
+
background: 'white',
|
|
78
|
+
border: '1px solid #e0e0e0',
|
|
79
|
+
borderRadius: '8px',
|
|
80
|
+
}}
|
|
81
|
+
>
|
|
82
|
+
<h3>Senior Software Engineer</h3>
|
|
83
|
+
<p style={{ color: '#666' }}>
|
|
84
|
+
Tech Corp • 2020-Present • San Francisco, CA
|
|
85
|
+
</p>
|
|
86
|
+
<p>
|
|
87
|
+
Leading development of cloud-native applications serving 1M+ users.
|
|
88
|
+
Built microservices architecture using Node.js and Kubernetes.
|
|
89
|
+
</p>
|
|
90
|
+
</div>
|
|
91
|
+
<div
|
|
92
|
+
style={{
|
|
93
|
+
padding: '1.5rem',
|
|
94
|
+
background: 'white',
|
|
95
|
+
border: '1px solid #e0e0e0',
|
|
96
|
+
borderRadius: '8px',
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
<h3>Software Engineer</h3>
|
|
100
|
+
<p style={{ color: '#666' }}>StartupCo • 2018-2020 • Remote</p>
|
|
101
|
+
<p>
|
|
102
|
+
Developed full-stack web applications using React and Node.js.
|
|
103
|
+
Implemented CI/CD pipelines and improved deployment process.
|
|
104
|
+
</p>
|
|
105
|
+
</div>
|
|
106
|
+
<div
|
|
107
|
+
style={{
|
|
108
|
+
padding: '1.5rem',
|
|
109
|
+
background: 'white',
|
|
110
|
+
border: '1px solid #e0e0e0',
|
|
111
|
+
borderRadius: '8px',
|
|
112
|
+
}}
|
|
113
|
+
>
|
|
114
|
+
<h3>Junior Developer</h3>
|
|
115
|
+
<p style={{ color: '#666' }}>WebAgency • 2016-2018 • New York, NY</p>
|
|
116
|
+
<p>
|
|
117
|
+
Built responsive websites for clients using modern web technologies.
|
|
118
|
+
Collaborated with designers to implement pixel-perfect UIs.
|
|
119
|
+
</p>
|
|
120
|
+
</div>
|
|
121
|
+
</StackLayout>
|
|
122
|
+
),
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export const ProjectsList = {
|
|
126
|
+
render: () => (
|
|
127
|
+
<StackLayout spacing="1.5rem">
|
|
128
|
+
<div
|
|
129
|
+
style={{
|
|
130
|
+
padding: '1.5rem',
|
|
131
|
+
background: '#f8f9fa',
|
|
132
|
+
borderLeft: '4px solid #007bff',
|
|
133
|
+
borderRadius: '4px',
|
|
134
|
+
}}
|
|
135
|
+
>
|
|
136
|
+
<h3>E-commerce Platform</h3>
|
|
137
|
+
<p>
|
|
138
|
+
Built a full-featured e-commerce platform with React, Node.js, and
|
|
139
|
+
PostgreSQL. Implemented secure payment processing and inventory
|
|
140
|
+
management.
|
|
141
|
+
</p>
|
|
142
|
+
</div>
|
|
143
|
+
<div
|
|
144
|
+
style={{
|
|
145
|
+
padding: '1.5rem',
|
|
146
|
+
background: '#f8f9fa',
|
|
147
|
+
borderLeft: '4px solid #28a745',
|
|
148
|
+
borderRadius: '4px',
|
|
149
|
+
}}
|
|
150
|
+
>
|
|
151
|
+
<h3>Real-time Chat Application</h3>
|
|
152
|
+
<p>
|
|
153
|
+
Developed a real-time chat application using WebSockets and Redis.
|
|
154
|
+
Supports group chats, file sharing, and message history.
|
|
155
|
+
</p>
|
|
156
|
+
</div>
|
|
157
|
+
<div
|
|
158
|
+
style={{
|
|
159
|
+
padding: '1.5rem',
|
|
160
|
+
background: '#f8f9fa',
|
|
161
|
+
borderLeft: '4px solid #ffc107',
|
|
162
|
+
borderRadius: '4px',
|
|
163
|
+
}}
|
|
164
|
+
>
|
|
165
|
+
<h3>Analytics Dashboard</h3>
|
|
166
|
+
<p>
|
|
167
|
+
Created interactive analytics dashboard with D3.js and React.
|
|
168
|
+
Visualizes key metrics and provides actionable insights.
|
|
169
|
+
</p>
|
|
170
|
+
</div>
|
|
171
|
+
</StackLayout>
|
|
172
|
+
),
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export const EducationSection = {
|
|
176
|
+
render: () => (
|
|
177
|
+
<StackLayout spacing="1rem">
|
|
178
|
+
<div>
|
|
179
|
+
<h3>Master of Science in Computer Science</h3>
|
|
180
|
+
<p style={{ color: '#666' }}>Stanford University • 2018</p>
|
|
181
|
+
<p>Focus: Machine Learning and Artificial Intelligence</p>
|
|
182
|
+
<p>GPA: 3.9/4.0</p>
|
|
183
|
+
</div>
|
|
184
|
+
<div>
|
|
185
|
+
<h3>Bachelor of Science in Computer Engineering</h3>
|
|
186
|
+
<p style={{ color: '#666' }}>MIT • 2016</p>
|
|
187
|
+
<p>Summa Cum Laude</p>
|
|
188
|
+
<p>GPA: 3.95/4.0</p>
|
|
189
|
+
</div>
|
|
190
|
+
</StackLayout>
|
|
191
|
+
),
|
|
192
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* TwoColumnMicroGrid Component
|
|
6
|
+
* Text-only two-column micro grid with semantic single-column DOM order.
|
|
7
|
+
* Uses CSS column flow for visual presentation while maintaining linear semantic order.
|
|
8
|
+
* Perfect for compact information display that needs to remain accessible and ATS-friendly.
|
|
9
|
+
*
|
|
10
|
+
* @component
|
|
11
|
+
* @example
|
|
12
|
+
* <TwoColumnMicroGrid>
|
|
13
|
+
* <span>Item 1</span>
|
|
14
|
+
* <span>Item 2</span>
|
|
15
|
+
* <span>Item 3</span>
|
|
16
|
+
* <span>Item 4</span>
|
|
17
|
+
* </TwoColumnMicroGrid>
|
|
18
|
+
*
|
|
19
|
+
* @param {React.ReactNode} children - Grid items to display
|
|
20
|
+
* @param {string} [gap='8px'] - Gap between items
|
|
21
|
+
* @param {string} [columnGap='16px'] - Gap between columns
|
|
22
|
+
* @param {string} [className] - Additional CSS classes
|
|
23
|
+
* @param {React.ElementType} [as='div'] - HTML element to render as
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
const StyledTwoColumnGrid = styled.div`
|
|
27
|
+
/* Use CSS columns for visual two-column layout */
|
|
28
|
+
column-count: 2;
|
|
29
|
+
column-gap: ${(props) => props.$columnGap || '16px'};
|
|
30
|
+
|
|
31
|
+
/* Prevent column breaks inside items */
|
|
32
|
+
& > * {
|
|
33
|
+
break-inside: avoid;
|
|
34
|
+
page-break-inside: avoid;
|
|
35
|
+
margin-bottom: ${(props) => props.$gap || '8px'};
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Last item in each column shouldn't have bottom margin */
|
|
40
|
+
& > *:last-child {
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@media print {
|
|
45
|
+
column-count: 2;
|
|
46
|
+
column-gap: 12pt;
|
|
47
|
+
|
|
48
|
+
& > * {
|
|
49
|
+
margin-bottom: 6pt;
|
|
50
|
+
break-inside: avoid;
|
|
51
|
+
page-break-inside: avoid;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Collapse to single column on small screens */
|
|
56
|
+
@media (max-width: 768px) {
|
|
57
|
+
column-count: 1;
|
|
58
|
+
column-gap: 0;
|
|
59
|
+
|
|
60
|
+
& > * {
|
|
61
|
+
margin-bottom: ${(props) => props.$gap || '8px'};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
export function TwoColumnMicroGrid({
|
|
67
|
+
children,
|
|
68
|
+
gap = '8px',
|
|
69
|
+
columnGap = '16px',
|
|
70
|
+
className,
|
|
71
|
+
as = 'div',
|
|
72
|
+
...rest
|
|
73
|
+
}) {
|
|
74
|
+
return (
|
|
75
|
+
<StyledTwoColumnGrid
|
|
76
|
+
as={as}
|
|
77
|
+
$gap={gap}
|
|
78
|
+
$columnGap={columnGap}
|
|
79
|
+
className={`resume-two-column-micro-grid ${className || ''}`.trim()}
|
|
80
|
+
{...rest}
|
|
81
|
+
>
|
|
82
|
+
{children}
|
|
83
|
+
</StyledTwoColumnGrid>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export default TwoColumnMicroGrid;
|