-
Notifications
You must be signed in to change notification settings - Fork 3
Seccion CFP en la home #157
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
Merged
Merged
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| import { texts } from '../../i18n/home' | ||
| import SectionTitle from '../SectionTitle.astro' | ||
| import Button from '../Button.astro' | ||
|
|
||
| interface Props { | ||
| lang: string | ||
| } | ||
|
|
||
| const { lang } = Astro.props | ||
| const t = texts[lang as keyof typeof texts] | ||
| --- | ||
|
|
||
| <div class="flex flex-col items-center gap-6"> | ||
| <SectionTitle title={t['cfp.title']} /> | ||
|
|
||
| <div | ||
| class="bg-white/5 backdrop-blur-md p-8 rounded-2xl border border-white/10 hover:border-pycon-orange/50 transition-all shadow-xl w-full" | ||
| > | ||
| <p class="text-lg text-pycon-gray-25 leading-relaxed mb-6 text-center"> | ||
| {t['cfp.description']} | ||
| </p> | ||
|
|
||
| <div class="flex justify-center"> | ||
| <Button | ||
| variant="primary" | ||
| size="lg" | ||
| href="https://pretalx.com/pycones-2026/cfp" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| > | ||
| {t['cfp.button']} | ||
| </Button> | ||
| </div> | ||
| </div> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,10 @@ export const texts = { | |
| 'sponsors.bronze': 'Patrocinador Bronce', | ||
| 'sponsors.none': 'No hay patrocinadores en este nivel', | ||
| 'sponsors.altlogo': 'Logo de {name}', | ||
| 'cfp.title': 'Call for Proposals', | ||
| 'cfp.description': | ||
| '¡Ya está abierta la llamada a propuestas! Mándanos tu charla o taller antes del 3 de mayo a las 23:59h (hora peninsular). Si te estás preguntando si puedes hacer esto, la respuesta es que sí. Si tienes un tema que te interesa, ¡nos interesa!', | ||
| 'cfp.button': 'Envía tu propuesta', | ||
| }, | ||
| en: { | ||
| 'index.initializing': 'Initialising system...', | ||
|
|
@@ -30,6 +34,10 @@ export const texts = { | |
| 'sponsors.bronze': 'Bronze Sponsor', | ||
| 'sponsors.none': 'No sponsors in this tier', | ||
| 'sponsors.altlogo': '{name} logo', | ||
| 'cfp.title': 'Call for Proposals', | ||
| 'cfp.description': | ||
| "The call for proposals is now open! Send us your talk or workshop before May 3rd at 23:59 (CET). If you're wondering whether you can do this, the answer is yes. If you have a topic that interests you, it interests us!", | ||
| 'cfp.button': 'Submit your proposal', | ||
| }, | ||
| ca: { | ||
| 'index.initializing': 'Inicialitzant sistema...', | ||
|
|
@@ -46,5 +54,9 @@ export const texts = { | |
| 'sponsors.bronze': 'Patrocinador Bronze', | ||
| 'sponsors.none': 'No hi ha patrocinadors en aquest nivell', | ||
| 'sponsors.altlogo': 'Logo de {name}', | ||
| 'cfp.title': 'Call for Proposals', | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. not sure if we should traslate... |
||
| 'cfp.description': | ||
| "Ja està oberta la crida a propostes! Envia'ns la teva xerrada o taller abans del 3 de maig a les 23:59h (hora peninsular). Si t'estàs preguntant si pots fer això, la resposta és que sí. Si tens un tema que t'interessa, ens interessa!", | ||
| 'cfp.button': 'Envia la teva proposta', | ||
| }, | ||
| } as const | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we translate this title?