create-digigov-app 1.0.0-blabla-test2 → 1.0.0-e322b0cc
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/package.json +5 -5
- package/template/_package.json +4 -2
- package/template/javascript/src/locales/el.js +1 -1
- package/template/javascript/src/locales/en.js +1 -1
- package/template/javascript/src/pages/index.js +3 -3
- package/template/typescript/src/components/CommonLayout.tsx +4 -4
- package/template/typescript/src/locales/el.ts +1 -1
- package/template/typescript/src/locales/en.ts +2 -2
- package/template/typescript/src/pages/index.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-digigov-app",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-e322b0cc",
|
|
4
4
|
"description": "Create a DigiGOV App with ease",
|
|
5
5
|
"bin": "cli.js",
|
|
6
6
|
"files": [
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"publint": "0.1.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@digigov/cli": "1.0.0-
|
|
31
|
-
"@digigov/cli-lint": "1.0.0-
|
|
32
|
-
"@digigov/cli-test": "1.0.0-
|
|
33
|
-
"typescript": "4.2
|
|
30
|
+
"@digigov/cli": "1.0.0-e322b0cc",
|
|
31
|
+
"@digigov/cli-lint": "1.0.0-e322b0cc",
|
|
32
|
+
"@digigov/cli-test": "1.0.0-e322b0cc",
|
|
33
|
+
"typescript": "4.7.2",
|
|
34
34
|
"publint": "0.1.8"
|
|
35
35
|
},
|
|
36
36
|
"license": "BSD-2-Clause",
|
package/template/_package.json
CHANGED
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"@types/jest": "^26.0.15",
|
|
29
29
|
"eslint": "^7.27.0",
|
|
30
30
|
"prettier": "^2.3.0",
|
|
31
|
-
"autoprefixer": "10.
|
|
31
|
+
"autoprefixer": "10.4.16",
|
|
32
32
|
"postcss": "8.4.4",
|
|
33
|
-
"
|
|
33
|
+
"postcss-js": "4.0.0",
|
|
34
|
+
"postcss-load-config": "3.1.4",
|
|
35
|
+
"tailwindcss": "3.3.5"
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
3
3
|
import { Main, Side } from '@digigov/ui/layouts/Basic';
|
|
4
|
-
import
|
|
4
|
+
import Section, { PageTitleHeading } from '@digigov/ui/app/PageTitle';
|
|
5
5
|
import CallToAction from '@digigov/ui/form/Button/CallToAction';
|
|
6
6
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
7
7
|
|
|
@@ -12,9 +12,9 @@ const Home = () => {
|
|
|
12
12
|
return (
|
|
13
13
|
<CommonLayout>
|
|
14
14
|
<Main>
|
|
15
|
-
<
|
|
15
|
+
<Section>
|
|
16
16
|
<PageTitleHeading>{t('app.name')}</PageTitleHeading>
|
|
17
|
-
</
|
|
17
|
+
</Section>
|
|
18
18
|
<Paragraph>{t('app.intro_text')}</Paragraph>
|
|
19
19
|
<CallToAction href="/login">{t('button.start')}</CallToAction>
|
|
20
20
|
</Main>
|
|
@@ -22,16 +22,16 @@ const CommonLayout: React.FC = ({ children }) => {
|
|
|
22
22
|
</Head>
|
|
23
23
|
<Top>
|
|
24
24
|
<Header>
|
|
25
|
-
<
|
|
26
|
-
<
|
|
25
|
+
<HeaderContent>
|
|
26
|
+
<HeaderSection>
|
|
27
27
|
<GovGRLogo />
|
|
28
28
|
{notHome && (
|
|
29
29
|
<>
|
|
30
30
|
<HeaderTitle>{t('app.name')}</HeaderTitle>
|
|
31
31
|
</>
|
|
32
32
|
)}
|
|
33
|
-
</
|
|
34
|
-
</
|
|
33
|
+
</HeaderSection>
|
|
34
|
+
</HeaderContent>
|
|
35
35
|
</Header>
|
|
36
36
|
</Top>
|
|
37
37
|
<Content>{children}</Content>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTranslation } from '@digigov/ui/i18n';
|
|
3
3
|
import { Main, Side } from '@digigov/ui/layouts/Basic';
|
|
4
|
-
import
|
|
4
|
+
import PageTitleContainer, { PageTitleHeading } from '@digigov/ui/app/PageTitleContainer';
|
|
5
5
|
import CallToAction from '@digigov/ui/form/Button/CallToAction';
|
|
6
6
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
7
7
|
|
|
@@ -12,9 +12,9 @@ const Home: React.FC = () => {
|
|
|
12
12
|
return (
|
|
13
13
|
<CommonLayout>
|
|
14
14
|
<Main>
|
|
15
|
-
<
|
|
15
|
+
<PageTitleContainer>
|
|
16
16
|
<PageTitleHeading>{t('app.name')}</PageTitleHeading>
|
|
17
|
-
</
|
|
17
|
+
</PageTitleContainer>
|
|
18
18
|
<Paragraph>{t('app.intro_text')}</Paragraph>
|
|
19
19
|
<CallToAction href="/login">{t('button.start')}</CallToAction>
|
|
20
20
|
</Main>
|