Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ http {
#443(https)
listen 443 ssl;

# ssl certificate
# ssl certificate
ssl_certificate sce_sjsu_edu_cert.cer;
ssl_certificate_key sce.key;
# TLS protocol (remember to update to the newest protocols for best security)
Expand Down Expand Up @@ -62,7 +62,7 @@ http {
location ~ ^/recipe {
return 302 $scheme://$http_host/recipe/;
}

location ~ ^/transit/ {
resolver 127.0.0.11 valid=15s;

Expand All @@ -71,12 +71,17 @@ http {
proxy_pass $upstream;

rewrite ^/transit(.*)$ $1 break;
}
}

location ~ ^/transit$ {
return 302 $scheme://$http_host/transit/;
}

location ~ ^/spartan-compass(/.*)? {
proxy_set_header Host $http_host;
proxy_pass http://compass-app:3000;
}

#Load balancer
location /api {
proxy_pass http://mainendpoints;
Expand Down
1 change: 1 addition & 0 deletions src/Components/Navbar/UserNavbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default function UserNavBar(props) {
const unauthedRoutes = [
{ title: 'About', route: '/about' },
{ title: 'Projects', route: '/projects' },
{ title: 'Spartan Compass', route: '/spartan-compass' }
];


Expand Down
8 changes: 8 additions & 0 deletions src/Pages/Projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ import React from 'react';
import ProjectCard from './Components/ProjectCard';

const projects = [
{
'link': 'https://github.com/SCE-Development/spartan-compass',
'image': 'https://i.postimg.cc/c4F1T49f/temp-Image-Ry-Gq-U4.avif',
'name': 'Spartan Compass', 'subnote': 'Rate My Professor+',
'information': 'Full Stack',
'caption': 'Spartan Compass is a web application that allows students to review professors based off their courses. It is built with React, Next.js, and Drizzle ORM. It also uses python for the webscraping of Rate My Professor.'
},

{
'link': 'https://github.com/SCE-Development/Clark',
'image': 'https://user-images.githubusercontent.com/59713070/235862105-9606e862-e27e-40d4-8991-de1793c48dd0.png',
Expand Down