Skip to content

Commit

Permalink
Used a generic career set and added 2 more questions
Browse files Browse the repository at this point in the history
  • Loading branch information
hasith committed Oct 10, 2023
1 parent fc7c921 commit e4a8b65
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 378 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ const nextConfig = {
distDir: 'out',
// Add basePath
basePath: '/recommend-me-a-career',
images: { unoptimized: true },

}
module.exports = nextConfig
11 changes: 8 additions & 3 deletions src/app/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import Link from "next/link";
import { useEffect, useState } from "react";
import './header.css';
import { basePath } from '../../../next.config';
import Image from 'next/image';


export default function Header() {
useEffect(() => {
Expand All @@ -21,9 +24,11 @@ export default function Header() {
<div className="logo">
<Link href="/">
<div className="navbarBrand">
<img
src="./logo.png"
alt="moraLogo"
<Image
src={`${basePath}/logo.png`}
alt="SLASSCOM Logo"
width={200}
height={50}
/>
</div>
</Link>
Expand Down
17 changes: 0 additions & 17 deletions src/app/components/careers.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/components/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ header {
}

.logo img {
height: 50px;
height: 75px;
}

.header-right {
Expand Down
Loading

0 comments on commit e4a8b65

Please sign in to comment.