mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
attempt to fix leafish template issues
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
.container {
|
.container {
|
||||||
@apply grid grid-cols-2 gap-4 px-6 py-4 items-start;
|
@apply grid grid-cols-2 gap-4 mx-6 my-4 items-start;
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
@apply grid gap-4;
|
@apply grid gap-4;
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { ThemeConfig } from 'schema';
|
|
||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
|
import { ThemeConfig } from 'schema';
|
||||||
|
|
||||||
import { useAppSelector } from '@/store/hooks';
|
import { useAppSelector } from '@/store/hooks';
|
||||||
|
|
||||||
@ -7,12 +7,12 @@ const Heading: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
|
|||||||
const theme: ThemeConfig = useAppSelector((state) => get(state.resume.present, 'metadata.theme', {} as ThemeConfig));
|
const theme: ThemeConfig = useAppSelector((state) => get(state.resume.present, 'metadata.theme', {} as ThemeConfig));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<h2
|
<h3
|
||||||
className="mb-2 pb-1 font-bold uppercase opacity-75"
|
className="mb-2 inline-block border-b-2 pb-1 font-bold uppercase opacity-75"
|
||||||
style={{ borderBottomWidth: '3px', borderColor: theme.primary, color: theme.primary, display: 'inline-block' }}
|
style={{ borderColor: theme.primary, color: theme.primary, display: 'inline-block' }}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</h2>
|
</h3>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import { Cake, Email, Phone, Public, Room } from '@mui/icons-material';
|
import { Cake, Email, Phone, Public, Room } from '@mui/icons-material';
|
||||||
import { alpha } from '@mui/material';
|
import { alpha } from '@mui/material';
|
||||||
import { ThemeConfig } from 'schema';
|
|
||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
import isEmpty from 'lodash/isEmpty';
|
import isEmpty from 'lodash/isEmpty';
|
||||||
|
import { ThemeConfig } from 'schema';
|
||||||
|
|
||||||
import Markdown from '@/components/shared/Markdown';
|
import Markdown from '@/components/shared/Markdown';
|
||||||
import { useAppSelector } from '@/store/hooks';
|
import { useAppSelector } from '@/store/hooks';
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
import { Email, Link, Phone } from '@mui/icons-material';
|
import { Email, Link, Phone } from '@mui/icons-material';
|
||||||
import { ListItem, Section as SectionType } from 'schema';
|
|
||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
import isArray from 'lodash/isArray';
|
import isArray from 'lodash/isArray';
|
||||||
import isEmpty from 'lodash/isEmpty';
|
import isEmpty from 'lodash/isEmpty';
|
||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
|
import { ListItem, Section as SectionType } from 'schema';
|
||||||
|
|
||||||
import Markdown from '@/components/shared/Markdown';
|
import Markdown from '@/components/shared/Markdown';
|
||||||
import { useAppSelector } from '@/store/hooks';
|
import { useAppSelector } from '@/store/hooks';
|
||||||
|
|||||||
Reference in New Issue
Block a user