Skip to content

Commit

Permalink
Merge pull request #12 from sfuosdev/issue_9/landing-page
Browse files Browse the repository at this point in the history
finish up landing page
  • Loading branch information
Seanspoons authored Oct 13, 2024
2 parents ae86c6d + f6e5c3b commit 97810e9
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const config: Config = {
// Replace with your project's social card
image: "img/social-card.jpg",
navbar: {
title: "OS Dev Documentation",
title: "SFU OS Dev Docs",
logo: {
alt: "SFU OS Dev logo",
src: "img/oslogo_transparent.svg",
Expand Down
37 changes: 19 additions & 18 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
import clsx from "clsx";
import Heading from "@theme/Heading";
import styles from "./styles.module.css";

type FeatureItem = {
title: string;
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
Svg: React.ComponentType<React.ComponentProps<"svg">>;
description: JSX.Element;
};

const FeatureList: FeatureItem[] = [
{
title: 'Easy to Use',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
title: "Easy to use",
Svg: require("@site/static/img/2.svg").default,
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
used to get your website up and running quickly.
Docusaurus is a modern static site generator. It is easy to use and
allows us to create a documentation tool for current and future
colleagues.
</>
),
},
{
title: 'Focus on What Matters',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
title: "Easy to learn",
Svg: require("@site/static/img/3.svg").default,
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
ahead and move your docs into the <code>docs</code> directory.
Based on user-friendly documentation, students can easily learn the
important concepts of software development and open-source.
</>
),
},
{
title: 'Powered by React',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
title: "Contributions",
Svg: require("@site/static/img/4.svg").default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
Contribute your knowledge to the community for future colleagues who may
struggle to join the open-source community and projects.
</>
),
},
];

function Feature({title, Svg, description}: FeatureItem) {
function Feature({ title, Svg, description }: FeatureItem) {
return (
<div className={clsx('col col--4')}>
<div className={clsx("col col--4")}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
</div>
Expand Down
1 change: 1 addition & 0 deletions static/img/2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/img/3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/img/4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97810e9

Please sign in to comment.