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

feat: new tutorial landing page version #134

Merged
merged 27 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ae7efca
feat: new tutorial landing page version
ricardoaerobr Oct 29, 2024
ffc6b32
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
649e66d
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
635c75a
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
3f263a6
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
5955b86
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
931cb8b
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
86d4138
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
3f4e568
Update src/messages/en.json
ricardoaerobr Nov 6, 2024
8573464
Update src/messages/es.json
ricardoaerobr Nov 6, 2024
bfae640
Update src/messages/es.json
ricardoaerobr Nov 6, 2024
d10d068
Update src/messages/es.json
ricardoaerobr Nov 6, 2024
191fe4f
Update src/messages/es.json
ricardoaerobr Nov 6, 2024
1881528
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
96f0d5a
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
d6508c7
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
27d4a47
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
83e6061
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
946f5b4
Update src/messages/pt.json
ricardoaerobr Nov 6, 2024
6bc393e
fix: fix comments
ricardoaerobr Nov 6, 2024
fc92d5d
fix: fix comments 2
ricardoaerobr Nov 7, 2024
5858bd7
feat: fix comments
ricardoaerobr Nov 12, 2024
13bef2e
feat: fix navigation and messages path
ricardoaerobr Nov 13, 2024
d249145
feat: fix comments
ricardoaerobr Nov 13, 2024
35332e5
feat: fix comments
ricardoaerobr Nov 14, 2024
5cd9b27
Update index.tsx
ricardoaerobr Nov 14, 2024
c98f23b
Update index.tsx
ricardoaerobr Nov 14, 2024
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
94,528 changes: 49,972 additions & 44,556 deletions public/navigation.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/components/tutorial-index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ const TutorialIndexing = ({ ...props }) => {
<>
<PageHeader
title={intl.formatMessage({
id: 'tutorial_and_solutions_page.title',
id: 'tutorials_page.title',
})}
description={intl.formatMessage({
id: 'tutorial_and_solutions_page.description',
id: 'tutorials_page.description',
})}
imageUrl={startHereImage}
imageAlt={intl.formatMessage({
id: 'tutorial_and_solutions_page.title',
id: 'tutorials_page.title',
})}
/>
<Flex sx={styles.innerContainer}>
Expand Down
6 changes: 3 additions & 3 deletions src/components/tutorial-markdown-render/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ const TutorialMarkdownRender = (props: Props) => {
</Head>
<PageHeader
title={intl.formatMessage({
id: 'tutorial_and_solutions_page.title',
id: 'tutorials_page.title',
})}
description={intl.formatMessage({
id: 'tutorial_and_solutions_page.description',
id: 'tutorials_page.description',
})}
imageUrl={startHereImage}
imageAlt={intl.formatMessage({
id: 'tutorial_and_solutions_page.title',
id: 'tutorials_page.title',
})}
/>
<DocumentContextProvider headings={props.headings}>
Expand Down
34 changes: 34 additions & 0 deletions src/components/whats-next-card/tutorials/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { Box, Flex, IconCaret, Text, Link } from '@vtex/brand-ui'

import type { WhatsNextDataElementTutorial } from 'utils/typings/types'

import styles from '../styles'

const WhatsNextCardTutorial = ({
title,
linkTitle,
linkTo,
}: WhatsNextDataElementTutorial) => {
return (
<Link href={linkTo} sx={styles.container}>
<Box>
<Text sx={styles.title} className="title">
{title}
</Text>
<Flex sx={styles.linkContainer}>
<Text sx={styles.link} className="link">
{linkTitle}
</Text>
<IconCaret
className="caret"
color="#A1A8B3"
direction="right"
size={16}
/>
</Flex>
</Box>
</Link>
)
}

export default WhatsNextCardTutorial
55 changes: 55 additions & 0 deletions src/components/whats-next-card/tutorials/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import type { SxStyleProp } from '@vtex/brand-ui'

const container: SxStyleProp = {
mt: '16px',
padding: '16px',
borderRadius: '4px',
border: '1px solid #E7E9EE',
width: ['100%', '49%'],
transition: 'all 0.3s ease-out',
':hover': {
cursor: 'pointer',
},
':active, :hover': {
borderColor: 'muted.2',
boxShadow: '0px 0px 16px rgba(0, 0, 0, 0.1)',
transition: 'all 0.3 ease-out',

'.title, .description': {
transition: 'all 0.3s ease-out',
color: '#000711',
},

'.link, .caret': {
transition: 'all 0.3s ease-out',
color: 'muted.0',
},
},
}

const title: SxStyleProp = {
mb: '8px',
fontSize: '16px',
fontWeight: '400',
lineHeight: ['22px', '18px'],
color: 'muted.0',
}

const description: SxStyleProp = {
fontSize: '12px',
fontWeight: '400',
lineHeight: '16px',
color: 'muted.0',
}

const linkContainer: SxStyleProp = {
mt: '8px',
alignItems: 'center',
}

const link: SxStyleProp = {
...description,
color: 'muted.1',
}

export default { container, title, description, linkContainer, link }
78 changes: 72 additions & 6 deletions src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"landing_page_documentation.title": "Documentation",
"documentation_start_here.title": "Start here",
"documentation_start_here.description": "Learn, step by step, everything you need to know to get started on VTEX.",
"documentation_tutorials.title": "Tutorials & Solutions",
"documentation_tutorials.description": "Access content and find solutions to all your questions about the platform",
"documentation_tutorials.title": "Tutorials",
"documentation_tutorials.description": "Explore in-depth tutorials for operating your VTEX store.",
"documentation_developers_portal.title": "Developer portal",
"documentation_developers_portal.description": "Find info about integrations, APIs, and development resources for your store.",
"landing_page_faq.title": "Frequently Asked Questions",
Expand Down Expand Up @@ -75,7 +75,7 @@
"api_reference_page.subtitle": "Use our API reference documentation to build custom solutions that fit your business.",
"start_here_page.title": "Start here",
"start_here_page.subtitle": "Learn, step by step, everything you need to know to start using VTEX.",
"start_here_page.link": "Learn more",
"start_here_page.link": "See tutorials",
"start_here_page_onboarding.title": "Onboarding guide",
"start_here_page_onboarding.content.0.title": "VTEX store overview",
"start_here_page_onboarding.content.0.description": "Learn about the merchant’s journey from architecture planning to store go-live.",
Expand Down Expand Up @@ -192,6 +192,72 @@
"start_here_page_conversational.content.1.title": "VTEX Assisted Sales (SuiteShare)",
"start_here_page_conversational.content.1.description": "Learn solutions to attract more customers, organize your team's services, capture customer data, close sales, and measure results.",
"start_here_page_conversational.content.1.link": "tracks/what-is-suiteshare",
"start_here_tutorials_page.title": "Tutorials",
"start_here_tutorials_page.subtitle": "Guides with step-by-step information to assist you in operating the VTEX platform and developing your business.",
"start_here_tutorials_page.link": "Learn more",
"tutorials_main_page.title": "Access the sections below to find out how to use our platform in your store operations:",
"tutorials_main_page.content.0.title": "Account management",
"tutorials_main_page.content.0.link": "tutorial/cat-account-management",
"tutorials_main_page.content.1.title": "Apps",
"tutorials_main_page.content.1.link": "tutorial/cat-apps",
"tutorials_main_page.content.2.title": "Authentication",
"tutorials_main_page.content.2.link": "tutorial/cat-authentications",
"tutorials_main_page.content.3.title": "B2B",
"tutorials_main_page.content.3.link": "tutorial/cat-b2b",
"tutorials_main_page.content.4.title": "Beta",
"tutorials_main_page.content.4.link": "tutorial/cat-beta-products",
"tutorials_main_page.content.5.title": "Billing",
"tutorials_main_page.content.5.link": "tutorial/cat-billing",
"tutorials_main_page.content.6.title": "Catalog",
"tutorials_main_page.content.6.link": "tutorial/cat-catalog",
"tutorials_main_page.content.7.title": "Checkout",
"tutorials_main_page.content.7.link": "tutorial/cat-checkout",
"tutorials_main_page.content.8.title": "Conversational Commerce",
"tutorials_main_page.content.8.link": "tutorial/cat-conversational-commerce",
"tutorials_main_page.content.9.title": "Dashboards",
"tutorials_main_page.content.9.link": "tutorial/cat-insights",
"tutorials_main_page.content.10.title": "Infrastructure",
"tutorials_main_page.content.10.link": "tutorial/cat-infrastructure",
"tutorials_main_page.content.11.title": "Integrations",
"tutorials_main_page.content.11.link": "tutorial/cat-integrations",
"tutorials_main_page.content.12.title": "Intelligent Search",
"tutorials_main_page.content.12.link": "tutorial/cat-intelligent-search",
"tutorials_main_page.content.13.title": "Master Data",
"tutorials_main_page.content.13.link": "tutorial/cat-master-data",
"tutorials_main_page.content.14.title": "Message center",
"tutorials_main_page.content.14.link": "tutorial/cat-message-center",
"tutorials_main_page.content.15.title": "Omnichannel",
"tutorials_main_page.content.15.link": "tutorial/cat-omnichannel",
"tutorials_main_page.content.16.title": "Orders",
"tutorials_main_page.content.16.link": "tutorial/cat-orders",
"tutorials_main_page.content.17.title": "Other",
"tutorials_main_page.content.17.link": "tutorial/cat-other",
"tutorials_main_page.content.18.title": "Payments",
"tutorials_main_page.content.18.link": "tutorial/cat-payments",
"tutorials_main_page.content.19.title": "Prices",
"tutorials_main_page.content.19.link": "tutorial/cat-prices",
"tutorials_main_page.content.20.title": "Promotions & taxes",
"tutorials_main_page.content.20.link": "tutorial/cat-promotions-and-taxes",
"tutorials_main_page.content.21.title": "Security",
"tutorials_main_page.content.21.link": "tutorial/cat-security",
"tutorials_main_page.content.22.title": "Sellers",
"tutorials_main_page.content.22.link": "tutorial/cat-sellers",
"tutorials_main_page.content.23.title": "Shipping",
"tutorials_main_page.content.23.link": "tutorial/cat-shipping",
"tutorials_main_page.content.24.title": "Store Settings",
"tutorials_main_page.content.24.link": "tutorial/cat-store-settings",
"tutorials_main_page.content.25.title": "Storefront",
"tutorials_main_page.content.25.link": "tutorial/cat-cms",
"tutorials_main_page.content.26.title": "Subscriptions",
"tutorials_main_page.content.26.link": "tutorial/cat-subscriptions",
"tutorials_main_page.content.27.title": "Trade policies",
"tutorials_main_page.content.27.link": "tutorial/cat-trade-policies",
"tutorials_main_page.content.28.title": "Troubleshooting",
"tutorials_main_page.content.28.link": "tutorial/cat-troubleshooting",
"tutorials_main_page.content.29.title": "Unified Commerce",
"tutorials_main_page.content.29.link": "tutorial/cat-unified-commerce",
"tutorials_main_page.content.30.title": "VTEX Tracking",
"tutorials_main_page.content.30.link": "tutorial/cat-vtex-tracking",
"storefront_development_page.title": "Storefront Development",
"storefront_development_page.subtitle": "Express your brand identity creating unique storefronts.",
"vtex_io_apps_page.title": "VTEX IO Apps",
Expand Down Expand Up @@ -230,7 +296,7 @@
"sidebar_support_rules.description": "See details of the support plans available for each business plan.",
"updates_info_notes.title": "Frequently Asked Questions",
"updates_info_notes.description": "Find answers to your key questions quickly and conveniently.",
"menu_status.description": "Follow the plataform's historical record.",
"menu_status.description": "Follow the platform's historical record.",
"sidebar_support_rules.title": "Support Rules",
"sidebar_support_rules.link": "/faq/how-does-vtex-support-work",
ricardoaerobr marked this conversation as resolved.
Show resolved Hide resolved
"sidebar_known_issues.title": "Known Issues",
Expand All @@ -255,8 +321,8 @@
"known_issues_result.empty": "No matching results. Try other filters.",
"known_issues_date.created": "Created at",
"known_issues_date.updated": "Updated at",
"tutorial_and_solutions_page.title": "Tutorials & Solutions",
"tutorial_and_solutions_page.description": "Access the documentation of all platform modules and clarify your doubts.",
"tutorials_page.title": "Tutorials",
"tutorials_page.description": "Explore in-depth tutorials for operating your VTEX store.",
"date_text.created": "Published on",
"date_text.updated": "Last update on",
"announcements_page_result.empty": "No matching results.",
Expand Down
78 changes: 72 additions & 6 deletions src/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"landing_page_documentation.title": "Documentation",
"documentation_start_here.title": "Comece aqui",
"documentation_start_here.description": "Aprenda, passo a passo, tudo que precisa saber para começar a usar os principais módulos da VTEX.",
"documentation_tutorials.title": "Tutoriais",
"documentation_tutorials.description": "Acesse a documentação de todos os módulos da plataforma e tire suas dúvidas.",
"documentation_tutorials.title": "Tutoriales",
"documentation_tutorials.description": "Explore tutoriales detallados para operar su tienda VTEX.",
"documentation_developers_portal.title": "Portal del desarrollador",
ricardoaerobr marked this conversation as resolved.
Show resolved Hide resolved
"documentation_developers_portal.description": "Visite nosso portal de desenvolvedores e encontre informações técnicas sobre integrações, APIs e recursos de desenvolvimento.",
"landing_page_faq.title": "Preguntas Frecuentes",
Expand Down Expand Up @@ -36,7 +36,7 @@
"landing_page_education_github.title": "Github",
"landing_page_education_github.description": "Follow our code and contribute with VTEX on GitHub.",
"landing_page_education_github.textLink": "Go to Github",
"landing_page_education_developer_portal.title": "Developer Portal",
"landing_page_education_developer_portal.title": "Developer portal",
"landing_page_education_developer_portal.description": "Encuentre información sobre integraciones, API y recursos de desarrollo para su tienda.",
"landing_page_education_developer_portal.textLink": "Explore Developer Portal",
"landing_page_education_support.title": "Solicite soporte a VTEX",
Expand Down Expand Up @@ -75,7 +75,7 @@
"api_reference_page.subtitle": "Use our API reference documentation to build custom solutions that fit your business.",
"start_here_page.title": "Comience aquí",
"start_here_page.subtitle": "Aprende, paso a paso, todo lo que necesitas saber para empezar a usar VTEX.",
"start_here_page.link": "Saber más",
"start_here_page.link": "Ver tutoriales",
"start_here_page_onboarding.title": "Guía de onboarding",
"start_here_page_onboarding.content.0.title": "Serie de la tienda VTEX",
"start_here_page_onboarding.content.0.description": "Sigue la jornada del retailer desde la planificación de la arquitectura hasta el go live de la tienda.",
Expand Down Expand Up @@ -195,6 +195,72 @@
"start_here_page_conversational.content.0.title": "VTEX Assisted Sales (SuiteShare)",
"start_here_page_conversational.content.0.description": "Aprenda soluciones para atraer más clientes, organizar los servicios de su equipo, captar datos de clientes, cerrar ventas y medir resultados.",
"start_here_page_conversational.content.0.link": "tracks/que-es-suiteshare",
"start_here_tutorials_page.title": "Tutoriales",
"start_here_tutorials_page.subtitle": "Guías con información paso a paso para ayudarle a operar la plataforma VTEX y desarrollar su negocio.",
"start_here_tutorials_page.link": "Aprenda más",
"tutorials_main_page.title": "Acceda a las siguientes secciones para descubrir cómo utilizar nuestra plataforma en las operaciones de su tienda:",
"tutorials_main_page.content.0.title": "Apps",
"tutorials_main_page.content.0.link": "tutorial/cat-apps",
"tutorials_main_page.content.1.title": "Autenticación",
"tutorials_main_page.content.1.link": "tutorial/cat-autenticaciones",
"tutorials_main_page.content.2.title": "B2B",
"tutorials_main_page.content.2.link": "tutorial/cat-b2b",
"tutorials_main_page.content.3.title": "Beta",
"tutorials_main_page.content.3.link": "tutorial/cat-beta-producto",
"tutorials_main_page.content.4.title": "Catalogo",
"tutorials_main_page.content.4.link": "tutorial/cat-catalogo",
"tutorials_main_page.content.5.title": "Centro de mensajes",
"tutorials_main_page.content.5.link": "tutorial/cat-centro-de-mensajes",
"tutorials_main_page.content.6.title": "Checkout",
"tutorials_main_page.content.6.link": "tutorial/cat-checkout",
"tutorials_main_page.content.7.title": "Comercio Unificado",
"tutorials_main_page.content.7.link": "tutorial/cat-comercio-unificado",
"tutorials_main_page.content.8.title": "Configuraciones de la Tienda",
"tutorials_main_page.content.8.link": "tutorial/cat-configuraciones-de-la-tienda",
"tutorials_main_page.content.9.title": "Conversational Commerce",
"tutorials_main_page.content.9.link": "tutorial/cat-conversational-commerce",
"tutorials_main_page.content.10.title": "Dashboards",
"tutorials_main_page.content.10.link": "tutorial/cat-insights",
"tutorials_main_page.content.11.title": "Envío",
"tutorials_main_page.content.11.link": "tutorial/cat-envio",
"tutorials_main_page.content.12.title": "Facturas",
"tutorials_main_page.content.12.link": "tutorial/cat-facturas",
"tutorials_main_page.content.13.title": "Gestión de la cuenta",
"tutorials_main_page.content.13.link": "tutorial/cat-gestion-de-la-cuenta",
"tutorials_main_page.content.14.title": "Infraestructura",
"tutorials_main_page.content.14.link": "tutorial/cat-infraestructura",
"tutorials_main_page.content.15.title": "Integraciones",
"tutorials_main_page.content.15.link": "tutorial/cat-integraciones",
"tutorials_main_page.content.16.title": "Intelligent Search",
"tutorials_main_page.content.16.link": "tutorial/cat-intelligent-search",
"tutorials_main_page.content.17.title": "Master Data",
"tutorials_main_page.content.17.link": "tutorial/cat-master-data",
"tutorials_main_page.content.18.title": "Omnichannel",
"tutorials_main_page.content.18.link": "tutorial/cat-omnichannel",
"tutorials_main_page.content.19.title": "Otros",
"tutorials_main_page.content.19.link": "tutorial/cat-otros",
"tutorials_main_page.content.20.title": "Pagos",
"tutorials_main_page.content.20.link": "tutorial/cat-pagos",
"tutorials_main_page.content.21.title": "Pedidos comerciales",
"tutorials_main_page.content.21.link": "tutorial/cat-pedidos",
"tutorials_main_page.content.22.title": "Políticas comerciales",
"tutorials_main_page.content.22.link": "tutorial/cat-politicas-comerciales",
"tutorials_main_page.content.23.title": "Precios",
"tutorials_main_page.content.23.link": "tutorial/cat-precios",
"tutorials_main_page.content.24.title": "Seguridad",
"tutorials_main_page.content.24.link": "tutorial/cat-seguridad",
"tutorials_main_page.content.25.title": "Sellers",
"tutorials_main_page.content.25.link": "tutorial/cat-sellers",
"tutorials_main_page.content.26.title": "Storefront",
"tutorials_main_page.content.26.link": "tutorial/cat-cms",
"tutorials_main_page.content.27.title": "Suscripciones",
"tutorials_main_page.content.27.link": "tutorial/cat-suscripciones",
"tutorials_main_page.content.28.title": "Tasas y promociones",
"tutorials_main_page.content.28.link": "tutorial/cat-tasas-y-promociones",
"tutorials_main_page.content.29.title": "Troubleshooting",
"tutorials_main_page.content.29.link": "tutorial/cat-troubleshooting",
"tutorials_main_page.content.30.title": "VTEX Tracking",
"tutorials_main_page.content.30.link": "tutorial/cat-vtex-tracking",
"storefront_development_page.title": "Storefront Development",
"storefront_development_page.subtitle": "Express your brand identity creating unique storefronts.",
"vtex_io_apps_page.title": "VTEX IO Apps",
Expand Down Expand Up @@ -258,8 +324,8 @@
"known_issues_result.empty": "Ningún resultado coincidente. Pruebe con otros filtros.",
"known_issues_date.created": "Creado en",
"known_issues_date.updated": "Actualizado en",
"tutorial_and_solutions_page.title": "Tutoriales y Soluciones",
"tutorial_and_solutions_page.description": "Accede a la documentación de todos los módulos de la plataforma y resuelve tus dudas.",
"tutorials_page.title": "Tutoriales",
"tutorials_page.description": "Explore tutoriales detallados para operar su tienda VTEX.",
"date_text.created": "Publicado en",
"date_text.updated": "Última actualización",
"announcements_page_result.empty": "Ningún resultado coincidente.",
Expand Down
Loading