Skip to content

Commit 6ad15cd

Browse files
added images and contact component.
1 parent fa36e3f commit 6ad15cd

File tree

11 files changed

+29
-4
lines changed

11 files changed

+29
-4
lines changed

widgets/portfolio/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"main": "index.js",
55
"license": "MIT",
66
"dependencies": {
7+
"@material-ui/core": "^4.11.2",
8+
"@material-ui/icons": "^4.11.2",
79
"@types/react-router-dom": "^5.1.5",
810
"bootstrap": "^4.5.2",
911
"dotenv": "^8.2.0",

widgets/portfolio/src/components/Carousel/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,24 @@ export class ProfileSlider extends React.Component<CarouselProps, {}> {
5757
<img className="mx-auto img-responsive" src="../../src/images/cookies.png" width={250} height={150}/>
5858
</div>
5959
<div className="mb-sm-3">
60-
<h3><a className="text-white" href="https://github.com/knight-coder-llc/AI-Vehicle-Calculator">AI Price Estimator</a></h3>
60+
<h3><a className="text-white" href="https://github.com/knight-coder-llc/AI-Vehicle-Calculator">Price Estimator</a></h3>
6161
<img className="mx-auto rounded-circle img-responsive" src="../../src/images/ai-cars.png" width={150} height={150}/>
6262
</div>
6363
<div className="mb-sm-3">
6464
<h3><a className="text-white" href="https://github.com/knight-coder-llc/sms-spam-filter">SMS Spam Filter</a></h3>
65-
<img className="mx-auto img-responsive" src="../../src/images/cookies.png" width={250} height={150}/>
65+
<img className="mx-auto img-responsive" src="../../src/images/open-email.png" width={160} height={150}/>
6666
</div>
6767
<div className="mb-sm-3">
6868
<h3><a className="text-white" href="https://github.com/knight-coder-llc/Meal_Planner">Meal Planner</a></h3>
69-
<img className="mx-auto img-responsive" src="../../src/images/cookies.png" width={250} height={150}/>
69+
<img className="mx-auto img-responsive" src="../../src/images/porkchops.jpg" width={250} height={150}/>
7070
</div>
7171
<div className="mb-sm-3">
7272
<h3><a className="text-white" href="https://github.com/knight-coder-llc/my_pygame_projects">Deep Space</a></h3>
7373
<img className="mx-auto img-responsive" src="../../src/images/pygame_logo.gif" width={250} height={100}/>
7474
</div>
7575
<div className="mb-sm-3">
7676
<h3><a className="text-white" href="https://github.com/knight-coder-llc/knight-coder">Knight Coder Profile</a></h3>
77-
<img className="mx-auto img-responsive" src="../../src/images/cookies.png" width={250} height={150}/>
77+
<img className="mx-auto img-responsive" src="../../src/images/logo_transparent.png" width={150} height={150}/>
7878
</div>
7979

8080
</Slider>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import * as React from 'react';
2+
import {ContactProps} from './interface';
3+
import Button from '@material-ui/core/Button';
4+
import EmailIcon from '@material-ui/icons/Email';
5+
6+
export class Contact extends React.Component<ContactProps, {}> {
7+
render () {
8+
return (
9+
<div className="text-center mb-2 mt-4 ">
10+
<Button variant="outlined" color="secondary"><EmailIcon color="secondary" fontSize="large" /> Contact</Button>
11+
</div>
12+
)
13+
}
14+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export interface ContactProps {
2+
3+
}

widgets/portfolio/src/components/Home/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as React from 'react';
22
import { ProfileSlider } from '../Carousel';
33
import { HomePageProps } from './interface';
4+
import { Contact } from '../Contact';
45
import { ChatBot } from '../Chatbot';
56

67
export class HomePage extends React.Component<HomePageProps, {}> {
@@ -20,6 +21,7 @@ export class HomePage extends React.Component<HomePageProps, {}> {
2021
</picture>
2122
<h2 className="text-center ">Brian Kilburn - Owner</h2>
2223
</div>
24+
<Contact />
2325
<div className="mt-5">
2426
<div className="d-flex" id="background-anim">
2527
<div className="purple"></div>

widgets/portfolio/src/components/Layout/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as React from 'react';
33
import { LayoutProps } from './interface';
44
import { Header } from '../Header';
55
import { Navigator } from '../Navigation';
6+
import { Contact } from '../Contact';
67
import { Footer } from '../Navigation/footer';
78

89
export class Layout extends React.Component<LayoutProps, {}> {
@@ -26,6 +27,7 @@ export class Layout extends React.Component<LayoutProps, {}> {
2627
</div>
2728
</div>
2829
</div>
30+
{/* <Contact /> */}
2931
<Footer />
3032
</>
3133
)
5.5 KB
Loading
47.3 KB
Loading
266 KB
Loading
13.1 KB
Loading

0 commit comments

Comments
 (0)