Skip to content

Commit 8198f18

Browse files
goodgooftimdavish
authored andcommitted
Feature/#155111485 - Visitor sees Landing Page (Section F) (#191)
* feature #155111485- Visitor sees landing page(Section F) * some changes in app.js * changes in landingf.js * fixed error * remove first 2 lines * commented out the images * deleted 2 video images * put images back with closing tag * changed the landingf * some changes again * changed class names * changed linkedin class * styles added to social media * some changes * column1 changed * removed <a> tag * removed few links * added links * fixed error * another bug * changed logo image * font-size * changed some css * changes in margin and padding * column width change * fixing test bugs * few more bugs fixed * bug * decreased spacing between columns * fixed spacing bet columns * made changes based on review
1 parent fbc9ef5 commit 8198f18

File tree

5 files changed

+87
-0
lines changed

5 files changed

+87
-0
lines changed

client/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import SignupForm from './components/SignupForm/SignupForm'
1616
import Version from './components/Version/Version'
1717
import LandingA from './components/LandingA/LandingA'
1818
import LandingC from './components/LandingC/LandingC'
19+
import Footer from './components/LandingF/LandingF'
1920

2021
// set up components for lazy loading
2122
const ProfileRestrictedLoadable = restricted(Loadable({
@@ -53,6 +54,7 @@ class App extends Component {
5354
<Route path='/signup' component={SignupForm}/>
5455
<Route path='/landing-a' component={LandingA} />
5556
<Route path='/landing-c' component={LandingC} />
57+
<Route path='/landing-f' component={Footer} />
5658
<Route path='/show-applications' component={ApplicationsRestrictedLoadable} />
5759
</Switch>
5860
</div>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import React from 'react'
2+
import styles from './LandingF.scss'
3+
import logoV from '../../images/logo-home-video-copy.png'
4+
import c3nonprofit from '../../images/501-c-3-nonprofit.png'
5+
6+
class Footer extends React.Component {
7+
render () {
8+
return (
9+
<div className={styles.container}>
10+
<div className={styles.column1}>
11+
<img src={logoV} alt="Call to code logo"/>
12+
<p><img src={c3nonprofit} className={styles.nonProfit} /></p>
13+
</div>
14+
15+
<div className={styles.column2}>
16+
<ul className={styles.list}>
17+
<li className={styles.projects}><a href="#" className={styles.link}>Projects</a></li>
18+
</ul>
19+
</div>
20+
21+
<div className={styles.column3}>
22+
<ul className={styles.list}>
23+
<li className={styles.about}><a href="#" className={styles.link}>About</a></li>
24+
</ul>
25+
</div>
26+
</div>
27+
)
28+
}
29+
}
30+
31+
export default Footer
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
@import "../../scss/partials/partials";
2+
3+
$black: #2c2c2c;
4+
$grey: #9fa3a7;
5+
$white: #ffffff;
6+
7+
8+
.container {
9+
background-color: $black;
10+
background-size: cover;
11+
object-fit: contain;
12+
height: 438px;
13+
color: $white;
14+
display: flex;
15+
left: 0;
16+
right: 0;
17+
position: absolute;
18+
}
19+
20+
.projects, .about {
21+
width: 103px;
22+
height: 15px;
23+
list-style-type: none;
24+
font-size: 15.6px;
25+
font-weight: bold;
26+
letter-spacing: 3.1px;
27+
text-align: left;
28+
}
29+
30+
.link {
31+
color: $white;
32+
}
33+
.column1, .column2, .column3, .column4 {
34+
margin-top: 103px;
35+
}
36+
37+
.column1 {
38+
margin-left: 95px;
39+
}
40+
41+
.nonProfit {
42+
margin-top: 24px;
43+
}
44+
.column2 {
45+
margin-left: 137px;
46+
padding-left: 0px;
47+
text-align: left;
48+
width: 131px;
49+
}
50+
51+
.column3 {
52+
margin-left: 75px;
53+
width: 131px;
54+
}

client/images/501-c-3-nonprofit.png

4.57 KB
Loading
15.4 KB
Loading

0 commit comments

Comments
 (0)