-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path14.state.html
159 lines (153 loc) · 7.25 KB
/
14.state.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html>
<head>
<title>state</title>
<meta charset="utf-8" />
<style>
body {
font-family: -apple-system, sans-serif;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="react/react.js"></script>
<script src="react/react-dom.js"></script>
<script src="react/babel.js"></script>
<script type="text/babel"></script>
</body>
<script type="text/babel">
// import { useState } from "react";
const { useState } = React;
const sculptureList = [
{
name: "Homenaje a la Neurocirugía",
artist: "Marta Colvin Andrade",
description:
"Although Colvin is predominantly known for abstract themes that allude to pre-Hispanic symbols, this gigantic sculpture, an homage to neurosurgery, is one of her most recognizable public art pieces.",
url: "https://i.imgur.com/Mx7dA2Y.jpg",
alt: "A bronze statue of two crossed hands delicately holding a human brain in their fingertips.",
},
{
name: "Floralis Genérica",
artist: "Eduardo Catalano",
description:
"This enormous (75 ft. or 23m) silver flower is located in Buenos Aires. It is designed to move, closing its petals in the evening or when strong winds blow and opening them in the morning.",
url: "https://i.imgur.com/ZF6s192m.jpg",
alt: "A gigantic metallic flower sculpture with reflective mirror-like petals and strong stamens.",
},
{
name: "Eternal Presence",
artist: "John Woodrow Wilson",
description:
'Wilson was known for his preoccupation with equality, social justice, as well as the essential and spiritual qualities of humankind. This massive (7ft. or 2,13m) bronze represents what he described as "a symbolic Black presence infused with a sense of universal humanity."',
url: "https://i.imgur.com/aTtVpES.jpg",
alt: "The sculpture depicting a human head seems ever-present and solemn. It radiates calm and serenity.",
},
{
name: "Moai",
artist: "Unknown Artist",
description:
"Located on the Easter Island, there are 1,000 moai, or extant monumental statues, created by the early Rapa Nui people, which some believe represented deified ancestors.",
url: "https://i.imgur.com/RCwLEoQm.jpg",
alt: "Three monumental stone busts with the heads that are disproportionately large with somber faces.",
},
{
name: "Blue Nana",
artist: "Niki de Saint Phalle",
description:
"The Nanas are triumphant creatures, symbols of femininity and maternity. Initially, Saint Phalle used fabric and found objects for the Nanas, and later on introduced polyester to achieve a more vibrant effect.",
url: "https://i.imgur.com/Sd1AgUOm.jpg",
alt: "A large mosaic sculpture of a whimsical dancing female figure in a colorful costume emanating joy.",
},
{
name: "Ultimate Form",
artist: "Barbara Hepworth",
description:
"This abstract bronze sculpture is a part of The Family of Man series located at Yorkshire Sculpture Park. Hepworth chose not to create literal representations of the world but developed abstract forms inspired by people and landscapes.",
url: "https://i.imgur.com/2heNQDcm.jpg",
alt: "A tall sculpture made of three elements stacked on each other reminding of a human figure.",
},
{
name: "Cavaliere",
artist: "Lamidi Olonade Fakeye",
description:
"Descended from four generations of woodcarvers, Fakeye's work blended traditional and contemporary Yoruba themes.",
url: "https://i.imgur.com/wIdGuZwm.png",
alt: "An intricate wood sculpture of a warrior with a focused face on a horse adorned with patterns.",
},
{
name: "Big Bellies",
artist: "Alina Szapocznikow",
description:
"Szapocznikow is known for her sculptures of the fragmented body as a metaphor for the fragility and impermanence of youth and beauty. This sculpture depicts two very realistic large bellies stacked on top of each other, each around five feet (1,5m) tall.",
url: "https://i.imgur.com/AlHTAdDm.jpg",
alt: "The sculpture reminds a cascade of folds, quite different from bellies in classical sculptures.",
},
{
name: "Terracotta Army",
artist: "Unknown Artist",
description:
"The Terracotta Army is a collection of terracotta sculptures depicting the armies of Qin Shi Huang, the first Emperor of China. The army consisted of more than 8,000 soldiers, 130 chariots with 520 horses, and 150 cavalry horses.",
url: "https://i.imgur.com/HMFmH6m.jpg",
alt: "12 terracotta sculptures of solemn warriors, each with a unique facial expression and armor.",
},
{
name: "Lunar Landscape",
artist: "Louise Nevelson",
description:
"Nevelson was known for scavenging objects from New York City debris, which she would later assemble into monumental constructions. In this one, she used disparate parts like a bedpost, juggling pin, and seat fragment, nailing and gluing them into boxes that reflect the influence of Cubism’s geometric abstraction of space and form.",
url: "https://i.imgur.com/rN7hY6om.jpg",
alt: "A black matte sculpture where the individual elements are initially indistinguishable.",
},
{
name: "Aureole",
artist: "Ranjani Shettar",
description:
'Shettar merges the traditional and the modern, the natural and the industrial. Her art focuses on the relationship between man and nature. Her work was described as compelling both abstractly and figuratively, gravity defying, and a "fine synthesis of unlikely materials."',
url: "https://i.imgur.com/okTpbHhm.jpg",
alt: "A pale wire-like sculpture mounted on concrete wall and descending on the floor. It appears light.",
},
{
name: "Hippos",
artist: "Taipei Zoo",
description:
"The Taipei Zoo commissioned a Hippo Square featuring submerged hippos at play.",
url: "https://i.imgur.com/6o5Vuyu.jpg",
alt: "A group of bronze hippo sculptures emerging from the sett sidewalk as if they were swimming.",
},
];
function Gallery() {
const [index, setIndex] = useState(0);
const [showMore, setShowMore] = useState(false);
function handleNextClick() {
setIndex(index + 1);
}
function handleMoreClick() {
setShowMore(!showMore);
}
let sculpture = sculptureList[index % sculptureList.length];
return (
<section>
<button onClick={handleNextClick}>Next</button>
<h2>
<i>{sculpture.name} </i>
by {sculpture.artist}
</h2>
<h3>
({index + 1} of {sculptureList.length})
</h3>
<button onClick={handleMoreClick}>{showMore ? "Hide" : "Show"} details</button>
{showMore && <p>{sculpture.description}</p>}
<img src={sculpture.url} alt={sculpture.alt} />
</section>
);
}
ReactDOM.render(
<div>
<Gallery />
</div>,
document.getElementById("app")
);
</script>
</html>