@@ -107,9 +107,20 @@ var Thumb = React.createClass({
107
107
</ a >
108
108
]
109
109
110
+ var brazil = [
111
+ < a href = { href } >
112
+ < img
113
+ className = 'flag'
114
+ title = 'Served from Brazil'
115
+ src = 'resources/icons/brazil.svg'
116
+ />
117
+ </ a >
118
+ ] ;
119
+
110
120
var flags = [ ]
111
121
if ( r . eu ) flags = flags . concat ( eu )
112
122
if ( r . na ) flags = flags . concat ( na )
123
+ if ( r . brazil ) flags = flags . concat ( brazil )
113
124
if ( r . ext ) flags = flags . concat ( ext )
114
125
115
126
return < div className = 'col-xs-6 col-sm-4' >
@@ -130,6 +141,7 @@ var Resource = function(name, page, params) {
130
141
this . na = params . na ;
131
142
this . eu = params . eu ;
132
143
this . ext = params . ext ;
144
+ this . brazil = params . brazil ;
133
145
} ;
134
146
135
147
var Page = React . createClass ( {
@@ -144,8 +156,8 @@ var Page = React.createClass({
144
156
new Resource ( 'Railway - France' , 'sncf' , both ) ,
145
157
new Resource ( 'Red Rocks Amphitheatre' , 'red-rocks' , both ) ,
146
158
new Resource ( 'Kentucky' , 'kentucky' , na ) ,
159
+ new Resource ( 'São Paulo City' , 'sao-paulo-city' , { brazil : true , ext : true } ) ,
147
160
new Resource ( 'New York City' , 'nyc' , both ) ,
148
- new Resource ( 'Salzburg' , 'salzburg' , { eu : true , ext : true } ) ,
149
161
new Resource ( 'New Zealand' , 'new-zealand' , na ) ,
150
162
new Resource ( 'Iowa' , 'iowa' , both ) ,
151
163
new Resource ( 'Lake Isabella' , 'lake-isabella' , both ) ,
@@ -163,7 +175,9 @@ var Page = React.createClass({
163
175
new Resource ( 'Space Shuttle Discovery' , 'shuttle' , both ) ,
164
176
new Resource ( 'Lone Star Geyser' , 'lone-star' , both ) ,
165
177
new Resource ( 'MH370' , 'mh370' , na ) ,
166
- new Resource ( 'São Paulo City' , 'sao-paulo-city' , ext ) ,
178
+
179
+ // This seems to have been shut down.
180
+ // new Resource('Salzburg', 'salzburg', { eu: true, ext: true }),
167
181
] ;
168
182
169
183
return < div >
0 commit comments