fix: challenges and dockerfile
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 55s

This commit is contained in:
mike 2024-10-25 03:58:18 -04:00
parent a530816cd6
commit 4dd6a09b3f
3 changed files with 26 additions and 15 deletions

View file

@ -22,6 +22,8 @@ FROM nginx:alpine
# Copy the built application from the previous stage # Copy the built application from the previous stage
COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port 80 # Expose port 80
EXPOSE 80 EXPOSE 80

9
nginx.conf Normal file
View file

@ -0,0 +1,9 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
}

View file

@ -1,38 +1,38 @@
const challenges = [ const challenges = [
{ {
title: 'Lack of Representation', title: 'Lack of Representation',
content: 'Seeing few role models from similar backgrounds can discourage individuals from pursuing tech careers.', content: 'The tech industry often lacks visible role models from similar backgrounds, which can deter individuals from pursuing careers in this field.',
solution: 'Mentorship Programs: Connect with experienced professionals who can provide guidance, support, and networking opportunities.', solution: 'Mentorship Programs: Seek out mentorship opportunities with experienced professionals who understand your journey and can offer guidance, support, and valuable networking connections.',
}, },
{ {
title: 'Implicit Bias and Discrimination', title: 'Implicit Bias and Discrimination',
content: 'Unconscious biases and discriminatory practices can hinder opportunities for minorities.', content: 'Unconscious biases and systemic discrimination can create barriers to entry and advancement for minorities in tech.',
solution: 'Address Impostor Syndrome: Challenge negative thoughts and focus on your accomplishments. Seek support from mentors or therapy.', solution: 'Empower Yourself: Develop strategies to counteract bias, such as documenting your achievements and seeking inclusive workplaces that prioritize diversity.',
}, },
{ {
title: 'Limited Access to Education and Resources', title: 'Limited Access to Education and Resources',
content: 'Lack of exposure to technology and programming education, especially in underserved communities.', content: 'Many underserved communities lack adequate exposure to technology and programming education, which can limit opportunities for entry into the tech field.',
solution: 'Educational Initiatives: Seek out free or low-cost coding courses, bootcamps, and workshops.', solution: 'Educational Initiatives: Take advantage of free or affordable coding bootcamps, online courses, and community workshops that focus on tech skills.',
}, },
{ {
title: 'Financial Barriers', title: 'Financial Barriers',
content: 'Cost of education, certifications, and living expenses can be prohibitive.', content: 'The high costs of education, certification programs, and living expenses can pose significant challenges.',
solution: 'Showcase Your Skills: Build a strong portfolio of projects to demonstrate your abilities and land interviews.', solution: 'Scholarship and Grant Research: Look for scholarships and grants specifically aimed at minorities in tech. Building a strong portfolio can also demonstrate your skills to potential employers, making you a more competitive candidate.',
}, },
{ {
title: 'Impostor Syndrome', title: 'Impostor Syndrome',
content: "Doubting one's abilities and feeling like an outsider in the tech industry.", content: 'Many individuals feel inadequate or fear being exposed as a fraud, which can hinder confidence and career advancement.',
solution: 'Address Impostor Syndrome: Challenge negative thoughts and focus on your accomplishments. Seek support from mentors or therapy.', solution: 'Build Confidence: Share your experiences with peers or mentors, and focus on celebrating your achievements, no matter how small. Joining support groups can also be beneficial.',
}, },
{ {
title: 'Networking Challenges', title: 'Networking Challenges',
content: 'Building relationships in the tech community can feel overwhelming, especially when youre just starting out. However, connections are key to unlocking opportunities and finding mentors who can help guide your journey.', content: 'Establishing connections within the tech community can feel daunting, especially for newcomers. However, strong professional relationships are essential for mentorship and job opportunities.',
solution: 'Networking Events: Make a concerted effort to attend industry conferences, meetups, and hackathons. These spaces are not only great for learning but also for meeting like-minded individuals and industry leaders who can expand your professional network and open doors for you.', solution: 'Engage in Networking Events: Actively participate in tech meetups, industry conferences, and hackathons. These events are excellent for learning and for building connections with others who share your passion.',
}, },
{ {
title: 'Work-Life Balance', title: 'Work-Life Balance',
content: 'Navigating a demanding tech career while juggling personal and family responsibilities can be tough. Prioritizing your well-being is essential for long-term success and happiness.', content: 'Balancing the demands of a tech career with personal and family responsibilities can be challenging, impacting overall well-being.',
solution: 'Prioritize Self-Care: Make self-care a non-negotiable part of your routine. Invest time in activities that rejuvenate you, whether its exercise, meditation, or spending quality time with loved ones. A balanced life enhances your productivity and creativity in the tech world.', solution: 'Prioritize Self-Care: Establish routines that include time for rest and personal interests. Engaging in hobbies, exercise, and family time can enhance your mental health and productivity in your tech career.',
}, },
]; ];