mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 20:23:12 -04:00
pdf added
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,6 +14,7 @@
|
|||||||
*.XLSX
|
*.XLSX
|
||||||
|
|
||||||
## Non user files allowed to be commited
|
## Non user files allowed to be commited
|
||||||
|
!app/assets/pdf/tcpa_overview.pdf
|
||||||
!tests/test_pdf_files/no_eof_marker.pdf
|
!tests/test_pdf_files/no_eof_marker.pdf
|
||||||
!tests/test_pdf_files/multi_page_pdf.pdf
|
!tests/test_pdf_files/multi_page_pdf.pdf
|
||||||
!tests/test_pdf_files/big.pdf
|
!tests/test_pdf_files/big.pdf
|
||||||
|
|||||||
BIN
app/assets/pdf/tcpa_overview.pdf
Normal file
BIN
app/assets/pdf/tcpa_overview.pdf
Normal file
Binary file not shown.
@@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url_link":
|
"url_link":
|
||||||
"images/TCPA_Overview.pdf",
|
"pdf/tcpa_overview.pdf",
|
||||||
"url_text":"Download and share our overview of the TCPA with your legal counsel",
|
"url_text":"Download and share our overview of the TCPA with your legal counsel",
|
||||||
"is_downloadable": true,
|
"is_downloadable": true,
|
||||||
"p_text": 'It provides a baseline
|
"p_text": 'It provides a baseline
|
||||||
|
|||||||
@@ -113,11 +113,19 @@ const copyImages = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Task to copy images
|
||||||
|
const copyPDF = () => {
|
||||||
|
return src(paths.src + 'pdf/**/*', { encoding: false }).pipe(
|
||||||
|
dest(paths.dist + 'pdf/')
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
// Configure USWDS paths
|
// Configure USWDS paths
|
||||||
uswds.settings.version = 3;
|
uswds.settings.version = 3;
|
||||||
uswds.paths.dist.css = paths.dist + 'css';
|
uswds.paths.dist.css = paths.dist + 'css';
|
||||||
uswds.paths.dist.js = paths.dist + 'js';
|
uswds.paths.dist.js = paths.dist + 'js';
|
||||||
uswds.paths.dist.img = paths.dist + 'img';
|
uswds.paths.dist.img = paths.dist + 'img';
|
||||||
|
uswds.paths.dist.pdf = paths.dist + 'pdf';
|
||||||
uswds.paths.dist.fonts = paths.dist + 'fonts';
|
uswds.paths.dist.fonts = paths.dist + 'fonts';
|
||||||
uswds.paths.dist.theme = paths.src + 'sass/uswds';
|
uswds.paths.dist.theme = paths.src + 'sass/uswds';
|
||||||
|
|
||||||
@@ -164,6 +172,7 @@ exports.default = series(
|
|||||||
copyGtmHead,
|
copyGtmHead,
|
||||||
copySetTimezone,
|
copySetTimezone,
|
||||||
copyImages,
|
copyImages,
|
||||||
|
copyPDF,
|
||||||
copyAssets
|
copyAssets
|
||||||
);
|
);
|
||||||
exports.backstopTest = backstopTest;
|
exports.backstopTest = backstopTest;
|
||||||
|
|||||||
Reference in New Issue
Block a user