- bumped version to 2.3.3

- fixed text alignment issues
- updated dependencies
- added ukranian language
This commit is contained in:
Amruth Pillai
2020-12-09 10:40:27 +05:30
parent 88a3fe5148
commit df71b86028
32 changed files with 942 additions and 1021 deletions
+1
View File
@@ -55,6 +55,7 @@ const Castform = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingD }}>
<div
id="page"
className="rounded"
style={{
fontFamily: data.metadata.font,
+1
View File
@@ -86,6 +86,7 @@ const Celebi = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingE }}>
<div
id="page"
className="relative rounded"
style={{
fontFamily: data.metadata.font,
+1
View File
@@ -59,6 +59,7 @@ const Gengar = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingC }}>
<div
id="page"
className="rounded"
style={{
fontFamily: data.metadata.font,
+1
View File
@@ -54,6 +54,7 @@ const Glalie = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingB }}>
<div
id="page"
className="rounded"
style={{
fontFamily: data.metadata.font,
+1
View File
@@ -33,6 +33,7 @@ const Onyx = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingA }}>
<div
id="page"
className="p-8 rounded"
style={{
fontFamily: data.metadata.font,
+1
View File
@@ -32,6 +32,7 @@ const Pikachu = ({ data }) => {
return (
<PageContext.Provider value={{ data, heading: HeadingB }}>
<div
id="page"
className="p-8 rounded"
style={{
fontFamily: data.metadata.font,
+2 -3
View File
@@ -3,8 +3,8 @@ import { useTranslation } from 'react-i18next';
import PageContext from '../../../contexts/PageContext';
import { safetyCheck } from '../../../utils';
const ContactItem = ({ value, label, link }) => {
return value ? (
const ContactItem = ({ value, label, link }) =>
value ? (
<div className="flex flex-col">
<h6 className="capitalize font-semibold">{label}</h6>
{link ? (
@@ -16,7 +16,6 @@ const ContactItem = ({ value, label, link }) => {
)}
</div>
) : null;
};
const ContactC = () => {
const { t } = useTranslation();
+2 -3
View File
@@ -4,8 +4,8 @@ import { MdFlare } from 'react-icons/md';
import PageContext from '../../../contexts/PageContext';
import { safetyCheck } from '../../../utils';
const ContactItem = ({ value, label, link }) => {
return value ? (
const ContactItem = ({ value, label, link }) =>
value ? (
<div className="flex flex-col">
<h6 className="capitalize font-semibold">{label}</h6>
{link ? (
@@ -17,7 +17,6 @@ const ContactItem = ({ value, label, link }) => {
)}
</div>
) : null;
};
const ContactD = () => {
const { t } = useTranslation();
+3 -7
View File
@@ -1,11 +1,7 @@
import React, { memo } from 'react';
const HeadingC = ({ children }) => {
return (
<h6 className="font-bold text-xs uppercase tracking-wide mb-1">
{children}
</h6>
);
};
const HeadingC = ({ children }) => (
<h6 className="font-bold text-xs uppercase tracking-wide mb-1">{children}</h6>
);
export default memo(HeadingC);
+5 -7
View File
@@ -1,11 +1,9 @@
import React, { memo } from 'react';
const HeadingC = ({ children }) => {
return (
<h6 className="my-2 text-md uppercase font-semibold tracking-wider pb-1 border-b-2 border-gray-800">
{children}
</h6>
);
};
const HeadingC = ({ children }) => (
<h6 className="my-2 text-md uppercase font-semibold tracking-wider pb-1 border-b-2 border-gray-800">
{children}
</h6>
);
export default memo(HeadingC);