ZeR0ByTe
ZeR0ByTe
KPCKevin Powell - Community
Created by ZeR0ByTe on 7/2/2023 in #front-end
How can I center correctly my text or remove th "empty space" of my text?
20 replies
KPCKevin Powell - Community
Created by ZeR0ByTe on 6/20/2023 in #front-end
Angular: How to use local json with my content/assets?
Hi, maybe is very basic question but I don't know. I had a project in React and I was trying to do the same in Angular. My JSON is like this: //Import CV File import cvES from "../assets/files/CV.pdf"; //Import Background Header import bgHeader from "../assets/img/bg-header.jpg"; const allContentES = { header: { name: "asdsda.", surname: "asdasdasd", profession: "Web Developer", location: "Argentina", mobile: "(+34) 123 456 789", urlCV: cvES, bgHeader: bgHeader, social: [ { name: "Instagram", url: "https://www.instagram.com/blablabla", }, { name: "LinkedIn", url: "https://www.linkedin.com/in/blablabla", }, { name: "GitHub", url: "https://www.github.com/blablabla", }, ], textDownloadCV: "asdasd", titleTimeline: "asdasd", language: "Change to English", }, I have my assets in the correct path and mi files but always I have the same error that my path is incorrect. Cannot find module "../../assets/files/CV.pdf" and its corresponding type declarations What I'm doing wrong? Should I need do something in angular.json or do it different? Thanks!
2 replies
KPCKevin Powell - Community
Created by ZeR0ByTe on 5/11/2023 in #ui-ux
Accessibility and Colors
15 replies
KPCKevin Powell - Community
Created by ZeR0ByTe on 4/25/2023 in #ui-ux
Any Idea for my background or improve design?
19 replies
KPCKevin Powell - Community
Created by ZeR0ByTe on 4/11/2023 in #front-end
What is the best unit to use in Mediaqueries?
I would like to know what do you suggest to mediaqueries? I'm using this, its ok??? $breakpoint-xxs: 19.999rem; // 319,98px $breakpoint-xs: 35.999rem; // 575,98px $breakpoint-sm: 47.999rem; // 767,98px $breakpoint-md: 59.999rem; // 959,98px $breakpoint-lg: 74.999rem; // 1199,98px $breakpoint-xl: 87.499rem; // 1399,98px But I don't know If It's better use EM or PX directly. I never use EM but I read this article and now I'm more confused https://zellwk.com/blog/media-query-units/ Thanks
18 replies