Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
evans129 committed Feb 3, 2023
1 parent be0d881 commit 85cb2c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"homepage": "https://evans129.github.io/Portfolio_website",
"name": "portfolio_website",
"version": "0.1.0",
"private": true,
Expand All @@ -16,6 +17,8 @@
},
"scripts": {
"start": "react-scripts start",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
Binary file modified src/assets/project1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/WorkCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const WorkCard = (props) => {
<h2 className="project-title">{props.title}</h2>
<div className="pro-details"><p>{props.text}</p>
<div className="pro-btns">
<NavLink to={props.view} className="btn">View</NavLink>
<a href={props.view}><button className="btn">View</button></a>
<NavLink to={props.source} className="btn">Source</NavLink>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BrowserRouter } from 'react-router-dom';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<BrowserRouter>
<BrowserRouter basename={process.env.PUBLIC_URL}>
<App />
</BrowserRouter>
);
Expand Down

0 comments on commit 85cb2c5

Please sign in to comment.