- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 7
 
Adding new component (Speakers) #55
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
base: main
Are you sure you want to change the base?
Conversation
          ✅ Deploy Preview for global-conference-2025 ready!
 To edit notification comments on pull requests, go to your Netlify project configuration.  | 
    
| 
           Can you add the component to the main page, so we can live-preview it?  | 
    
        
          
                src/components/speakers.astro
              
                Outdated
          
        
      | const lang = getLangFromUrl(Astro.url); | ||
| const t = useTranslations(lang); | ||
| 
               | 
          ||
| const speakers = [ | 
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.
We should explore how difficult could it be to connect this to a REST API query to pretalx and get the list already, or use a JSON.
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.
Thank you @codingisads! A few ideas we could explore:
- Define the SVGs externally instead of inline, if possible?
 - Make the entire speaker container clickable, not just their avatars.
 - Sort speakers alphabetically rather than by ID.
 
Let me know your thoughts, happy to help experiment with these!
| 
           Hey @egeakman, what do you think?   | 
    
Fixes issue #48
This PR adds the speakers component. Hardcoded speaker info is currently shown, must be replaced in the future with the 2025 speakers info.
@cmaureir would love feedback! 🫡
Videos and screenshots:
Video.sin.titulo.Hecho.con.Clipchamp.mp4