Skip to content

Commit a84d702

Browse files
committed
Remove badge
1 parent 479412d commit a84d702

3 files changed

Lines changed: 3 additions & 23 deletions

File tree

src/components/Home.css

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,6 @@
3333
z-index: 2;
3434
}
3535

36-
.badge {
37-
display: inline-block;
38-
padding: 6px 16px;
39-
background-color: rgba(138, 99, 210, 0.1); /* Very subtle purple tint */
40-
border: 1px solid rgba(138, 99, 210, 0.2);
41-
border-radius: 9999px;
42-
color: #c4b5fd; /* Light purple text */
43-
font-size: 0.875rem;
44-
font-weight: 600;
45-
letter-spacing: 0.05em;
46-
text-transform: uppercase;
47-
margin-bottom: 2rem;
48-
}
4936

5037
.hero-title {
5138
font-size: 4.5rem !important;
@@ -134,10 +121,7 @@
134121
color: #f8fafc !important;
135122
}
136123

137-
.badge {
138-
background-color: rgba(138, 99, 210, 0.1) !important;
139-
color: #c4b5fd !important;
140-
}
124+
141125
}
142126
@media (max-width: 480px) {
143127
.hero-title {

src/components/Home.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const Home = ({ t }) => (
66
<div className="graph-pattern"></div>
77

88
<div className="home-content">
9-
<div className="badge">{t.badge}</div>
109
<h1 className="hero-title">
1110
{t.titlePrefix}<br />
1211
{t.titleMiddle && `${t.titleMiddle} `}
@@ -19,7 +18,6 @@ const Home = ({ t }) => (
1918

2019
Home.propTypes = {
2120
t: PropTypes.shape({
22-
badge: PropTypes.string.isRequired,
2321
titlePrefix: PropTypes.string.isRequired,
2422
titleMiddle: PropTypes.string.isRequired,
2523
titleHighlight: PropTypes.string.isRequired,

src/i18n/translations.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ const translations = {
2222
languageLabel: 'Idioma',
2323
},
2424
home: {
25-
badge: 'Ciència i Enginyeria de Dades UPC',
2625
titlePrefix: "Associació d'Estudiants",
2726
titleMiddle: 'de',
2827
titleHighlight: 'Dades',
29-
description: 'Connectant talent, dades i futur.',
28+
description: 'Connectant talent, dades i futur. Som l\'associació d\'estudiants del grau en Ciència i Enginyeria de Dades de la UPC.',
3029
},
3130
goals: {
3231
title: 'Els nostres objectius',
@@ -117,11 +116,10 @@ const translations = {
117116
languageLabel: 'Language',
118117
},
119118
home: {
120-
badge: 'UPC Data Science and Engineering',
121119
titlePrefix: 'Data Students',
122120
titleMiddle: '',
123121
titleHighlight: 'Association',
124-
description: 'Connecting talent, data and the future.',
122+
description: 'Connecting talent, data and the future. We are the student association of the BSc in Data Science and Engineering at UPC.',
125123
},
126124
goals: {
127125
title: 'Our goals',

0 commit comments

Comments
 (0)