Avi
Avi
Explore posts from servers
KPCKevin Powell - Community
Created by clevermissfox on 9/22/2024 in #back-end
resources for server side auth
I think he was looking for an example tutorial that follows best practices I'm currently working on a Chrome extension project where I introduce authentication and user management via Firebase and yet this is the first time I'm attempting this There will be lots of steps before going to production, including consulting Firebase expert(s), but it would be very nice if I could just find a tutorial thus follows the best practices from the get go
16 replies
KPCKevin Powell - Community
Created by Avi on 6/2/2024 in #back-end
Firebase staging help
Eventually I figured out a solution: https://stackoverflow.com/a/78593025/8309806
2 replies
KPCKevin Powell - Community
Created by Avi on 4/20/2024 in #front-end
Making an element take 100% height and scrollable
A friend helped me solve it and the solution was setting the parent as display: flex; flex-direction: column and give the list min-height: 0
6 replies
KPCKevin Powell - Community
Created by Avi on 4/20/2024 in #front-end
Making an element take 100% height and scrollable
Funny enough, this sketch actually works, but in my project it doesn't for some reason (although the HTML structure in my project is not you exactly the same) https://codepen.io/avi12641/pen/wvZQpNR
6 replies
KPCKevin Powell - Community
Created by Avi on 1/10/2024 in #front-end
Dynamic max-height
The list item height is always 80px and the list's max height is 130px Basically, in the initial state the list is 80px, and when expanding, it should expand up to 130px
2 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
No description
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
@MarkBoots Thanks so much!
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
I eventually figured it out:
$option-count: 3;
$padding: 6px;

.switch-handle {
position: absolute;
z-index: -1;
width: calc((100% - ($option-count - 1) * $gap) / $option-count + $padding);
aspect-ratio: 1;
border-radius: 50%;
background: var(--switch-theme-thumb-color);
pointer-events: none;
transition: left 0.4s ease-in-out;
}

@for $i from 0 to $option-count {
.theme-#{$i}:checked ~ .switch-handle {
left: calc(#{$i} * (100% / $option-count) - $padding / 2);
}
}
$option-count: 3;
$padding: 6px;

.switch-handle {
position: absolute;
z-index: -1;
width: calc((100% - ($option-count - 1) * $gap) / $option-count + $padding);
aspect-ratio: 1;
border-radius: 50%;
background: var(--switch-theme-thumb-color);
pointer-events: none;
transition: left 0.4s ease-in-out;
}

@for $i from 0 to $option-count {
.theme-#{$i}:checked ~ .switch-handle {
left: calc(#{$i} * (100% / $option-count) - $padding / 2);
}
}
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
For some reason the SCSS doesn't get compiled https://codepen.io/avi12641/pen/mdaYmBP
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
No description
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
That worked, how'd you figure it out? Also, I do need to extent the circle padding
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
I could try
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
Oh
15 replies
KPCKevin Powell - Community
Created by Avi on 10/15/2023 in #front-end
Help with math in SCSS
Wdym a live example? A video?
15 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
"Check" as in "I'll watch tutorials about it that explain what it is"
25 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
Ok, I'll check out Supabase, thanks!
25 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
Tried PHP in the past, didn't try Laravel
25 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
I dislike PHP though, I tried it in the past
25 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
So basically, what you're suggesting for learning purposes is to just make a smaller project that will not go into production to get my feet wet, and later on to attempt to get a backend dev proficient in backend infrastructure, databases, authentication, payment processing and security, so that I know he's done a great job
25 replies
KPCKevin Powell - Community
Created by Avi on 6/23/2023 in #back-end
How to choose a backend stack
I mean, it's not like "I believe" I will be able to generate revenue The current version of the extension, which is far more basic than what I plan out, has 6000+ users, and once my project will be ready I will use another Chrome extension of mine with 100,000+ users to promote it
25 replies