diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json index fc92bd59..6b7ea890 100644 --- a/frontend/public/locales/en/translation.json +++ b/frontend/public/locales/en/translation.json @@ -9,8 +9,10 @@ "joinMeetup": "Join our Meetup", "ourMeetups": "Our meetups", "pastEvents": "past events", + "upcomingEvents": "UPCOMING EVENTS", "viewMore": "view more", "communityGrowing": "Our community is growing", + "viewMoreEvents": "View more events", "allEvents": "View All Events", "learn": "LEARN + SHARE + BUILD", "about": "Ethereum Buenos Aires is about empowering participants to shape this new world,\n while cementing the Latin American region as a thriving hub of Ethereum blockchain innovation.", diff --git a/frontend/public/locales/es/translation.json b/frontend/public/locales/es/translation.json index 8399da39..c061ab69 100644 --- a/frontend/public/locales/es/translation.json +++ b/frontend/public/locales/es/translation.json @@ -9,8 +9,10 @@ "joinMeetup": "Unite al Meetup", "ourMeetups": "Meetups", "pastEvents": "Eventos Anteriores", + "upcomingEvents": "Próximos eventos", "viewMore": "ver más", "communityGrowing": "Nuestra comunidad crece", + "viewMoreEvents": "Ver más eventos", "allEvents": "Ver todos los eventos", "learn": "APRENDER + COMPARTIR + CONSTRUIR", "about": "Ethereum Buenos Aires tiene como fin empoderar a sus participantes para darle forma a este nuevo mundo,\n y potenciar a Latinoamérica como un vibrante hub de inovación global de Ethereum", diff --git a/frontend/public/locales/pt/translation.json b/frontend/public/locales/pt/translation.json index 6077a828..15b693e7 100644 --- a/frontend/public/locales/pt/translation.json +++ b/frontend/public/locales/pt/translation.json @@ -9,8 +9,10 @@ "joinMeetup": "Una-se ao Meetup", "ourMeetups": "Nossos Meetups", "pastEvents": "Eventos Passados", + "upcomingEvents": "Próximos eventos", "viewMore": "ver mais", "communityGrowing": "A nossa comunidade está crescendo", + "viewMoreEvents": "Ver mais eventos", "allEvents": "Ver todos os eventos", "learn": "APRENDER + COMPARTILHAR + CONSTRUIR", "about": "Ethereum Buenos Aires tem por objetivo empoderar os seus participantes para dar forma a este novo mundo,\n enquanto a América Latina é alicerçada como hub de inovação de Blockchain", diff --git a/frontend/src/components/common/banner/banner.scss b/frontend/src/components/common/banner/banner.scss index 4ed54168..ccb721e4 100644 --- a/frontend/src/components/common/banner/banner.scss +++ b/frontend/src/components/common/banner/banner.scss @@ -7,6 +7,16 @@ height: 600px; display: flex; + + @media (max-width: 760px) { + height: 800px; + } + + @media (max-width: 480px) { + height: 800px; + + } + &.top { img { object-position: center top; @@ -23,12 +33,11 @@ .banner__text { position: absolute; width: 100%; - top: 35%; + top: 30%; text-align: center; &.lightTheme { top: 28%; - h4 { color: $violetCard; } @@ -48,7 +57,9 @@ } @media (max-width: 480px) { - font-size: 24px; + font-size: 22px; + margin: 40px 0; + } } } diff --git a/frontend/src/components/common/banner/styles.js b/frontend/src/components/common/banner/styles.js index 7e69ef7c..c762a397 100644 --- a/frontend/src/components/common/banner/styles.js +++ b/frontend/src/components/common/banner/styles.js @@ -11,5 +11,7 @@ export const MeetupButton = styled(OrangeButton)` display: inline-flex; padding: 5px 15px; - margin-top: 60px; + margin: 80px 0 0 0; `; + +export const Button = styled.div``; diff --git a/frontend/src/components/common/paragraph/index.js b/frontend/src/components/common/paragraph/index.js new file mode 100644 index 00000000..cc5496f7 --- /dev/null +++ b/frontend/src/components/common/paragraph/index.js @@ -0,0 +1,24 @@ +import React from 'react'; +// i18n +import { useTranslation } from 'react-i18next'; + +const Paragraph = () => { + // Hooks + const { t } = useTranslation(); + + return ( +
+
+
+

{t('learn')}

+
+ +
+

{t('about')}

+
+
+
+ ); +}; + +export default Paragraph; diff --git a/frontend/src/components/common/paragraph/paragraph.scss b/frontend/src/components/common/paragraph/paragraph.scss new file mode 100644 index 00000000..a815a86d --- /dev/null +++ b/frontend/src/components/common/paragraph/paragraph.scss @@ -0,0 +1,64 @@ +@import '../../../styles/variables.scss'; + +.social { + display: flex; + justify-content: center; + align-items: center; + margin-top: 110px; + flex-direction: column; + + .container-social { + display: flex; + justify-content: center; + width: 90%; + flex-wrap: wrap; + margin-top: 40px; + + .box-social { + display: flex; + justify-content: center; + align-items: center; + margin: 20px 30px; + } + } + + .img { + &.twitter { + img { + width: 40px; + } + } + &.spotify { + img { + max-width: 160px; + } + } + img { + max-height: 60px; + max-width: 120px; + } + } +} + +.blog-iframe { + border:1px solid #EEE; + background:white; + + button { + .rightButton { + background: $violetCard !important; + } + } +} + +.sub-title p { + margin: 0; + color: rgba(30, 19, 70, 0.73); + font-family: 'Comfortaa'; + font-size: 15px; + font-weight: 700; + letter-spacing: 2.4px; + line-height: 28px; + text-align: center; + text-transform: uppercase; +} diff --git a/frontend/src/components/common/social/Social.js b/frontend/src/components/common/social/Social.js index f3e75132..e55da0c3 100644 --- a/frontend/src/components/common/social/Social.js +++ b/frontend/src/components/common/social/Social.js @@ -70,9 +70,14 @@ const Social = () => { ); })} - +