@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,58 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PublicationEntryPlain } from './PublicationEntryPlain';
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Publications/PublicationEntryPlain',
|
|
6
|
+
component: PublicationEntryPlain,
|
|
7
|
+
tags: ['autodocs'],
|
|
8
|
+
} satisfies Meta<typeof PublicationEntryPlain>;
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
|
|
13
|
+
export const Default: Story = {
|
|
14
|
+
args: {
|
|
15
|
+
author: 'Smith, J. & Doe, A.',
|
|
16
|
+
year: 2023,
|
|
17
|
+
title: 'A Novel Approach to Resume Formatting for ATS Systems',
|
|
18
|
+
venue: 'Journal of CV Design, Vol. 12, pp. 45-67',
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const WithUrl: Story = {
|
|
23
|
+
args: {
|
|
24
|
+
author: 'Johnson, M.',
|
|
25
|
+
year: 2024,
|
|
26
|
+
title: 'Machine Learning Applications in Resume Parsing',
|
|
27
|
+
venue: 'IEEE Conference on Document Processing',
|
|
28
|
+
url: 'https://example.com/paper',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const MultipleAuthors: Story = {
|
|
33
|
+
args: {
|
|
34
|
+
author: "Zhang, L., Patel, R., O'Connor, S. & Williams, K.",
|
|
35
|
+
year: 2022,
|
|
36
|
+
title: 'Cross-Platform Resume Standards: A Comprehensive Survey',
|
|
37
|
+
venue: 'ACM Computing Surveys, Vol. 55, No. 3',
|
|
38
|
+
url: 'https://doi.org/10.1145/example',
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const WithoutVenue: Story = {
|
|
43
|
+
args: {
|
|
44
|
+
author: 'Brown, T.',
|
|
45
|
+
year: 2023,
|
|
46
|
+
title: 'Self-Published Guide to Professional Resume Writing',
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const LongTitle: Story = {
|
|
51
|
+
args: {
|
|
52
|
+
author: 'Martinez, A. & Chen, W.',
|
|
53
|
+
year: 2021,
|
|
54
|
+
title:
|
|
55
|
+
'An Extensive Analysis of Applicant Tracking System Requirements and Their Impact on Resume Design Patterns in Modern Hiring Processes',
|
|
56
|
+
venue: 'International Journal of Human Resources Technology',
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PublicationItem
|
|
4
|
+
* Publication entry with title, publisher, date, and summary
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Container = styled.div`
|
|
9
|
+
padding: var(--resume-space-tight) 0;
|
|
10
|
+
border-bottom: 1px solid var(--resume-color-border);
|
|
11
|
+
break-inside: avoid;
|
|
12
|
+
|
|
13
|
+
&:last-child {
|
|
14
|
+
border-bottom: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media print {
|
|
18
|
+
border-bottom: 1px solid var(--resume-color-border);
|
|
19
|
+
break-inside: avoid;
|
|
20
|
+
page-break-inside: avoid;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
const Header = styled.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: baseline;
|
|
28
|
+
gap: var(--resume-space-tight);
|
|
29
|
+
margin-bottom: 4px;
|
|
30
|
+
|
|
31
|
+
@media (max-width: 768px) {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: 4px;
|
|
34
|
+
}
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
const Title = styled.h3`
|
|
38
|
+
margin: 0;
|
|
39
|
+
font-size: var(--resume-size-subheading);
|
|
40
|
+
font-weight: var(--resume-weight-medium);
|
|
41
|
+
color: var(--resume-color-primary);
|
|
42
|
+
`;
|
|
43
|
+
|
|
44
|
+
const Date = styled.time`
|
|
45
|
+
font-size: var(--resume-size-small);
|
|
46
|
+
color: var(--resume-color-tertiary);
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
const Publisher = styled.div`
|
|
51
|
+
font-size: var(--resume-size-small);
|
|
52
|
+
color: var(--resume-color-secondary);
|
|
53
|
+
font-style: italic;
|
|
54
|
+
margin-bottom: 8px;
|
|
55
|
+
`;
|
|
56
|
+
|
|
57
|
+
const Summary = styled.p`
|
|
58
|
+
margin: 0;
|
|
59
|
+
font-size: var(--resume-size-body);
|
|
60
|
+
color: var(--resume-color-secondary);
|
|
61
|
+
line-height: var(--resume-line-height-normal);
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
const Link = styled.a`
|
|
65
|
+
display: inline-block;
|
|
66
|
+
margin-top: 8px;
|
|
67
|
+
font-size: var(--resume-size-small);
|
|
68
|
+
color: var(--resume-color-accent);
|
|
69
|
+
text-decoration: none;
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
text-decoration: underline;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media print {
|
|
76
|
+
color: var(--resume-color-primary);
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
|
|
79
|
+
&::after {
|
|
80
|
+
content: ' (' attr(href) ')';
|
|
81
|
+
font-size: var(--resume-size-tiny);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
`;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @param {Object} props
|
|
88
|
+
* @param {string} props.name - Publication name/title
|
|
89
|
+
* @param {string} [props.publisher] - Publisher name
|
|
90
|
+
* @param {string} [props.releaseDate] - Release date
|
|
91
|
+
* @param {string} [props.summary] - Publication description
|
|
92
|
+
* @param {string} [props.url] - Link to publication
|
|
93
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
94
|
+
*/
|
|
95
|
+
export function PublicationItem({
|
|
96
|
+
name,
|
|
97
|
+
publisher,
|
|
98
|
+
releaseDate,
|
|
99
|
+
summary,
|
|
100
|
+
url,
|
|
101
|
+
className,
|
|
102
|
+
}) {
|
|
103
|
+
return (
|
|
104
|
+
<Container className={className}>
|
|
105
|
+
<Header>
|
|
106
|
+
<Title>{name}</Title>
|
|
107
|
+
{releaseDate && <Date>{releaseDate}</Date>}
|
|
108
|
+
</Header>
|
|
109
|
+
{publisher && <Publisher>{publisher}</Publisher>}
|
|
110
|
+
{summary && <Summary>{summary}</Summary>}
|
|
111
|
+
{url && (
|
|
112
|
+
<Link href={url} target="_blank" rel="noopener noreferrer">
|
|
113
|
+
View Publication
|
|
114
|
+
</Link>
|
|
115
|
+
)}
|
|
116
|
+
</Container>
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export default PublicationItem;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PublicationItem Stories
|
|
4
|
+
*/
|
|
5
|
+
import { PublicationItem } from './PublicationItem';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Publications/PublicationItem',
|
|
9
|
+
component: PublicationItem,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
args: {
|
|
18
|
+
title: 'Scaling Microservices: Lessons from Production',
|
|
19
|
+
publication: 'Tech Engineering Blog',
|
|
20
|
+
date: '2023',
|
|
21
|
+
url: 'https://techblog.example.com/scaling-microservices',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const Example = {
|
|
26
|
+
args: {
|
|
27
|
+
title: 'Introduction to React Server Components',
|
|
28
|
+
publication: 'Modern Web Development Magazine',
|
|
29
|
+
date: 'March 2023',
|
|
30
|
+
url: 'https://webdev.example.com/react-server-components',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* BlockQuote
|
|
4
|
+
* Simple blockquote styling for quotes and references
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Quote = styled.blockquote`
|
|
9
|
+
margin: var(--resume-space-item) 0;
|
|
10
|
+
padding: var(--resume-space-tight) var(--resume-space-item);
|
|
11
|
+
border-left: 3px solid var(--resume-color-border);
|
|
12
|
+
font-style: italic;
|
|
13
|
+
color: var(--resume-color-secondary);
|
|
14
|
+
background-color: ${(props) =>
|
|
15
|
+
props.$highlight ? 'var(--resume-color-muted)' : 'transparent'};
|
|
16
|
+
break-inside: avoid;
|
|
17
|
+
|
|
18
|
+
@media print {
|
|
19
|
+
border-left: 3px solid var(--resume-color-border);
|
|
20
|
+
break-inside: avoid;
|
|
21
|
+
page-break-inside: avoid;
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
const Text = styled.p`
|
|
26
|
+
margin: 0;
|
|
27
|
+
font-size: var(--resume-size-body);
|
|
28
|
+
line-height: var(--resume-line-height-normal);
|
|
29
|
+
`;
|
|
30
|
+
|
|
31
|
+
const Cite = styled.cite`
|
|
32
|
+
display: block;
|
|
33
|
+
margin-top: var(--resume-space-tight);
|
|
34
|
+
font-size: var(--resume-size-small);
|
|
35
|
+
font-style: normal;
|
|
36
|
+
color: var(--resume-color-tertiary);
|
|
37
|
+
`;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @param {Object} props
|
|
41
|
+
* @param {string|React.ReactNode} props.children - Quote content
|
|
42
|
+
* @param {string} [props.cite] - Citation source
|
|
43
|
+
* @param {boolean} [props.highlight] - Apply background highlight
|
|
44
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
45
|
+
*/
|
|
46
|
+
export function BlockQuote({ children, cite, highlight = false, className }) {
|
|
47
|
+
return (
|
|
48
|
+
<Quote $highlight={highlight} className={className}>
|
|
49
|
+
<Text>{children}</Text>
|
|
50
|
+
{cite && <Cite>— {cite}</Cite>}
|
|
51
|
+
</Quote>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default BlockQuote;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* BlockQuote Stories
|
|
4
|
+
*/
|
|
5
|
+
import { BlockQuote } from './BlockQuote';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Quotes/BlockQuote',
|
|
9
|
+
component: BlockQuote,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
render: () => (
|
|
18
|
+
<BlockQuote cite="Sarah Johnson, Senior Manager">
|
|
19
|
+
Sarah is an exceptional engineer who consistently delivers high-quality
|
|
20
|
+
work. Her technical expertise and leadership skills have been instrumental
|
|
21
|
+
in our team's success.
|
|
22
|
+
</BlockQuote>
|
|
23
|
+
),
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const Example = {
|
|
27
|
+
render: () => (
|
|
28
|
+
<BlockQuote cite="Michael Chen, CTO at Tech Corp" highlight={true}>
|
|
29
|
+
One of the most talented developers I've worked with. Sarah's ability to
|
|
30
|
+
solve complex problems and mentor junior team members is outstanding.
|
|
31
|
+
</BlockQuote>
|
|
32
|
+
),
|
|
33
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PullQuote
|
|
4
|
+
* Large prominent quote with author attribution
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Container = styled.blockquote`
|
|
9
|
+
margin: var(--resume-space-section) 0;
|
|
10
|
+
padding: var(--resume-space-item);
|
|
11
|
+
border-left: 4px solid var(--resume-color-accent);
|
|
12
|
+
background-color: var(--resume-color-muted);
|
|
13
|
+
break-inside: avoid;
|
|
14
|
+
|
|
15
|
+
@media print {
|
|
16
|
+
-webkit-print-color-adjust: exact;
|
|
17
|
+
print-color-adjust: exact;
|
|
18
|
+
border-left: 4px solid var(--resume-color-accent);
|
|
19
|
+
break-inside: avoid;
|
|
20
|
+
page-break-inside: avoid;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
const QuoteText = styled.p`
|
|
25
|
+
font-size: var(--resume-size-subheading);
|
|
26
|
+
font-style: italic;
|
|
27
|
+
color: var(--resume-color-primary);
|
|
28
|
+
line-height: var(--resume-line-height-relaxed);
|
|
29
|
+
margin: 0 0 var(--resume-space-tight) 0;
|
|
30
|
+
`;
|
|
31
|
+
|
|
32
|
+
const Attribution = styled.footer`
|
|
33
|
+
font-size: var(--resume-size-small);
|
|
34
|
+
color: var(--resume-color-secondary);
|
|
35
|
+
text-align: right;
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
const Author = styled.cite`
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: var(--resume-weight-medium);
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
const Context = styled.span`
|
|
44
|
+
display: block;
|
|
45
|
+
font-size: var(--resume-size-tiny);
|
|
46
|
+
margin-top: 2px;
|
|
47
|
+
`;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @param {Object} props
|
|
51
|
+
* @param {string} props.quote - The quote text
|
|
52
|
+
* @param {string} props.author - Author name
|
|
53
|
+
* @param {string} [props.context] - Optional context (role, company, etc.)
|
|
54
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
55
|
+
*/
|
|
56
|
+
export function PullQuote({ quote, author, context, className }) {
|
|
57
|
+
return (
|
|
58
|
+
<Container className={className}>
|
|
59
|
+
<QuoteText>"{quote}"</QuoteText>
|
|
60
|
+
{author && (
|
|
61
|
+
<Attribution>
|
|
62
|
+
— <Author>{author}</Author>
|
|
63
|
+
{context && <Context>{context}</Context>}
|
|
64
|
+
</Attribution>
|
|
65
|
+
)}
|
|
66
|
+
</Container>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default PullQuote;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PullQuote Stories
|
|
4
|
+
*/
|
|
5
|
+
import { PullQuote } from './PullQuote';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Quotes/PullQuote',
|
|
9
|
+
component: PullQuote,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
args: {
|
|
18
|
+
quote:
|
|
19
|
+
"Sarah's technical leadership and innovative approach to problem-solving have transformed our engineering culture.",
|
|
20
|
+
author: 'Michael Chen',
|
|
21
|
+
context: 'CTO at Tech Corp',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const Example = {
|
|
26
|
+
args: {
|
|
27
|
+
quote:
|
|
28
|
+
'An exceptional engineer who combines deep technical expertise with outstanding communication skills. A true asset to any team.',
|
|
29
|
+
author: 'Jennifer Martinez',
|
|
30
|
+
context: 'VP of Engineering, Innovation Labs',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Testimonial
|
|
4
|
+
* Testimonial card with photo, quote, author, and position
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Card = styled.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: var(--resume-space-tight);
|
|
12
|
+
padding: var(--resume-space-item);
|
|
13
|
+
background-color: var(--resume-color-background);
|
|
14
|
+
border: 1px solid var(--resume-color-border);
|
|
15
|
+
border-radius: var(--resume-radius-md);
|
|
16
|
+
break-inside: avoid;
|
|
17
|
+
|
|
18
|
+
@media print {
|
|
19
|
+
border: 1px solid var(--resume-color-border);
|
|
20
|
+
break-inside: avoid;
|
|
21
|
+
page-break-inside: avoid;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (max-width: 768px) {
|
|
25
|
+
padding: var(--resume-space-tight);
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
const Header = styled.div`
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: var(--resume-space-tight);
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
const Photo = styled.img`
|
|
36
|
+
width: 48px;
|
|
37
|
+
height: 48px;
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
object-fit: cover;
|
|
40
|
+
flex-shrink: 0;
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
const AuthorInfo = styled.div`
|
|
44
|
+
flex: 1;
|
|
45
|
+
`;
|
|
46
|
+
|
|
47
|
+
const Author = styled.div`
|
|
48
|
+
font-size: var(--resume-size-body);
|
|
49
|
+
font-weight: var(--resume-weight-medium);
|
|
50
|
+
color: var(--resume-color-primary);
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
const Position = styled.div`
|
|
54
|
+
font-size: var(--resume-size-small);
|
|
55
|
+
color: var(--resume-color-secondary);
|
|
56
|
+
`;
|
|
57
|
+
|
|
58
|
+
const Quote = styled.blockquote`
|
|
59
|
+
margin: 0;
|
|
60
|
+
font-size: var(--resume-size-body);
|
|
61
|
+
font-style: italic;
|
|
62
|
+
color: var(--resume-color-secondary);
|
|
63
|
+
line-height: var(--resume-line-height-normal);
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @param {Object} props
|
|
68
|
+
* @param {string} props.quote - The testimonial text
|
|
69
|
+
* @param {string} props.author - Author name
|
|
70
|
+
* @param {string} [props.position] - Author position/title
|
|
71
|
+
* @param {string} [props.photo] - URL to author photo
|
|
72
|
+
* @param {string} [props.company] - Company name
|
|
73
|
+
* @param {string} [props.className] - Additional CSS classes
|
|
74
|
+
*/
|
|
75
|
+
export function Testimonial({
|
|
76
|
+
quote,
|
|
77
|
+
author,
|
|
78
|
+
position,
|
|
79
|
+
photo,
|
|
80
|
+
company,
|
|
81
|
+
className,
|
|
82
|
+
}) {
|
|
83
|
+
const displayPosition = company ? `${position} at ${company}` : position;
|
|
84
|
+
|
|
85
|
+
return (
|
|
86
|
+
<Card className={className}>
|
|
87
|
+
<Header>
|
|
88
|
+
{photo && <Photo src={photo} alt={author} />}
|
|
89
|
+
<AuthorInfo>
|
|
90
|
+
<Author>{author}</Author>
|
|
91
|
+
{displayPosition && <Position>{displayPosition}</Position>}
|
|
92
|
+
</AuthorInfo>
|
|
93
|
+
</Header>
|
|
94
|
+
<Quote>"{quote}"</Quote>
|
|
95
|
+
</Card>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export default Testimonial;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Testimonial Stories
|
|
4
|
+
*/
|
|
5
|
+
import { Testimonial } from './Testimonial';
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
title: 'Resume Core/Quotes/Testimonial',
|
|
9
|
+
component: Testimonial,
|
|
10
|
+
parameters: { layout: 'padded' },
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
|
|
16
|
+
export const Default = {
|
|
17
|
+
args: {
|
|
18
|
+
quote:
|
|
19
|
+
'Sarah is an exceptional engineer who consistently delivers high-quality work. Her technical expertise and problem-solving abilities are outstanding.',
|
|
20
|
+
author: 'Michael Chen',
|
|
21
|
+
position: 'CTO',
|
|
22
|
+
company: 'Tech Corp',
|
|
23
|
+
photo: 'https://i.pravatar.cc/150?img=12',
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export const Example = {
|
|
28
|
+
args: {
|
|
29
|
+
quote:
|
|
30
|
+
"One of the best developers I've had the pleasure of working with. Sarah's leadership and mentorship have been invaluable to our team's growth.",
|
|
31
|
+
author: 'Jennifer Martinez',
|
|
32
|
+
position: 'VP of Engineering',
|
|
33
|
+
company: 'Innovation Labs',
|
|
34
|
+
photo: 'https://i.pravatar.cc/150?img=5',
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* SkillBar
|
|
4
|
+
* Horizontal bar showing skill proficiency level
|
|
5
|
+
*/
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
|
|
8
|
+
const Container = styled.div`
|
|
9
|
+
margin-bottom: var(--resume-space-tight);
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
const Label = styled.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
margin-bottom: 4px;
|
|
16
|
+
font-size: var(--resume-size-body);
|
|
17
|
+
color: var(--resume-color-primary);
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
const BarContainer = styled.div`
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: ${(props) => props.$height || '8px'};
|
|
23
|
+
background-color: var(--resume-color-border);
|
|
24
|
+
border-radius: var(--resume-radius-sm);
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
|
|
27
|
+
@media print {
|
|
28
|
+
-webkit-print-color-adjust: exact;
|
|
29
|
+
print-color-adjust: exact;
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
const BarFill = styled.div`
|
|
34
|
+
width: ${(props) => props.$level}%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
background-color: ${(props) => props.$color || 'var(--resume-color-accent)'};
|
|
37
|
+
transition: width 0.3s ease;
|
|
38
|
+
|
|
39
|
+
@media print {
|
|
40
|
+
-webkit-print-color-adjust: exact;
|
|
41
|
+
print-color-adjust: exact;
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
|
|
45
|
+
export function SkillBar({
|
|
46
|
+
skill,
|
|
47
|
+
level = 0,
|
|
48
|
+
showPercentage = false,
|
|
49
|
+
color,
|
|
50
|
+
height,
|
|
51
|
+
className,
|
|
52
|
+
}) {
|
|
53
|
+
return (
|
|
54
|
+
<Container className={className}>
|
|
55
|
+
<Label>
|
|
56
|
+
<span>{skill}</span>
|
|
57
|
+
{showPercentage && <span>{level}%</span>}
|
|
58
|
+
</Label>
|
|
59
|
+
<BarContainer $height={height}>
|
|
60
|
+
<BarFill $level={level} $color={color} />
|
|
61
|
+
</BarContainer>
|
|
62
|
+
</Container>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export default SkillBar;
|