-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
87 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,25 @@ | ||
import clsx from 'clsx'; | ||
import Heading from '@theme/Heading'; | ||
import React from 'react'; | ||
import styles from './styles.module.css'; | ||
|
||
const FeatureList = [ | ||
{ | ||
title: 'Easy to Use', | ||
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, | ||
description: ( | ||
<> | ||
Docusaurus was designed from the ground up to be easily installed and | ||
used to get your website up and running quickly. | ||
</> | ||
), | ||
}, | ||
{ | ||
title: 'Focus on What Matters', | ||
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, | ||
description: ( | ||
<> | ||
Docusaurus lets you focus on your docs, and we'll do the chores. Go | ||
ahead and move your docs into the <code>docs</code> directory. | ||
</> | ||
), | ||
}, | ||
{ | ||
title: 'Powered by React', | ||
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, | ||
description: ( | ||
<> | ||
Extend or customize your website layout by reusing React. Docusaurus can | ||
be extended while reusing the same header and footer. | ||
</> | ||
), | ||
}, | ||
]; | ||
|
||
function Feature({Svg, title, description}) { | ||
return ( | ||
<div className={clsx('col col--4')}> | ||
<div className="text--center"> | ||
<Svg className={styles.featureSvg} role="img" /> | ||
</div> | ||
<div className="text--center padding-horiz--md"> | ||
<Heading as="h3">{title}</Heading> | ||
<p>{description}</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default function HomepageFeatures() { | ||
return ( | ||
<section className={styles.features}> | ||
<div className="container"> | ||
<div className="row"> | ||
{FeatureList.map((props, idx) => ( | ||
<Feature key={idx} {...props} /> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} | ||
return ( | ||
<section> | ||
<div className={styles.container}> | ||
<div className={styles.course}> | ||
<h1>DSC 10: Principles of Data Science</h1> | ||
<p>(4)</p> | ||
</div> | ||
<p className={styles.description}> | ||
This first course in data science introduces students to data exploration, statistical inference, | ||
and prediction. It introduces Python programming language as a tool for tabular data manipulation, | ||
visualization, and simulation. Through homework assignments and projects, students are given an | ||
opportunity to develop their analytical skills while working with real-world datasets from a variety | ||
of domains. | ||
</p> | ||
<div className={styles.imageContainer}> | ||
<img src="img/dsc10graph.png" alt="DSC 10 Chart" className={styles.image}/> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,45 @@ | ||
.features { | ||
.container { | ||
margin: 2rem auto; | ||
max-width: 800px; | ||
} | ||
|
||
.course { | ||
display: flex; | ||
align-items: center; | ||
padding: 2rem 0; | ||
width: 100%; | ||
align-items: baseline; /* Aligns text of different font sizes properly */ | ||
} | ||
|
||
.course h1 { | ||
font-size: 2rem; | ||
font-weight: bold; | ||
margin-right: 1rem; /* Adds space between the title and the (4) */ | ||
} | ||
|
||
.course p { | ||
font-size: 1.2rem; | ||
margin-left: 0; | ||
margin-right: 0; | ||
} | ||
|
||
.featureSvg { | ||
height: 200px; | ||
width: 200px; | ||
.description { | ||
font-size: 1.1rem; | ||
line-height: 1.6; | ||
margin-top: 1rem; | ||
} | ||
|
||
.imageContainer { | ||
margin-top: 1rem; | ||
text-align: center; | ||
} | ||
|
||
.image { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: 4px; | ||
padding: 5px; | ||
} | ||
|
||
.code { | ||
font-family: 'Courier New', Courier, monospace; | ||
padding: 2px 4px; | ||
border-radius: 4px; | ||
} |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.