MainContent.js 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. import React from "react";
  2. import { Container, Row, Col, Card} from "react-bootstrap";
  3. import styled from "styled-components";
  4. import monolit from '../img/monolit.jpg'
  5. import freedom from '../img/freeedom.jpg'
  6. import clearSky from '../img/clear_sky.jpg'
  7. import merk from '../img/1.jpg'
  8. import duty from '../img/2.jpg'
  9. import loners from '../img/3.jpg'
  10. import background from '../img/church_place.jpg'
  11. import textbg from '../img/bgimg.jpg'
  12. import military from '../img/military_profile.jpeg'
  13. import bandit from '../img/bandit_profile.jpeg'
  14. import ecologist from '../img/ecologists_profile.jpg'
  15. import AboutPlace from "./AboutPlace";
  16. import TextInfo from "./TextInfo";
  17. import Footer from "./Footer";
  18. const Styles = styled.div`
  19. .card{
  20. border-radius: 4px;
  21. width: 18rem;
  22. }
  23. .card-body{
  24. background:transparent;
  25. }
  26. .card-title {
  27. font-family: Stalker;
  28. font-size: 2.25rem;
  29. }
  30. .cardStyle {
  31. background: url(${background}) no-repeat;
  32. padding-top: 2rem;
  33. padding-bottom: 2rem;
  34. background-size: cover;
  35. width: 100%;
  36. }
  37. .row{
  38. padding-left: 15rem;
  39. padding-bottom: 2rem;
  40. }
  41. .textInfo{
  42. padding-top: 2rem;
  43. padding-bottom: 2rem;
  44. background: url(${textbg});
  45. background-size: cover;
  46. color: white;
  47. }
  48. @media (max-width: 1450px) {
  49. .row {
  50. padding-left: 6rem;
  51. }
  52. }
  53. @media (max-width: 768px) {
  54. .row {
  55. padding-left: 2rem;
  56. }
  57. .card{
  58. width: 13rem;
  59. }
  60. }
  61. @media (max-width: 576px) {
  62. .col {
  63. padding-bottom: 1rem;
  64. }
  65. .row {
  66. padding-left: 2rem;
  67. }
  68. .card {
  69. width: 18rem;
  70. }
  71. }
  72. `;
  73. export default function MainContent(){
  74. return(
  75. <>
  76. <Styles>
  77. <Container fluid className="cardStyle">
  78. <Row>
  79. <Col>
  80. <Card>
  81. <Card.Img variant="top" src={loners} style={{height: '400px'}}/>
  82. <Card.Body>
  83. <Card.Title>Loners</Card.Title>
  84. <Card.Text>
  85. Loners are a nomadic semi-unified group of Stalkers who simply live off the Zone in order to earn some coin for their daily lives.
  86. Loners are neutral toward almost all other factions, but do have complications with the Military, and, to a lesser extent, the Mercenaries, and openly oppose the Bandit faction for their actions against free Stalkers.
  87. </Card.Text>
  88. </Card.Body>
  89. </Card>
  90. </Col>
  91. <Col>
  92. <Card>
  93. <Card.Img variant="top" src={duty} style={{height: '400px'}}/>
  94. <Card.Body>
  95. <Card.Title>Duty</Card.Title>
  96. <Card.Text>Duty was founded by former military expedition survivors and Stalkers concerned about the looming horrors of the Zone.
  97. They are one of the largest Stalker clans in the Zone. They have a strict military code (such as no smoking, maintaining one's weapons, etc...) and operate in a military fashion, using ranks like Sergeant, Major, Captain, and General.
  98. </Card.Text>
  99. </Card.Body>
  100. </Card>
  101. </Col>
  102. <Col>
  103. <Card>
  104. <Card.Img variant="top" src={clearSky} style={{height: '400px'}}/>
  105. <Card.Body>
  106. <Card.Title>ClearSky</Card.Title>
  107. <Card.Text>
  108. Clear Sky is the most secretive faction within the Zone.
  109. The faction was disbanded after losing the majority of their manpower during the events in S.T.A.L.K.E.R.: Clear Sky.
  110. The Clear Sky faction was originally composed of former researchers of the C-Consciousness who broke away from them in order to conduct their own research on how to either destroy or contain the zone.
  111. </Card.Text>
  112. </Card.Body>
  113. </Card>
  114. </Col>
  115. </Row>
  116. <Row>
  117. <Col>
  118. <Card>
  119. <Card.Img variant="top" src={merk} style={{height: '400px'}}/>
  120. <Card.Body>
  121. <Card.Title>Mercenaires</Card.Title>
  122. <Card.Text>
  123. The Mercenaries are a private military force operating within the Zone.
  124. They are professional soldiers who will do just about anything in the Zone, ranging from retrieval, assassinations, body-guarding, etc.
  125. Though, of course, it must be for the right price.
  126. </Card.Text>
  127. </Card.Body>
  128. </Card>
  129. </Col>
  130. <Col>
  131. <Card>
  132. <Card.Img variant="top" src={monolit} style={{height: '400px'}}/>
  133. <Card.Body>
  134. <Card.Title>Monolit</Card.Title>
  135. <Card.Text>This group displays many features of a religious sect. Its members believe in the existence of a complex alien crystal, the Monolith, located somewhere in the center of the Zone.
  136. Most stalkers treat Monolith adepts with contempt and consider them as lunatics.</Card.Text>
  137. </Card.Body>
  138. </Card>
  139. </Col>
  140. <Col>
  141. <Card>
  142. <Card.Img variant="top" src={freedom} style={{height: '400px'}}/>
  143. <Card.Body>
  144. <Card.Title>Freedom</Card.Title>
  145. <Card.Text>
  146. Freedom is a clan of stalkers who fight for free access to the Zone, and their views are somewhat anarchistic, believing nobody can own the Zone and seeing it both as a scientific marvel and as a free life inside the Zone's borders.
  147. </Card.Text>
  148. </Card.Body>
  149. </Card>
  150. </Col>
  151. </Row>
  152. <Row>
  153. <Col>
  154. <Card>
  155. <Card.Img variant="top" src={ecologist} style={{height: '400px'}}/>
  156. <Card.Body>
  157. <Card.Title> Ecologists</Card.Title>
  158. <Card.Text>The Ecologists are Ukrainian scientists sent into the Zone on behalf of the government, but seem to be affiliated with outside organizations. Their main purpose is the study of all aspects of the Zone, using scientific methods to further explain what the Zone is, and its purpose.
  159. </Card.Text>
  160. </Card.Body>
  161. </Card>
  162. </Col>
  163. <Col>
  164. <Card>
  165. <Card.Img variant="top" src={bandit} style={{height: '400px'}}/>
  166. <Card.Body>
  167. <Card.Title>Bandits</Card.Title>
  168. <Card.Text>The Bandits are raiders and marauders of the Zone, ranging from petty thugs and gangsters to organized crime syndicates. Apart from Freedom, which treats them with marginal contempt, everyone hates the Bandits due to their nefarious acts of robbing and exploiting honest Stalkers.
  169. </Card.Text>
  170. </Card.Body>
  171. </Card>
  172. </Col>
  173. <Col>
  174. <Card>
  175. <Card.Img variant="top" src={military} style={{height: '400px'}}/>
  176. <Card.Body>
  177. <Card.Title>Military</Card.Title>
  178. <Card.Text>
  179. The Ukrainian military supposedly has the Zone contained in order to prevent the looting of dangerous, radioactive materials and to prevent the unauthorized entering of any individuals. They allegedly enforce this rule with a "Shoot-on-sight" declaration.
  180. </Card.Text>
  181. </Card.Body>
  182. </Card>
  183. </Col>
  184. </Row>
  185. </Container>
  186. <AboutPlace/>
  187. <Container className="textInfo" fluid>
  188. <TextInfo/>
  189. </Container>
  190. <Footer/>
  191. </Styles>
  192. </>
  193. );
  194. }