Skip to content

Commit

Permalink
adding octocat image
Browse files Browse the repository at this point in the history
  • Loading branch information
ireneelizabethsabu committed Sep 6, 2021
1 parent a953a30 commit 073964f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
Binary file added src/assets/octocat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/components/Home.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.home-row{
.right{
padding-top: 150px;
}
.left{
padding-top: 100px;
}
.title {
font-size: 1.3rem !important;
letter-spacing: 3px;
Expand Down
7 changes: 5 additions & 2 deletions src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
import {Button, Form,Row,Col, Container} from 'react-bootstrap';
import './Home.css';
import { useHistory } from "react-router-dom";
//import {Octocat} from '.octocat.gif';
import octocat from '../assets/octocat.png';

export const Home = () => {
const [id,setId]=useState('');
Expand All @@ -15,7 +15,10 @@ export const Home = () => {
<Container fluid className="min-vh-100 home-container">

<Row className="home-row justify-content-center">
<Col className="text-center">
<Col className="left pr-0 d-none d-lg-block d-flex justify-content-center">
<img src={octocat} width="500px" alt="pic"/>
</Col>
<Col className="text-center right pl-0">
<h1 >CV-GENERATOR</h1>
<p className="title gradient-font">
Generates CV Based on Github Profile
Expand Down
18 changes: 18 additions & 0 deletions src/components/octo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/components/octocat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 073964f

Please sign in to comment.