Added Github section in About
This will replace section in navbar
This commit is contained in:
parent
4c63b97bd6
commit
d26d2f8b6e
|
|
@ -3,6 +3,7 @@ import { Link } from 'react-router-dom';
|
||||||
import './css/About.css';
|
import './css/About.css';
|
||||||
import Theater from './subcomponents/Theater';
|
import Theater from './subcomponents/Theater';
|
||||||
import Card from './subcomponents/Card';
|
import Card from './subcomponents/Card';
|
||||||
|
import GithubRepos from './subcomponents/GithubRepos';
|
||||||
|
|
||||||
|
|
||||||
class About extends React.Component {
|
class About extends React.Component {
|
||||||
|
|
@ -35,13 +36,18 @@ class About extends React.Component {
|
||||||
at the end of this semester.
|
at the end of this semester.
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Card title="Camerin Figueroa" image={"/img/profile.webp"}>
|
<Card title="Camerin Figueroa" image="/img/profile.webp">
|
||||||
You can find a few of my projects on my
|
You can find a few of my projects on my
|
||||||
<a href="https://github.com/RaspberryProgramming" target="_blank" rel="noreferrer"> Github</a> or look through a list of projects on this website
|
<a href="https://github.com/RaspberryProgramming" target="_blank" rel="noreferrer"> Github</a> or look through a list of projects on this website
|
||||||
at the <Link to="/github"> Github Page</Link>. You can email me at <a href="mailto:cam@camscode.com">cam@camscode.com</a>. You can also find more
|
at the <Link to="/github"> Github Page</Link>. You can email me at <a href="mailto:cam@camscode.com">cam@camscode.com</a>. You can also find more
|
||||||
social media below, just click the image and it'll bring you to the selected website.
|
social media below, just click the image and it'll bring you to the selected website.
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
<Card title="Github" image="/img/github.webp" link="/github">
|
||||||
|
You can access a list of github repositories that I've created directly on this site.
|
||||||
|
<GithubRepos style={{width: "50vw"}} username="RaspberryProgramming"/>
|
||||||
|
</Card>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div className="social">
|
<div className="social">
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { Link } from 'react-router-dom';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import {toggleContactModal} from '../actions'
|
import {toggleContactModal} from '../actions'
|
||||||
import './css/Navigation.css';
|
import './css/Navigation.css';
|
||||||
import { HouseDoor, FileEarmarkPerson, Github, Envelope, Book } from 'react-bootstrap-icons';
|
import { HouseDoor, FileEarmarkPerson, Lightbulb, Envelope, Book } from 'react-bootstrap-icons';
|
||||||
import ContactModal from './subcomponents/ContactModal';
|
import ContactModal from './subcomponents/ContactModal';
|
||||||
|
|
||||||
const Navigation = (props) => {
|
const Navigation = (props) => {
|
||||||
|
|
@ -13,9 +13,9 @@ const Navigation = (props) => {
|
||||||
Home
|
Home
|
||||||
<HouseDoor />
|
<HouseDoor />
|
||||||
</Link>
|
</Link>
|
||||||
<Link to="/github">
|
<Link to="/bai">
|
||||||
Github
|
Blank AI
|
||||||
<Github />
|
<Lightbulb />
|
||||||
</Link>
|
</Link>
|
||||||
<Link to="/articles">
|
<Link to="/articles">
|
||||||
Articles
|
Articles
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,13 @@
|
||||||
color: #3D3D3D;
|
color: #3D3D3D;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .content {
|
.card .content-box {
|
||||||
text-align:left;
|
text-align:left;
|
||||||
font-size:xx-large;
|
font-size:xx-large;
|
||||||
margin-right: 2rem;
|
margin-right: 2rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
max-height: 80vh;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card img {
|
.card img {
|
||||||
|
|
@ -30,7 +32,7 @@
|
||||||
border-color: #A5B2A4;
|
border-color: #A5B2A4;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
height: 10rem;
|
max-height: 10rem;
|
||||||
width: 10rem;
|
width: 10rem;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
background-color: #FAFAFF
|
background-color: #FAFAFF
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,11 @@ const Card = (props) => {
|
||||||
return (
|
return (
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<div>
|
<div>
|
||||||
<div className="title">{props.title}</div>
|
{props.link ?
|
||||||
<div className="content">
|
<a href={props.link} className="title">{props.title}</a>
|
||||||
|
:<div className="title">{props.title}</div>
|
||||||
|
}
|
||||||
|
<div className="content-box">
|
||||||
{props.children}
|
{props.children}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue