create-digigov-app 0.8.11 → 1.0.0-00643e1d
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 +4 -4
- package/template/_package.json +4 -6
- package/template/javascript/src/components/CommonLayout.js +1 -1
- 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 +5 -5
- package/template/typescript/src/components/CommonLayout.tsx +5 -5
- 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 +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-digigov-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-00643e1d",
|
|
4
4
|
"description": "Create a DigiGOV App with ease",
|
|
5
5
|
"bin": "cli.js",
|
|
6
6
|
"files": [
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"publint": "0.1.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@digigov/cli": "0.
|
|
31
|
-
"@digigov/cli-lint": "0.
|
|
32
|
-
"@digigov/cli-test": "0.
|
|
30
|
+
"@digigov/cli": "1.0.0-00643e1d",
|
|
31
|
+
"@digigov/cli-lint": "1.0.0-00643e1d",
|
|
32
|
+
"@digigov/cli-test": "1.0.0-00643e1d",
|
|
33
33
|
"typescript": "4.2.3",
|
|
34
34
|
"publint": "0.1.8"
|
|
35
35
|
},
|
package/template/_package.json
CHANGED
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
"export": "digigov app export"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@material-ui/core": "4.11.3",
|
|
15
|
-
"@material-ui/styles": "^4.9.0",
|
|
16
|
-
"@material-ui/icons": "4.11.2",
|
|
17
|
-
"@material-ui/lab": "^4.0.0-alpha.40",
|
|
18
14
|
"clsx": "1.1.1",
|
|
19
15
|
"i18next": "^19.1.0",
|
|
20
16
|
"next": "10.0.9",
|
|
@@ -32,8 +28,10 @@
|
|
|
32
28
|
"@types/jest": "^26.0.15",
|
|
33
29
|
"eslint": "^7.27.0",
|
|
34
30
|
"prettier": "^2.3.0",
|
|
35
|
-
"autoprefixer": "10.
|
|
31
|
+
"autoprefixer": "10.4.16",
|
|
36
32
|
"postcss": "8.4.4",
|
|
37
|
-
"
|
|
33
|
+
"postcss-js": "4.0.0",
|
|
34
|
+
"postcss-load-config": "3.1.4",
|
|
35
|
+
"tailwindcss": "3.3.5"
|
|
38
36
|
}
|
|
39
37
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
|
-
import { useTranslation } from '@digigov/ui/
|
|
3
|
+
import { useTranslation } from '@digigov/ui/i18n';
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import BasicLayout, { Top, Content, Bottom } from '@digigov/ui/layouts/Basic';
|
|
6
6
|
import Header, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useTranslation } from '@digigov/ui/
|
|
2
|
+
import { useTranslation } from '@digigov/ui/i18n';
|
|
3
3
|
import { Main, Side } from '@digigov/ui/layouts/Basic';
|
|
4
|
-
import
|
|
5
|
-
import CallToAction from '@digigov/ui/
|
|
4
|
+
import Section, { PageTitleHeading } from '@digigov/ui/app/PageTitle';
|
|
5
|
+
import CallToAction from '@digigov/ui/form/Button/CallToAction';
|
|
6
6
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
7
7
|
|
|
8
8
|
import CommonLayout from '<%= name %>/components/CommonLayout';
|
|
@@ -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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
|
-
import { useTranslation } from '@digigov/ui/
|
|
3
|
+
import { useTranslation } from '@digigov/ui/i18n';
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import BasicLayout, { Top, Content, Bottom } from '@digigov/ui/layouts/Basic';
|
|
6
6
|
import Header, {
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useTranslation } from '@digigov/ui/
|
|
2
|
+
import { useTranslation } from '@digigov/ui/i18n';
|
|
3
3
|
import { Main, Side } from '@digigov/ui/layouts/Basic';
|
|
4
|
-
import
|
|
5
|
-
import CallToAction from '@digigov/ui/
|
|
4
|
+
import PageTitleContainer, { PageTitleHeading } from '@digigov/ui/app/PageTitleContainer';
|
|
5
|
+
import CallToAction from '@digigov/ui/form/Button/CallToAction';
|
|
6
6
|
import Paragraph from '@digigov/ui/typography/Paragraph';
|
|
7
7
|
|
|
8
8
|
import CommonLayout from '<%= name %>/components/CommonLayout';
|
|
@@ -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>
|