3
3
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
4
4
*/
5
5
6
- import { Col , Layout , Row } from "antd" ;
7
- import { ReactNode } from "react" ;
8
-
6
+ import { Layout } from "antd" ;
9
7
import { Icon } from "@cocalc/frontend/components/icon" ;
10
8
import { AvailableTools } from "components/landing/available-tools" ;
11
- import BannerWithLinks from "components/landing/banner-with-links" ;
12
9
import Contact from "components/landing/contact" ;
13
10
import Content from "components/landing/content" ;
14
11
import Footer from "components/landing/footer" ;
@@ -26,12 +23,8 @@ import assignments from "public/features/cocalc-course-assignments-2019.png";
26
23
import nbgrader from "public/features/cocalc-jupyter-nbgrader-overview.png" ;
27
24
import teaching from "public/features/cocalc-teaching.png" ;
28
25
import logo from "public/features/fa-graduation-cap.svg" ;
29
- import kiran from "public/features/kiran.jpeg" ;
30
- import conley from "public/features/will_conley.jpg" ;
31
26
32
27
export default function Teaching ( { customize } ) {
33
- const { onCoCalcCom, shareServer } = customize ;
34
-
35
28
const pitchPcLab = (
36
29
< >
37
30
< Title level = { 2 } >
@@ -162,7 +155,6 @@ export default function Teaching({ customize }) {
162
155
< Layout >
163
156
< Header page = "features" subPage = "teaching" />
164
157
< Layout . Content >
165
- { shareServer && onCoCalcCom && < BannerWithLinks /> }
166
158
< Content
167
159
landing
168
160
startup = { "CoCalc" }
@@ -305,52 +297,6 @@ export default function Teaching({ customize }) {
305
297
306
298
< AvailableTools style = { { } } />
307
299
308
- < div style = { { padding : "30px 10%" , backgroundColor : "#fff" } } >
309
- < Title
310
- level = { 1 }
311
- style = { { textAlign : "center" , color : "#333" , fontSize : "32pt" } }
312
- >
313
- < Icon name = "comment" style = { { marginRight : "10px" } } /> { " " }
314
- Testimonials
315
- </ Title >
316
-
317
- < Row >
318
- < Col lg = { 12 } >
319
- < Testimonial
320
- image = { kiran }
321
- name = "Kiran Kedlaya"
322
- coords = "UC San Diego, March 2017"
323
- >
324
- I just found out that my CoCalc class got by far the best
325
- course evaluations for any course I've taught at UCSD to date
326
- (over 85% on the favorable/unfavorable scale), which makes it
327
- a sure thing that I'll be teaching this course again (in some
328
- form) next year! Many thanks for the backend work on CoCalc,
329
- for the course materials, for the guest lecture...
330
- </ Testimonial >
331
- </ Col >
332
- < Col lg = { 12 } >
333
- < Testimonial
334
- image = { conley }
335
- name = "Will Conley"
336
- coords = "University of California at Los Angeles, Fall 2016"
337
- >
338
- CoCalc provides a user-friendly interface. Students don't need
339
- to install any software at all. They just open up a web
340
- browser and go to{ " " }
341
- < A href = "https://cocalc.com" > https://cocalc.com</ A > and that's
342
- it. They just type code directly in, hit shift+enter and it
343
- runs, and they can see if it works. It provides immediate
344
- feedback. The{ " " }
345
- < A href = "https://doc.cocalc.com/teaching-instructors.html" >
346
- course management features
347
- </ A > { " " }
348
- work really well.
349
- </ Testimonial >
350
- </ Col >
351
- </ Row >
352
- </ div >
353
-
354
300
< SignIn />
355
301
</ Layout . Content >
356
302
< Footer />
@@ -362,39 +308,3 @@ export default function Teaching({ customize }) {
362
308
export async function getServerSideProps ( context ) {
363
309
return await withCustomize ( { context } ) ;
364
310
}
365
-
366
- interface TestimonialProps {
367
- image ;
368
- name : string ;
369
- coords : string ;
370
- children : ReactNode ;
371
- }
372
-
373
- function Testimonial ( { image, name, coords, children } : TestimonialProps ) {
374
- return (
375
- < blockquote
376
- style = { {
377
- padding : "10px 20px" ,
378
- margin : "0 0 20px" ,
379
- borderLeft : "5px solid #eee" ,
380
- } }
381
- >
382
- < Image
383
- src = { image }
384
- alt = { name }
385
- style = { {
386
- width : "90px" ,
387
- borderRadius : "6px" ,
388
- float : "left" ,
389
- margin : "15px" ,
390
- } }
391
- />
392
- < Paragraph >
393
- { children }
394
- < footer style = { { marginTop : "15px" , color : "#666" } } >
395
- — < strong > { name } </ strong > — { coords }
396
- </ footer >
397
- </ Paragraph >
398
- </ blockquote >
399
- ) ;
400
- }
0 commit comments