Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disclaimer for payment and plans created, message added into financia… #2208

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 44 additions & 25 deletions src/components/PricesAndPayment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ const PricingCard = ({
>
{scholarship}
</Paragraph>
<Paragraph color={Colors.black} textAlign="left">
{payment_time}
</Paragraph>
<Paragraph
color={Colors.black}
textAlign="left"
dangerouslySetInnerHTML={{ __html: payment_time }}
/>
</Div>
</Div>
<Div className="price-container" display="block">
Expand Down Expand Up @@ -240,9 +242,8 @@ const PricingCard = ({
marginTop: "21px",
display: "block",
}}
to={`${info.apply_button.link}${
selectedPlan ? `?utm_plan=${selectedPlan}` : ""
}`}
to={`${info.apply_button.link}${selectedPlan ? `?utm_plan=${selectedPlan}` : ""
}`}
>
<Button
variant="full"
Expand Down Expand Up @@ -295,7 +296,7 @@ const ChartSection = ({ info, currentLocation }) => {
width="100%"
width_xs="300px"
margin="auto"
// height="256px"
// height="256px"
>
<Icon icon="payments_chart" style={{ margin: "auto" }} />
</Div>
Expand Down Expand Up @@ -418,6 +419,7 @@ const PricesAndPayment = (props) => {
offer
job_guarantee_price
bullets
extra_disclaimer
icons
}
fields {
Expand Down Expand Up @@ -473,15 +475,15 @@ const PricesAndPayment = (props) => {
const programs = !Array.isArray(props.programs)
? []
: props.programs
.filter(
({ node }) =>
!["unlisted", "hidden"].includes(node.meta_info.visibility) &&
node.meta_info.show_in_apply
)
.map(({ node }) => ({
label: node.apply_form.label,
value: node.meta_info.bc_slug,
}));
.filter(
({ node }) =>
!["unlisted", "hidden"].includes(node.meta_info.visibility) &&
node.meta_info.show_in_apply
)
.map(({ node }) => ({
label: node.apply_form.label,
value: node.meta_info.bc_slug,
}));

const getAvailablePlans = () => {
const currentPlans = getCurrentPlans();
Expand Down Expand Up @@ -860,7 +862,7 @@ const PricesAndPayment = (props) => {
<hr style={{ border: "1px solid #ebebeb", width: "60%" }} />
{selected?.bullets &&
selected.bullets.map((bullet) => (
<Div alignItems="center" margin="21px 0 0 0">
<Div alignItems="center" margin="21px 0 0 0" key={bullet}>
<Icon
icon="check"
width="17px"
Expand All @@ -869,11 +871,29 @@ const PricesAndPayment = (props) => {
color={Colors.blue}
fill={Colors.blue}
/>
<Paragraph color={Colors.black} textAlign="left">
{bullet}
</Paragraph>
<Paragraph
color={Colors.black}
textAlign="left"
dangerouslySetInnerHTML={{ __html: bullet }}
/>
</Div>
))}

{/* Renderizar el texto pequeño al final si está presente */}
{selected?.extra_disclaimer && (
<Paragraph
color={Colors.darkGray}
fontSize="14px"
lineHeight="20px"
textAlign="left"
margin="20px 0 0 0"
margin_xs="20px 15px"
margin_lg="60px 0"
margin_tablet="15px 0 10px 0"
>
{selected.extra_disclaimer}
</Paragraph>
)}
</Div>
)}
<Div
Expand Down Expand Up @@ -913,9 +933,8 @@ const PricesAndPayment = (props) => {
style={{
display: "block",
}}
to={`${info.apply_button.link}${
selectedPlan ? `?utm_plan=${selectedPlan}` : ""
}`}
to={`${info.apply_button.link}${selectedPlan ? `?utm_plan=${selectedPlan}` : ""
}`}
>
<Button
variant="full"
Expand Down Expand Up @@ -985,8 +1004,8 @@ const PricesAndPayment = (props) => {
session && session?.location && session?.location.phone
? `https://wa.me/${phoneNumberClean(session?.location?.phone)}`
: session?.email
? `mailto:${session?.email}`
: `${info?.contact_link}`
? `mailto:${session?.email}`
: `${info?.contact_link}`
}
>
{info.contact_carrer_advisor}
Expand Down
2 changes: 1 addition & 1 deletion src/data/components/partner/partner.es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ financials:
image: "../../../../static/images/climb-logo.png"
featured: false
- name: "Ascent"
image: "../../../../static/images/ascent_logo.jpg"
image: "../../../../static/images/ascent-logo.png"
featured: false

work_together:
Expand Down
2 changes: 1 addition & 1 deletion src/data/components/partner/partner.us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ financials:
image: "../../../../static/images/climb-logo.png"
featured: false
- name: "Ascent"
image: "../../../../static/images/ascent_logo.jpg"
image: "../../../../static/images/ascent-logo.png"
featured: false

work_together:
Expand Down
2 changes: 1 addition & 1 deletion src/data/landing/europa-programas.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ apply_schollarship: # form that is displayed at the end of the landing
# jumbotron on the top (cannot be commented out)
header_data:
background: "#ffffff"
tagline: ¡Transforma tu futuro con 4Geeks Academy!
tagline: ¡Transforma <br>tu futuro <br>con 4Geeks!
tagline_color: "#1c1c1c"
form_styles:
background: "#0084FF"
Expand Down
4 changes: 2 additions & 2 deletions src/data/plans/applied-ai.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ part_time:
- "Siempre hay un plan de pago disponible para ayudarte a unirte a 4Geeks Academy."
- "Si no encuentras algo que te funcione aquí, por favor contáctanos para que podamos intentar encontrar otras formas de ayudarte."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand All @@ -36,7 +36,7 @@ part_time:
- "Siempre hay un plan de pago disponible para ayudarte a unirte a 4Geeks Academy."
- "Si no encuentras algo que te funcione aquí, por favor contáctanos para que podamos intentar encontrar otras formas de ayudarte."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
4 changes: 2 additions & 2 deletions src/data/plans/applied-ai.us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ part_time:
- "There is always a payment plan available to help you join 4Geeks Academy."
- "If you don't find anything that works for you here, please contact us so we can try to find other ways to help you."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand All @@ -36,7 +36,7 @@ part_time:
- "There is always a payment plan available to help you join 4Geeks Academy."
- "If you don't find anything that works for you here, please contact us so we can try to find other ways to help you."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
2 changes: 1 addition & 1 deletion src/data/plans/cybersecurity.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ part_time:
- "Varios socios ofrecen préstamos y planes de pago"
- "Puedes obtener una beca parcial y el saldo restante con un plan de pago"
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
3 changes: 2 additions & 1 deletion src/data/plans/cybersecurity.us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ part_time:
bullets:
- "You're saving $6,000 USD."
- "We are extremely invested in making quality coding education accessible to everyone"
extra_disclaimer: "Payments for Data Science and Machine Learning program with Ascent or Climb will not be less than $270.22."
icons:
- "/images/visa-mastercard.png"
- "/images/bitcoin_logo.png"
Expand All @@ -28,7 +29,7 @@ part_time:
- "Several partners offering loans and payment plans"
- "You can get a partial scholarship and the remaining balance with a payment plan"
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
6 changes: 3 additions & 3 deletions src/data/plans/datascience-ml.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ full_time:
- "Estás ahorrando $1000 USD"
- "Este descuento aplica a estudiantes que no son elegibles para la Beca de la Universidad Clark (generalmente empleados o con trabajo estable)."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"

- slug: 'plan-1'
Expand All @@ -39,7 +39,7 @@ full_time:
- "Con $400 p/ semana de estipendios para gastos de subsistencia"
- "9% de tu salario hasta que se pague en su totalidad, solo si consigues un trabajo en tecnología."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"


Expand Down Expand Up @@ -88,7 +88,7 @@ part_time:
- "Estamos totalmente comprometidos a hacer que nuestra educación sea accesible y ofrecemos múltiples planes de pago y opciones de financiamiento para cumplir con nuestra promesa."
- "Puedes adaptar tu camino de aprendizaje a tus necesidades financieras. Elige incluir o excluir nuestros servicios de apoyo profesional."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
8 changes: 4 additions & 4 deletions src/data/plans/datascience-ml.us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ full_time:
- "You're saving $1000 USD"
- "This discount applies to students who are not eligible for the Clark University Scholarship (typically employed or in stable work)."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"

- slug: 'plan-1'
Expand All @@ -39,7 +39,7 @@ full_time:
- "With $400 p/ week living stipends"
- "9% of your salary until paid in full, only if you get a job in tech."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"

# - slug: 'plan-3'
Expand All @@ -52,7 +52,7 @@ full_time:
# - "With $400 p/ week living stipends"
# - "9% of your salary until paid in full, only if you get a job in tech."
# icons:
# - "/images/ascent_logo.jpg"
# - "/images/ascent-logo.png"
# - "/images/climb-logo.png"

part_time:
Expand Down Expand Up @@ -100,7 +100,7 @@ part_time:
- "We're fully committed to making our education accessible and offer multiple payment plans and financing options to uphold our promise."
- "You can adapt your learning path to your financial needs. Choose to include or exclude our career support services."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"


Expand Down
6 changes: 3 additions & 3 deletions src/data/plans/full-stack.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ full_time:
- "Puedes adaptar tu camino de aprendizaje a tus necesidades financieras. Elige incluir o excluir nuestros servicios de apoyo profesional, o inscríbete con una Garantía de Empleo."
- "También ofrecemos varias opciones de becas completas o parciales para las que puedas ser elegible. Contáctanos para más detalles."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/bcas.png"

Expand Down Expand Up @@ -76,7 +76,7 @@ full_time:
# - "With $400 p/ week living stipends"
# - "9% of your salary until paid in full, only if you get a job in tech."
# icons:
# - "/images/ascent_logo.jpg"
# - "/images/ascent-logo.png"
# - "/images/climb-logo.png"
# - "/images/quotanda-logo.png"

Expand Down Expand Up @@ -255,7 +255,7 @@ part_time:
- "Varios socios ofrecen préstamos y planes de pago"
- "Puedes obtener una beca parcial y el saldo restante con un plan de pago"
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/bcas.png"

Expand Down
9 changes: 6 additions & 3 deletions src/data/plans/full-stack.us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ full_time:
- "You can adapt your learning path to your financial needs. Choose to include or exclude our career support services, or enroll with a Job Guarantee."
- "We also provide several full or partial scholarship options that you may be eligible for. Contact us for further details."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"

- slug: 'usa-fs-ft'
Expand Down Expand Up @@ -178,18 +178,21 @@ part_time:
- "You get to pay this also using one of our payment plans"
- "We are extremely invested in making quality coding education accessible to everyone"
- "There are plenty of partial scholarships available, please ask us how to get access to them."
extra_disclaimer: "This is a special opportunity to access world-class coding education at an unbeatable price. Don't miss it!"

- slug: 'usa-financed-pt'
academies: ['atlanta-usa', 'austin-usa', 'chicago-usa', 'downtown-miami', 'houston-usa', 'losangeles-usa', 'newyork-usa', 'orlando', 'online', 'toronto-canada']
recomended: false
scholarship: "Financed"
payment_time: "You can pay in 3, 4 or 5 years"
payment_time: |
Pay in 3, 4 or 5 years <br>
*Please see the Ascent website <a href="https://partner.ascentfunding.com/4geeksacademy/" target="_blank">partner page</a> for repayment examples and APRs.*
price: "~$150 p/mo"
bullets:
- "Several partners offering loans and payment plans"
- "You can get a partial scholarship and the remaining balance with a payment plan"
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"

- slug: 'usa-clark-scholarship-pt'
Expand Down
6 changes: 3 additions & 3 deletions src/data/plans/machine-learning.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ full_time:
- "Estás ahorrando $1000 USD"
- "Este descuento aplica a estudiantes que no son elegibles para la Beca de la Universidad Clark (generalmente empleados o con trabajo estable)."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down Expand Up @@ -40,7 +40,7 @@ full_time:
- "Con $400 p/ semana de estipendios para gastos de subsistencia"
- "9% de tu salario hasta que se pague en su totalidad, solo si consigues un trabajo en tecnología."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down Expand Up @@ -90,7 +90,7 @@ part_time:
- "Estamos totalmente comprometidos a hacer que nuestra educación sea accesible y ofrecemos múltiples planes de pago y opciones de financiamiento para cumplir con nuestra promesa."
- "Puedes adaptar tu camino de aprendizaje a tus necesidades financieras. Elige incluir o excluir nuestros servicios de apoyo profesional."
icons:
- "/images/ascent_logo.jpg"
- "/images/ascent-logo.png"
- "/images/climb-logo.png"
- "/images/quotanda-logo.png"

Expand Down
Loading