Moved images to /public directory

This commit is contained in:
RaspberryProgramming 2021-09-21 16:25:12 -04:00
parent cd0e62550e
commit 9937892910
7 changed files with 4 additions and 7 deletions

BIN
public/img/background.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 998 KiB

After

Width:  |  Height:  |  Size: 998 KiB

BIN
public/img/sunset.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

View File

@ -1,8 +1,6 @@
import React from 'react';
import { Link } from 'react-router-dom';
import './css/About.css';
import ReactImage from '../img/react.webp';
import ProfilePic from '../img/profile.webp';
import Theater from './Theater';
import Card from './Card';
@ -15,14 +13,14 @@ class About extends React.Component {
render() {
return (
<div className="About">
<Theater title="About" description="This page has information about me and about this site." extraClasses="h-50v" />
<Card title="Build with React" image={ReactImage}>
<Theater title="About" description="This page has information about me and about this site." extraClasses="h-50v" background="/img/sunset.webp"/>
<Card title="Build with React" image="/img/react.webp">
This website is created with <a href="https://reactjs.org/">React</a>, a javascript library for creating user interfaces and webapps.
React uses a component based design to help developers create easily re-usable code, and to help streamline the development process.
JSX is a part of react which makes it easy to design websites directly in javascript code.
</Card>
<Card title="Camerin Figueroa" image={ProfilePic}>
<Card title="Camerin Figueroa" image={"/img/profile.webp"}>
I am a computer science student at Marist College in Poughkeepsie, NY. I'm closing in on my Bachelors Degree in Computer Science.
I went to Orange County Community College for my Associates Degree in Computer Science. 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 in the

View File

@ -3,7 +3,6 @@ import { connect } from 'react-redux';
import './css/Github.css';
import {getRepos} from '../actions';
import Theater from './Theater';
import space from '../img/space.webp';
class Github extends React.Component {
@ -48,7 +47,7 @@ class Github extends React.Component {
You can check them out, fork them, and maybe give them a
star. Any projects that have a website will have a button
that will bring you right to the site"
background={space}
background="/img/space.webp"
extraClasses="peak"
/>
<div>