Skip to content

Commit

Permalink
Feat/revised template (#72)
Browse files Browse the repository at this point in the history
* add font to pdf

* page two for the new template

* new template for the first page

* update font style

* set save to open new tab

* remove unused files and styles

* third page

* fourth page vaccination

* fourth page test

* revised images

* forth page for recovery

* revised dotted line

Co-authored-by: Gordon Grund <[email protected]>
  • Loading branch information
fOppenheimer and ggrund-tsi authored May 20, 2021
1 parent 2b4bfc6 commit ec58f37
Show file tree
Hide file tree
Showing 29 changed files with 544 additions and 601 deletions.
320 changes: 82 additions & 238 deletions src/assets/SCSS/custom.scss

Large diffs are not rendered by default.

Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Bold.eot
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Bold.woff
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Bold.woff2
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Regular.eot
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Regular.woff
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/TeleNeoWeb-Regular.woff2
Binary file not shown.
7 changes: 7 additions & 0 deletions src/assets/SCSS/fonts/calibri-bold.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/assets/SCSS/fonts/calibri-bolditalic.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/assets/SCSS/fonts/calibri-italic.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/assets/SCSS/fonts/calibri-normal.js

Large diffs are not rendered by default.

Binary file removed src/assets/SCSS/fonts/calibri.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/calibrib.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/calibrii.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/calibril.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/calibrili.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/calibriz.ttf
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/telegrotesknext-bold.woff
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/telegrotesknext-regular.woff
Binary file not shown.
Binary file removed src/assets/SCSS/fonts/telegrotesknext-thin.woff
Binary file not shown.
33 changes: 32 additions & 1 deletion src/assets/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,36 @@
"first-positive-test-date": "First Positive Test Result",
"recovery-country": "Country of Test",
"cert-valid-from-to": "Certificate Valid From - To",
"pdfSurname": "Surname(s) and forename(s)"
"pdfSurname": "Surname(s) and forename(s)",
"pdfDateOfBirth": "Date of birth",
"pdfCi":"Unique certificate identifier",
"pdfGreenCertificate" : "DIGITAL GREEN CERTIFICATE",
"pdfMemberPlaceholder" : "MEMBER STATE PLACEHOLDER",
"pdfMemberPlaceholderInfo" : "(information on issuing entity, national COVID-19 information etc. – no additional personal data).",
"pdfInfoText" : "This certificate is not a travel document. The scientific evidence on COVID-19 vaccination, testing and recovery continues to evolve, also in view of new variants of concern of the virus. Before traveling, please check the applicable public health measures and related restrictions applied at the point of destination.",
"pdfRelevantInformation" : "Relevant information can be found here:",
"pdfInfoURL" : "https://reopen.europa.eu/en",
"pdfHeaderVaccination" : "VACCINATION CERTIFICATE",
"pdfDisease" : "Disease or agent targeted",
"pdfVaccineProphylaxis" : "Vaccine/prophylaxis",
"pdfVaccineMedicalProduct" : "Vaccine medicinal product",
"pdfVaccineManufacturer" : "Vaccine marketing authorisation holder or manufacturer",
"pdfNumberOfDoses" : "Number in a series of vaccinations/doses and the overall number of doses in the series",
"pdfDateOfVaccination" : "Date of vaccination",
"pdfMemberStateOfVaccination" : "Member State of vaccination",
"pdfCertificateIssuer" : "Certificate issuer",
"pdfHeaderTest" : "TEST CERTIFICATE",
"pdfTypeOfTest" : "Type of test",
"pdfTestName" : "Test name (optional for NAAT)",
"pdfTestManufacturer" : "Test manufacturer (optional for NAAT)",
"pdfDateSampleCollection" : "Date and time of the test sample collection",
"pdfDateTestResult" : "Date and time of the test result production (optional for RAT)",
"pdfTestResult" : "Result of the test",
"pdfTestingCentre" : "Testing centre or facility",
"pdfStateOfVaccination" : "Member State of vaccination",
"pdfHeaderRecovery" : "CERTIFICATE OF RECOVERY",
"pdfDatePositiveTestResult" : "Date of first positive test result",
"pdfStateOfTest" : "Member State of test",
"pdfValidFrom" : "Certificate valid from",
"pdfValidTo" : "Certificate valid until (not more than 180 days after the date of first positive test result)"
}
28 changes: 27 additions & 1 deletion src/assets/i18n/fr/translation.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
{
"pdfSurname": "Nom(s) de famille et prénom(s)"
"pdfSurname": "Nom(s) de famille et prénom(s)",
"pdfDateOfBirth": "Date de naissance",
"pdfCi": "Identifiant unique du certificat",
"pdfGreenCertificate": "CERTIFICAT VERT NUMÉRIQUE",
"pdfHeaderVaccination": "CERTIFICAT DE VACCINATION",
"pdfDisease": "Maladie ou agent ciblé",
"pdfVaccineProphylaxis": "Vaccin/prophylaxie",
"pdfVaccineMedicalProduct": "Médicament vaccinal",
"pdfVaccineManufacturer": "Fabricant ou titulaire de l’autorisation de mise sur le marché du vaccin",
"pdfNumberOfDoses": "Nombre dans une série de vaccins/doses",
"pdfDateOfVaccination": "Date of vaccination",
"pdfMemberStateOfVaccination" : "État membre de vaccination",
"pdfCertificateIssuer" : "Émetteur du certificat",
"pdfHeaderTest" : "CERTIFICAT DE TEST",
"pdfTypeOfTest" : "Type de test",
"pdfTestName" : "Nom du test (facultatif pour TAAN)",
"pdfTestManufacturer" : "Fabricant du test (facultatif pour un test TAAN)",
"pdfDateSampleCollection" : "Date et heure du prélèvement de l’échantillon",
"pdfDateTestResult" : "Date et heure de la production des résultats du test",
"pdfTestResult" : "Résultat du test",
"pdfTestingCentre" : "Centre ou installation de test",
"pdfStateOfVaccination" : "État membre de vaccination",
"pdfHeaderRecovery" : "CERTIFICATE DE RÉTABLISSEMENT",
"pdfDatePositiveTestResult" : "Date du premier résultat de test posifif",
"pdfStateOfTest" : "État membre du test",
"pdfValidFrom" : "Certificat valable à partir du",
"pdfValidTo" : "Certificat valable jusqu’au (180 jours au maximum après la date du premier résultat positif)"
}
Binary file added src/assets/images/card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/eu_flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/error-page.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const ErrorPage = (props: any) => {
{/*
content area with process number input and radios
*/}
<Modal.Body className='py-0 bg-light'>
<Modal.Body className='py-0'>
<hr />
<p className='text-center'>
<span className='font-weight-bold'>{t('translation:serverError')}</span>
Expand Down
19 changes: 0 additions & 19 deletions src/components/header.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,6 @@ const Header = (props: any) => {
<Container className='bg-white px-0 position-relative'>
{/* simple header with logo */}
<Image src={EULogo} className='eu-logo' />
{/* user icon and user name */}
{/* <Row id='qt-header'>
<Image src={dgcaIwLogo} onClick={navigation!.toLanding} />
<span className='header-font my-auto mx-1'>{t('translation:title')}</span>
</Row>
<Navbar id='user-container' >
<NavDropdown
className="nav-dropdown-title"
title={userName}
id="responsive-navbar-nav"
>
<Navbar.Brand
className='mx-0 dropdown-item'
onClick={handleLogout}
>
{t('translation:logout')}
</Navbar.Brand>
</NavDropdown>
</Navbar> */}
</Container>
<Container className='d-flex bg-gray-1 px-0 position-relative'>
<span className='header-title'>{t('translation:title')}</span>
Expand Down
Loading

0 comments on commit ec58f37

Please sign in to comment.