An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
This commit is contained in:
0
web/config/postcss.config.js
Normal file → Executable file
0
web/config/postcss.config.js
Normal file → Executable file
0
web/config/tailwind.config.js
Normal file → Executable file
0
web/config/tailwind.config.js
Normal file → Executable file
0
web/jest.config.js
Normal file → Executable file
0
web/jest.config.js
Normal file → Executable file
0
web/package.json
Normal file → Executable file
0
web/package.json
Normal file → Executable file
0
web/public/README.md
Normal file → Executable file
0
web/public/README.md
Normal file → Executable file
0
web/public/favicon.png
Normal file → Executable file
0
web/public/favicon.png
Normal file → Executable file
|
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 757 B |
0
web/public/no_portrait.webp
Normal file → Executable file
0
web/public/no_portrait.webp
Normal file → Executable file
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
0
web/public/no_resume.pdf
Normal file → Executable file
0
web/public/no_resume.pdf
Normal file → Executable file
0
web/public/robots.txt
Normal file → Executable file
0
web/public/robots.txt
Normal file → Executable file
0
web/quick-lint-js.config
Normal file → Executable file
0
web/quick-lint-js.config
Normal file → Executable file
0
web/src/App.tsx
Normal file → Executable file
0
web/src/App.tsx
Normal file → Executable file
0
web/src/Routes.tsx
Normal file → Executable file
0
web/src/Routes.tsx
Normal file → Executable file
0
web/src/auth.ts
Normal file → Executable file
0
web/src/auth.ts
Normal file → Executable file
0
web/src/components/.keep
Normal file → Executable file
0
web/src/components/.keep
Normal file → Executable file
0
web/src/components/Cell/CellEmpty/CellEmpty.tsx
Normal file → Executable file
0
web/src/components/Cell/CellEmpty/CellEmpty.tsx
Normal file → Executable file
0
web/src/components/Cell/CellFailure/CellFailure.tsx
Normal file → Executable file
0
web/src/components/Cell/CellFailure/CellFailure.tsx
Normal file → Executable file
0
web/src/components/Cell/CellLoading/CellLoading.tsx
Normal file → Executable file
0
web/src/components/Cell/CellLoading/CellLoading.tsx
Normal file → Executable file
0
web/src/components/ColorPicker/ColorPicker.tsx
Normal file → Executable file
0
web/src/components/ColorPicker/ColorPicker.tsx
Normal file → Executable file
0
web/src/components/ContactCard/ContactCard/ContactCard.tsx
Normal file → Executable file
0
web/src/components/ContactCard/ContactCard/ContactCard.tsx
Normal file → Executable file
0
web/src/components/ContactCard/ContactCardCell/ContactCardCell.tsx
Normal file → Executable file
0
web/src/components/ContactCard/ContactCardCell/ContactCardCell.tsx
Normal file → Executable file
0
web/src/components/DatePicker/DatePicker.tsx
Normal file → Executable file
0
web/src/components/DatePicker/DatePicker.tsx
Normal file → Executable file
0
web/src/components/FormTextList/FormTextList.tsx
Normal file → Executable file
0
web/src/components/FormTextList/FormTextList.tsx
Normal file → Executable file
5
web/src/components/PDF/PDF.tsx
Normal file → Executable file
5
web/src/components/PDF/PDF.tsx
Normal file → Executable file
@@ -23,13 +23,18 @@ const PDF = ({ url, form = false }: PDFProps) => {
|
||||
<iframe
|
||||
src={url}
|
||||
title="PDF"
|
||||
content="application/pdf"
|
||||
style={{
|
||||
width: 'calc(100vw - 1rem)',
|
||||
height: `calc(100vh - ${form ? '8.5rem' : '6rem'})`,
|
||||
}}
|
||||
allowFullScreen
|
||||
className="rounded-xl"
|
||||
onError={() => setError(true)}
|
||||
onLoad={() => setError(false)}
|
||||
sandbox="allow-same-origin allow-scripts allow-forms allow-popups"
|
||||
referrerPolicy="no-referrer-when-downgrade"
|
||||
loading="lazy"
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
0
web/src/components/Portrait/PortraitCell/PortraitCell.tsx
Normal file → Executable file
0
web/src/components/Portrait/PortraitCell/PortraitCell.tsx
Normal file → Executable file
0
web/src/components/Portrait/PortraitForm/PortraitForm.tsx
Normal file → Executable file
0
web/src/components/Portrait/PortraitForm/PortraitForm.tsx
Normal file → Executable file
0
web/src/components/Project/AdminProject/AdminProject.tsx
Normal file → Executable file
0
web/src/components/Project/AdminProject/AdminProject.tsx
Normal file → Executable file
0
web/src/components/Project/AdminProjectCell/AdminProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/AdminProjectCell/AdminProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/EditProjectCell/EditProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/EditProjectCell/EditProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/NewProject/NewProject.tsx
Normal file → Executable file
0
web/src/components/Project/NewProject/NewProject.tsx
Normal file → Executable file
0
web/src/components/Project/Project/Project.tsx
Normal file → Executable file
0
web/src/components/Project/Project/Project.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectCell/ProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectCell/ProjectCell.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectForm/ProjectForm.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectForm/ProjectForm.tsx
Normal file → Executable file
0
web/src/components/Project/Projects/Projects.tsx
Normal file → Executable file
0
web/src/components/Project/Projects/Projects.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectsCell/ProjectsCell.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectsCell/ProjectsCell.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectsShowcaseCell/ProjectsShowcaseCell.tsx
Normal file → Executable file
0
web/src/components/Project/ProjectsShowcaseCell/ProjectsShowcaseCell.tsx
Normal file → Executable file
0
web/src/components/ProjectsShowcaseList/ProjectsShowcaseList.tsx
Normal file → Executable file
0
web/src/components/ProjectsShowcaseList/ProjectsShowcaseList.tsx
Normal file → Executable file
0
web/src/components/Resume/AdminResumeCell/AdminResumeCell.tsx
Normal file → Executable file
0
web/src/components/Resume/AdminResumeCell/AdminResumeCell.tsx
Normal file → Executable file
0
web/src/components/Resume/Resume/Resume.tsx
Normal file → Executable file
0
web/src/components/Resume/Resume/Resume.tsx
Normal file → Executable file
0
web/src/components/Resume/ResumeCell/ResumeCell.tsx
Normal file → Executable file
0
web/src/components/Resume/ResumeCell/ResumeCell.tsx
Normal file → Executable file
0
web/src/components/Resume/ResumeForm/ResumeForm.tsx
Normal file → Executable file
0
web/src/components/Resume/ResumeForm/ResumeForm.tsx
Normal file → Executable file
0
web/src/components/RichTextEditor/RichTextEditor.tsx
Normal file → Executable file
0
web/src/components/RichTextEditor/RichTextEditor.tsx
Normal file → Executable file
0
web/src/components/Social/EditSocialCell/EditSocialCell.tsx
Normal file → Executable file
0
web/src/components/Social/EditSocialCell/EditSocialCell.tsx
Normal file → Executable file
0
web/src/components/Social/NewSocial/NewSocial.tsx
Normal file → Executable file
0
web/src/components/Social/NewSocial/NewSocial.tsx
Normal file → Executable file
0
web/src/components/Social/Social/Social.tsx
Normal file → Executable file
0
web/src/components/Social/Social/Social.tsx
Normal file → Executable file
0
web/src/components/Social/SocialCell/SocialCell.tsx
Normal file → Executable file
0
web/src/components/Social/SocialCell/SocialCell.tsx
Normal file → Executable file
0
web/src/components/Social/SocialForm/SocialForm.tsx
Normal file → Executable file
0
web/src/components/Social/SocialForm/SocialForm.tsx
Normal file → Executable file
0
web/src/components/Social/SocialLinks/SocialLinks.tsx
Normal file → Executable file
0
web/src/components/Social/SocialLinks/SocialLinks.tsx
Normal file → Executable file
0
web/src/components/Social/Socials/Socials.tsx
Normal file → Executable file
0
web/src/components/Social/Socials/Socials.tsx
Normal file → Executable file
0
web/src/components/Social/SocialsCell/SocialsCell.tsx
Normal file → Executable file
0
web/src/components/Social/SocialsCell/SocialsCell.tsx
Normal file → Executable file
0
web/src/components/Tag/EditTagCell/EditTagCell.tsx
Normal file → Executable file
0
web/src/components/Tag/EditTagCell/EditTagCell.tsx
Normal file → Executable file
0
web/src/components/Tag/NewTag/NewTag.tsx
Normal file → Executable file
0
web/src/components/Tag/NewTag/NewTag.tsx
Normal file → Executable file
0
web/src/components/Tag/Tag/Tag.tsx
Normal file → Executable file
0
web/src/components/Tag/Tag/Tag.tsx
Normal file → Executable file
0
web/src/components/Tag/TagCell/TagCell.tsx
Normal file → Executable file
0
web/src/components/Tag/TagCell/TagCell.tsx
Normal file → Executable file
0
web/src/components/Tag/TagForm/TagForm.tsx
Normal file → Executable file
0
web/src/components/Tag/TagForm/TagForm.tsx
Normal file → Executable file
0
web/src/components/Tag/Tags/Tags.tsx
Normal file → Executable file
0
web/src/components/Tag/Tags/Tags.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsCell/TagsCell.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsCell/TagsCell.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsSelector/TagsSelector.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsSelector/TagsSelector.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsSelectorCell/TagsSelectorCell.tsx
Normal file → Executable file
0
web/src/components/Tag/TagsSelectorCell/TagsSelectorCell.tsx
Normal file → Executable file
0
web/src/components/ThemeToggle/ThemeToggle.tsx
Normal file → Executable file
0
web/src/components/ThemeToggle/ThemeToggle.tsx
Normal file → Executable file
0
web/src/components/Title/AdminTitlesCell/AdminTitlesCell.tsx
Normal file → Executable file
0
web/src/components/Title/AdminTitlesCell/AdminTitlesCell.tsx
Normal file → Executable file
0
web/src/components/Title/Titles/Titles.tsx
Normal file → Executable file
0
web/src/components/Title/Titles/Titles.tsx
Normal file → Executable file
0
web/src/components/Title/TitlesCell/TitlesCell.tsx
Normal file → Executable file
0
web/src/components/Title/TitlesCell/TitlesCell.tsx
Normal file → Executable file
0
web/src/components/Title/TitlesForm/TitlesForm.tsx
Normal file → Executable file
0
web/src/components/Title/TitlesForm/TitlesForm.tsx
Normal file → Executable file
0
web/src/components/ToastNotification/ToastNotification.tsx
Normal file → Executable file
0
web/src/components/ToastNotification/ToastNotification.tsx
Normal file → Executable file
0
web/src/components/ToasterWrapper/ToasterWrapper.tsx
Normal file → Executable file
0
web/src/components/ToasterWrapper/ToasterWrapper.tsx
Normal file → Executable file
0
web/src/components/Uploader/Uploader.tsx
Normal file → Executable file
0
web/src/components/Uploader/Uploader.tsx
Normal file → Executable file
0
web/src/entry.client.tsx
Normal file → Executable file
0
web/src/entry.client.tsx
Normal file → Executable file
0
web/src/index.css
Normal file → Executable file
0
web/src/index.css
Normal file → Executable file
0
web/src/index.html
Normal file → Executable file
0
web/src/index.html
Normal file → Executable file
0
web/src/layouts/.keep
Normal file → Executable file
0
web/src/layouts/.keep
Normal file → Executable file
0
web/src/layouts/AccountbarLayout/AccountbarLayout.tsx
Normal file → Executable file
0
web/src/layouts/AccountbarLayout/AccountbarLayout.tsx
Normal file → Executable file
0
web/src/layouts/NavbarLayout/NavbarLayout.tsx
Normal file → Executable file
0
web/src/layouts/NavbarLayout/NavbarLayout.tsx
Normal file → Executable file
0
web/src/layouts/ScaffoldLayout/ScaffoldLayout.tsx
Normal file → Executable file
0
web/src/layouts/ScaffoldLayout/ScaffoldLayout.tsx
Normal file → Executable file
0
web/src/lib/color.tsx
Normal file → Executable file
0
web/src/lib/color.tsx
Normal file → Executable file
0
web/src/lib/formatters.tsx
Normal file → Executable file
0
web/src/lib/formatters.tsx
Normal file → Executable file
0
web/src/lib/handle.tsx
Normal file → Executable file
0
web/src/lib/handle.tsx
Normal file → Executable file
0
web/src/lib/tus.ts
Normal file → Executable file
0
web/src/lib/tus.ts
Normal file → Executable file
0
web/src/pages/ContactPage/ContactPage.tsx
Normal file → Executable file
0
web/src/pages/ContactPage/ContactPage.tsx
Normal file → Executable file
0
web/src/pages/FatalErrorPage/FatalErrorPage.tsx
Normal file → Executable file
0
web/src/pages/FatalErrorPage/FatalErrorPage.tsx
Normal file → Executable file
0
web/src/pages/ForgotPasswordPage/ForgotPasswordPage.tsx
Normal file → Executable file
0
web/src/pages/ForgotPasswordPage/ForgotPasswordPage.tsx
Normal file → Executable file
0
web/src/pages/HomePage/HomePage.tsx
Normal file → Executable file
0
web/src/pages/HomePage/HomePage.tsx
Normal file → Executable file
0
web/src/pages/LoginPage/LoginPage.tsx
Normal file → Executable file
0
web/src/pages/LoginPage/LoginPage.tsx
Normal file → Executable file
0
web/src/pages/NotFoundPage/NotFoundPage.tsx
Normal file → Executable file
0
web/src/pages/NotFoundPage/NotFoundPage.tsx
Normal file → Executable file
0
web/src/pages/Portrait/PortraitPage/PortraitPage.tsx
Normal file → Executable file
0
web/src/pages/Portrait/PortraitPage/PortraitPage.tsx
Normal file → Executable file
0
web/src/pages/Project/AdminProjectPage/AdminProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/AdminProjectPage/AdminProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/AdminProjectsPage/AdminProjectsPage.tsx
Normal file → Executable file
0
web/src/pages/Project/AdminProjectsPage/AdminProjectsPage.tsx
Normal file → Executable file
0
web/src/pages/Project/EditProjectPage/EditProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/EditProjectPage/EditProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/NewProjectPage/NewProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/NewProjectPage/NewProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/ProjectPage/ProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/ProjectPage/ProjectPage.tsx
Normal file → Executable file
0
web/src/pages/Project/ProjectsPage/ProjectsPage.tsx
Normal file → Executable file
0
web/src/pages/Project/ProjectsPage/ProjectsPage.tsx
Normal file → Executable file
0
web/src/pages/ResetPasswordPage/ResetPasswordPage.tsx
Normal file → Executable file
0
web/src/pages/ResetPasswordPage/ResetPasswordPage.tsx
Normal file → Executable file
0
web/src/pages/Resume/AdminResumePage/AdminResumePage.tsx
Normal file → Executable file
0
web/src/pages/Resume/AdminResumePage/AdminResumePage.tsx
Normal file → Executable file
0
web/src/pages/Resume/ResumePage/ResumePage.tsx
Normal file → Executable file
0
web/src/pages/Resume/ResumePage/ResumePage.tsx
Normal file → Executable file
0
web/src/pages/Social/EditSocialPage/EditSocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/EditSocialPage/EditSocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/NewSocialPage/NewSocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/NewSocialPage/NewSocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/SocialPage/SocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/SocialPage/SocialPage.tsx
Normal file → Executable file
0
web/src/pages/Social/SocialsPage/SocialsPage.tsx
Normal file → Executable file
0
web/src/pages/Social/SocialsPage/SocialsPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/EditTagPage/EditTagPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/EditTagPage/EditTagPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/NewTagPage/NewTagPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/NewTagPage/NewTagPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/TagPage/TagPage.tsx
Normal file → Executable file
0
web/src/pages/Tag/TagPage/TagPage.tsx
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user