Skip to content

Commit 5b51b79

Browse files
Merge pull request #6 from easy-deep-learning/feature/add-resources
Start working on resources
2 parents 664fc5d + beba3fb commit 5b51b79

File tree

18 files changed

+194
-27
lines changed

18 files changed

+194
-27
lines changed

README.md

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,13 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# Education technologies, news, books, courses, videos, articles, podcasts, and more
2+
23

3-
## Getting Started
4+
## Run locally
5+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
46

57
First, run the development server:
68

79
```bash
810
npm run dev
9-
# or
10-
yarn dev
1111
```
1212

1313
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
14-
15-
You can start editing the page by modifying `pages/page.tsx`. The page auto-updates as you edit the file.
16-
17-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
18-
19-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
20-
21-
## Learn More
22-
23-
To learn more about Next.js, take a look at the following resources:
24-
25-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
27-
28-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
29-
30-
## Deploy on Vercel
31-
32-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33-
34-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

_templates/_page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { NextPage } from 'next'
2+
3+
const SomePage: NextPage = () => {
4+
return (
5+
<div>SomePage</div>
6+
)
7+
}
8+
9+
export default SomePage

src/app/books/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { NextPage } from 'next'
2+
3+
const BooksPage: NextPage = () => {
4+
return (
5+
<div>BooksPage</div>
6+
)
7+
}
8+
9+
export default BooksPage

src/app/companies/page.tsx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import type { NextPage } from 'next'
2+
3+
import { CompaniesList } from '@/components'
4+
5+
const companies = [
6+
{
7+
id: '1',
8+
name: 'Khan Academy',
9+
url: 'https://www.khanacademy.org/',
10+
wiki: 'https://en.wikipedia.org/wiki/Khan_Academy',
11+
launched: '2006',
12+
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Khan_Academy_logo_%282018%29.svg/440px-Khan_Academy_logo_%282018%29.svg.png',
13+
description: 'Khan Academy is a nonprofit with the mission of providing a free, world-class education for anyone, anywhere.'
14+
},
15+
{
16+
id: '2',
17+
name: 'Coursera',
18+
url: 'https://www.coursera.org/',
19+
wiki: 'https://en.wikipedia.org/wiki/Coursera',
20+
launched: '2012',
21+
logo: 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Coursera_logo_%282020%29.svg/440px-Coursera_logo_%282020%29.svg.png',
22+
description: 'Choose from hundreds of free courses or pay to earn a Course or Specialization Certificate. Explore our catalog of online degrees, certificates, Specializations, & MOOCs in data science, computer science, business, health, and dozens of other topics.'
23+
}
24+
];
25+
26+
const CompaniesPage: NextPage = () => {
27+
return (
28+
<div>
29+
<h1>Companies</h1>
30+
<CompaniesList list={companies} />
31+
</div>
32+
)
33+
}
34+
35+
export default CompaniesPage

src/app/free-universities/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { NextPage } from 'next'
2+
3+
const FreeUniversitiesPage: NextPage = () => {
4+
return (
5+
<div>FreeUniversitiesPage</div>
6+
)
7+
}
8+
9+
export default FreeUniversitiesPage

src/app/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import type { ReactNode } from 'react'
2-
import { Metadata } from 'next'
2+
import type { Metadata } from 'next'
33
import Script from 'next/script'
4+
5+
import { GlobalMenu } from '@/components'
6+
47
import '@/styles/global.css'
58

69
export const metadata: Metadata = {
@@ -16,6 +19,9 @@ export default function RootLayout ({
1619
return (
1720
<html lang="en">
1821
<body>
22+
<header>
23+
<GlobalMenu />
24+
</header>
1925
<main>
2026
{children}
2127
</main>

src/app/news/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { NextPage } from 'next'
2+
3+
const NewsPage: NextPage = () => {
4+
return (
5+
<div>NewsPage</div>
6+
)
7+
}
8+
9+
export default NewsPage

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NextPage } from 'next'
1+
import type { NextPage } from 'next'
22
import Link from 'next/link'
33

44
const IndexPage: NextPage = () => {

src/app/systems/page.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import type { NextPage } from 'next'
2+
3+
import { SystemsList } from '@/components'
4+
5+
const systems = [
6+
{
7+
name: 'Flipped classroom',
8+
description: 'Flipped classroom is an instructional strategy and a type of blended learning that reverses the traditional learning environment by delivering instructional content, often online, outside of the classroom. It moves activities, including those that may have traditionally been considered homework, into the classroom. In a flipped classroom, students watch online lectures, collaborate in online discussions, or carry out research at home and engage in concepts in the classroom with the guidance of a mentor.',
9+
wiki: 'https://en.wikipedia.org/wiki/Flipped_classroom',
10+
},
11+
{
12+
name: 'Personalized learning',
13+
description: 'Personalized learning, individualized instruction, personal learning environment and direct instruction all refer to efforts to tailor education to meet the different needs of students. In addition, various terms are used to describe what personalized learning looks like, including differentiated instruction, individualized instruction and adaptive learning.',
14+
wiki: 'https://en.wikipedia.org/wiki/Personalized_learning',
15+
},
16+
]
17+
18+
const SystemsPage: NextPage = () => {
19+
return (
20+
<div>
21+
<h3>SystemsPage</h3>
22+
<SystemsList systems={systems} />
23+
</div>
24+
)
25+
}
26+
27+
export default SystemsPage
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
'use client'
2+
3+
type Company = {
4+
id: string
5+
name: string
6+
url: string
7+
logo: string
8+
description: string
9+
}
10+
11+
export type CompaniesListProps = {
12+
list: Company[]
13+
}
14+
15+
export const CompaniesList = ({ list }: CompaniesListProps) => {
16+
return (
17+
<div>
18+
<h3>CompaniesList</h3>
19+
{list.length > 0 && <ul>
20+
{list.map((company) => <li key={company.id}>
21+
<a href={company.url} target="_blank" rel="noreferrer">
22+
<img src={company.logo} alt={company.name} />
23+
{company.name}
24+
</a>
25+
<p>{company.description}</p>
26+
</li>)}
27+
</ul>}
28+
</div>
29+
)
30+
}

0 commit comments

Comments
 (0)