Skip to content

Commit 1eadbab

Browse files
authored
Merge pull request #1 from JacRIT/Project_Website_Next_Js
next js // github actions
2 parents 399b6ee + 6136de6 commit 1eadbab

File tree

20 files changed

+1431
-314
lines changed

20 files changed

+1431
-314
lines changed

.github/workflows/deploy.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy Next.js to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
- name: Setup Node
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: "18"
27+
cache: "npm"
28+
- name: Install dependencies
29+
run: npm ci
30+
- name: Build with Next.js
31+
run: npm run build
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v2
34+
with:
35+
path: ./codecrusaders/out
36+
37+
deploy:
38+
environment:
39+
name: github-pages
40+
url: ${{ steps.deployment.outputs.page_url }}
41+
runs-on: ubuntu-latest
42+
needs: build
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v2

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

codecrusaders/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

codecrusaders/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
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.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

codecrusaders/app/about/page.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
export default function About() {
2+
return (
3+
<section id="about">
4+
<h2>Project Synopsis</h2>
5+
<p>
6+
FiTR is an innovative web application designed to streamline the job
7+
matching process by connecting job seekers with employers based
8+
primarily on location and key skills. Modeled after a “dating app”
9+
format, users swipe left or right on job listings to indicate whether
10+
they possess the necessary skills for a given position. When a match
11+
occurs between a job seeker and an employer, a brief 5-10 minute
12+
interview is scheduled, allowing both parties to assess if they wish to
13+
continue the hiring process. Beyond facilitating quick connections, FiTR
14+
provides valuable insights for employers, educators, and job seekers.
15+
Employers can compare skills to other job postings, educators can
16+
identify in-demand skills, and job seekers can evaluate how their skills
17+
measure up against others in the industry. The platform highlights the
18+
skills users possess while identifying any gaps in their expertise. For
19+
job seekers seeking to enhance their qualifications, FiTR offers
20+
educational resources to acquire the necessary skills, paving the way
21+
for improved employability. Overall, FiTR is a comprehensive,
22+
professional career platform that simplifies the job search process for
23+
job seekers, employers, and educators alike. It empowers individuals to
24+
understand the skills they need to secure employment while fostering
25+
growth opportunities for career advancement.
26+
</p>
27+
</section>
28+
)
29+
}

codecrusaders/app/favicon.ico

25.3 KB
Binary file not shown.

style.css renamed to codecrusaders/app/globals.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
@import "tailwindcss";
2+
3+
:root {
4+
--background: #ffffff;
5+
--foreground: #171717;
6+
}
7+
8+
@theme inline {
9+
--color-background: var(--background);
10+
--color-foreground: var(--foreground);
11+
--font-sans: var(--font-geist-sans);
12+
--font-mono: var(--font-geist-mono);
13+
}
14+
15+
@media (prefers-color-scheme: dark) {
16+
:root {
17+
--background: #0a0a0a;
18+
--foreground: #ededed;
19+
}
20+
}
21+
22+
body {
23+
background: var(--background);
24+
color: var(--foreground);
25+
font-family: Arial, Helvetica, sans-serif;
26+
}
27+
128
/* General Reset */
229
* {
330
margin: 0;

codecrusaders/app/layout.tsx

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import type { Metadata } from "next"
2+
import { Geist, Geist_Mono } from "next/font/google"
3+
import "./globals.css"
4+
5+
const geistSans = Geist({
6+
variable: "--font-geist-sans",
7+
subsets: ["latin"],
8+
})
9+
10+
const geistMono = Geist_Mono({
11+
variable: "--font-geist-mono",
12+
subsets: ["latin"],
13+
})
14+
15+
export const metadata: Metadata = {
16+
title: "Create Next App",
17+
description: "Generated by create next app",
18+
}
19+
20+
export default function RootLayout({
21+
children,
22+
}: Readonly<{
23+
children: React.ReactNode
24+
}>) {
25+
return (
26+
<html lang="en">
27+
<body
28+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
29+
>
30+
<header>
31+
<h1>Career Roadmaps</h1>
32+
<nav>
33+
<ul>
34+
<li>
35+
<a href="/">Home</a>
36+
</li>
37+
<li>
38+
<a href="/about">About</a>
39+
</li>
40+
<li>
41+
<a href="/team">Team</a>
42+
</li>
43+
<li>
44+
<a href="/reports_and_metrics">Metrics and Reports</a>
45+
</li>
46+
<li>
47+
<a href="/process">Process and Plan</a>
48+
</li>
49+
<li>
50+
<a href="https://github.com/JacRIT/Team3.github.io/wiki">
51+
Wiki/Documentation
52+
</a>
53+
</li>
54+
</ul>
55+
</nav>
56+
</header>
57+
<main>{children}</main>
58+
</body>
59+
</html>
60+
)
61+
}

codecrusaders/app/page.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Image from "next/image"
2+
import About from "./about/page"
3+
import Team from "./team/page"
4+
import Reports_And_Metrics from "./reports_and_metrics/page"
5+
import Process from "./process/page"
6+
7+
export default function Home() {
8+
return (
9+
<>
10+
<About />
11+
<Team />
12+
<Reports_And_Metrics />
13+
<Process />
14+
</>
15+
)
16+
}

codecrusaders/app/process/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default function Process() {
2+
return (
3+
<section id="process">
4+
<h2>Process and Plan</h2>
5+
<iframe src="https://docs.google.com/document/d/e/2PACX-1vRhc7M6mh0PP249T_HxK5GVZogUQQkIBW2RxMMXAaqSbr5qd4XmZ6dunclc9vOZgUJNRlHg6T4f9C6m/pub?embedded=true"></iframe>
6+
</section>
7+
)
8+
}

0 commit comments

Comments
 (0)