Danila Fedorin
++ We don't need a weakened government but a strong government that would take responsibility for the rights of the individual and care for the society as a whole. +
+diff --git a/public/css/style.css b/public/css/style.css index ee8f99b..2ce7890 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,215 +1,95 @@ - -.site-title { - /*background-image: url("background.jpg");*/ - margin: -8px; - - height: 50px; - background-color: white; - font-weight:bolder; - padding-left: 890px; - padding-top:10px; - color: black; - white-space:nowrap; - +body { + font-family: Roboto; + background-image: url(/images/clouds.jpg); + background-color: #F5F7FA; + color: #2d2d2d; } -.navbar{ +a { + text-decoration:none; } -.navlist{ - position:relative; - list-style-type:none; - padding: 0px; - padding-left:20px; - height:40px; - min-width:550px; - width:100%; - margin:8px; - margin-left:-8px; - width:end; - background-color: white; - white-space:nowrap; - padding-top:10px; - box-shadow: 0px 3px 0px rgba(0,0,0,.13) ,1px 2px 2px rgba(0,0,0,.1) , 0px 0px 0px rgba(0,0,0,.05); - - +.card { + background-color:white; + box-shadow: 2px 2px 3px rgba(0,0,0,.13) ,1px 2px 2px rgba(0,0,0,.1) , -1px -2px 2px rgba(0,0,0,.05); + margin: auto; + margin-top: 20px; + max-width: 750px; + padding: 20px; } -.navlink a{ - color:black; +.member-container{ + display:flex; + flex-direction: column; } -.navlink:hover a{ - color: #109EF2; -} -.navlink { - display:inline; - padding: 10px; - font-size:21px; - -} - -.active{ - border-bottom:3px solid #109EF2; -} - -header{ - color:black; -} -body a{ - font-family:Roboto; - text-decoration:none; -} - -.twit-container{ - - font-family:Roboto; - background-color: #F5F7FA; - display:flex; - flex-flow: row wrap; - width:71vw; - - padding-left:22%; - - padding-top:25%; - padding-bottom:10%; - -} -.person-photo img:first-child{ - padding-top:10px; - height:30%; - width:30%; - display: block; +.person-photo img{ + padding-top:10px; + height:30%; + width:30%; + display: block; margin-left: auto; margin-right: auto; - border-radius:50%; - -} -/*img{ - display: block; - margin-left: auto; - margin-right: auto; - border-radius:50%; -}*/ -.twit{ - position:relative; - flex-grow:1; - flex-shrink:1; - flex-basis:100%; - max-width:250px; - width:250px; - margin-top:230px; - margin-bottom:-230px; - - min-height:350px; - background-color:white; - + border-radius:50%; } +.member { + padding: 20px; + + box-sizing: border-box; + flex-grow:1; + flex-basis:50%; + + background-color:white; +} .toplevel{ - z-index:2; - position:absolute; - margin-top:-470px; - height:61%; - - width:52.6%;; - background-color:white; - box-shadow: 2px 2px 3px rgba(0,0,0,.13) ,1px 2px 2px rgba(0,0,0,.1) , -1px -2px 2px rgba(0,0,0,.05); - + position:relative; + display: flex; + flex-wrap: wrap; } -.leadership{ - z-index:0; - position:absolute; - margin-top:100px; - height:430px; - width:52.6%;; - background-color:white; - box-shadow: 2px -2px 3px rgba(0,0,0,.13) , 1px 3px 5px rgba(0,0,0,.1) , -1px -2px 2px rgba(0,0,0,.05); -} -.Headership{ - font-size:45px; - color:#546076; - font-weight:100; - font-family: Roboto; - padding-top:0px; - margin-left: auto; - margin-right: auto; - text-align:center; +h2 { + font-size:30px; + color:#546076; + font-weight:100; + text-align:center; + width: 100%; } .Mission{ - font-size:40px; - font-weight:100; - color:#546076; - padding-top:16px; - margin-left: auto; + font-size:40px; + font-weight:100; + padding-top:16px; + margin-left: auto; margin-right: auto; - text-align:center; + text-align:center; } .Person-Name{ - font-size:20px; - font-weight:600; - color:#546076; - padding-top:16px; - margin-left: auto; + font-size:20px; + font-weight:600; + padding-top:16px; + margin-left: auto; margin-right: auto; - text-align:center; + text-align:center; } -.twit-text { - position:center; - display: block; +.member-text { + position:center; + display: block; margin: auto; - width:50%; - width:200px; - font:Roboto; - font-style:italic; - font-weight:400; - text-align:center; - padding-top:1%; - color:#5F6076; + font:Roboto; + font-style:italic; + font-weight:400; } .mission-text { - position:center; - display: block; + position:center; + display: block; margin: auto; - width:50%; - width:800px; - font:Roboto; - font-weight:400; - text-align:center; - padding-top:1%; - color:#5F6076; -} - -.twit-attribution:hover a{ - color:#109EF2; - cursor:pointer; -} -.twit-attribution a{ - - color: #363437; - height:20%; - font-weight:bolder; - display: block; - margin-left: auto; - margin-right: auto; - margin-top:auto; - margin-bottom:auto; - height:50%; - width:50%; - -} -.twit-icon{ - padding-top:20px; - font-size:25px; - position:absolute; - padding-left:20px; -} - -body{ - background-color: #F5F7FA;; - + width:50%; + width:800px; + font:Roboto; + font-weight:400; + text-align:center; + padding-top:1%; } diff --git a/public/images/5.png b/public/images/5.png deleted file mode 100644 index 55b3f3f..0000000 Binary files a/public/images/5.png and /dev/null differ diff --git a/public/images/person2.jpg b/public/images/claire.jpg similarity index 100% rename from public/images/person2.jpg rename to public/images/claire.jpg diff --git a/public/images/clouds.jpg b/public/images/clouds.jpg new file mode 100644 index 0000000..17d7526 Binary files /dev/null and b/public/images/clouds.jpg differ diff --git a/public/images/daa.jpg b/public/images/daa.jpg deleted file mode 100644 index 5b60c03..0000000 Binary files a/public/images/daa.jpg and /dev/null differ diff --git a/public/images/danila.jpg b/public/images/danila.jpg new file mode 100644 index 0000000..d336567 Binary files /dev/null and b/public/images/danila.jpg differ diff --git a/public/images/download.jpg b/public/images/download.jpg deleted file mode 100644 index 136d207..0000000 Binary files a/public/images/download.jpg and /dev/null differ diff --git a/public/images/matthew.jpg b/public/images/matthew.jpg new file mode 100644 index 0000000..d336567 Binary files /dev/null and b/public/images/matthew.jpg differ diff --git a/public/images/michael.jpg b/public/images/michael.jpg new file mode 100644 index 0000000..d336567 Binary files /dev/null and b/public/images/michael.jpg differ diff --git a/src/Go.cr b/src/Go.cr index 5d18930..e9b3e89 100644 --- a/src/Go.cr +++ b/src/Go.cr @@ -162,6 +162,10 @@ def handle_message(id, game, socket, message) end end +get "/about" do |env| + render "src/Go/views/about.ecr" +end + get "/" do |env| render "src/Go/views/index.ecr", "src/Go/views/base.ecr" end @@ -260,4 +264,4 @@ Kemal.run # For save on close # at_exit do # save_all(GAME_CACHE) -# end \ No newline at end of file +# end diff --git a/src/Go/views/about.ecr b/src/Go/views/about.ecr new file mode 100644 index 0000000..aff95e2 --- /dev/null +++ b/src/Go/views/about.ecr @@ -0,0 +1,72 @@ + + +
+ ++ Welcome to our Go website. We are Group 4 from CS 290. Our mission is very ambitious - to get an A in CS 290, Web Development. Despite the immense difficulty of this task, we did our best to bring you this website, so that you may enjoy playing the game of Go with your friends. After Google's AlphaGo's victory against the best human Go player, there's not really a point to playing against a computer - you will lose. +
++ We don't need a weakened government but a strong government that would take responsibility for the rights of the individual and care for the society as a whole. +
++ Education is a weapon whose effects depend on who holds it in his hands and at whom it is aimed. +
++ To be fair, you have to have a very high IQ to understand Rick and Morty. The humour is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head. +
++ Unfortunately these two properties are only implemented in Firefox and are behind a -moz- prefix. Here’s how you can use the various +
+
- Here's where I would write some stuff about something. I made it my task to try to replicate this webpage's design using twit as a baseline
- Here's the Website
-
-
- We don't need a weakened government but a strong government that would take responsibility for the rights of the individual and care for the society as a whole. -
- -- Education is a weapon whose effects depend on who holds it in his hands and at whom it is aimed. -
- -- To be fair, you have to have a very high IQ to understand Rick and Morty. The humour is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head. -
- -- Unfortunately these two properties are only implemented in Firefox and are behind a -moz- prefix. Here’s how you can use the various -
- -