Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions public/Header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Header () {
return (
<div className = 'headermain'>
<NavBar />
<Logo />
<SearchBar />
</div>
);
}
8 changes: 8 additions & 0 deletions public/Left.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Left () {
return (
<div className='bodydiv1'>
<User />
<Trends />
</div>
);
}
7 changes: 7 additions & 0 deletions public/LiveVideo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function LiveVideo () {
return (
<div className = 'livevid'>
<div className = 'liveVidinside'>Live Video</div>
</div>
);
}
6 changes: 6 additions & 0 deletions public/Logo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function Logo () {
return (
<div className='header2'>
</div>
);
}
12 changes: 9 additions & 3 deletions public/Main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
function Main(){
return <div>Hello</div>
}
function Main (){
return (
<div>
<Header />
<Left /> <Middle /> <Right />
</div>

);
}
8 changes: 8 additions & 0 deletions public/Middle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Middle () {
return (
<div className='bodydiv2'>
<NewTweet />
<Tweets />
</div>
);
}
10 changes: 10 additions & 0 deletions public/NavBar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function NavBar () {
return (
<div className='header1'>
<button>Home</button>
<button>Moments</button>
<button>Notifications</button>
<button>Messages</button>
</div>
);
}
7 changes: 7 additions & 0 deletions public/NewTweet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function NewTweet () {
return (
<div>
What's happening? ________________
</div>
);
}
8 changes: 8 additions & 0 deletions public/Right.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Right () {
return (
<div className='bodydiv3'>
<WhoToFollow />
<LiveVideo />
</div>
);
}
8 changes: 8 additions & 0 deletions public/SearchBar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function SearchBar () {
return (
<div className='header3'>
Search
<input type='text' className='searcher'/>
</div>
);
}
11 changes: 11 additions & 0 deletions public/Trends.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function Trends () {
return (
<div>
<h3> Trending topic 1</h3>
<h3> Trending topic 2</h3>
<h3> Trending topic 3</h3>
<h3> Trending topic 4</h3>
<h3> Trending topic 5</h3>
</div>
);
}
19 changes: 19 additions & 0 deletions public/Tweets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
function Tweets () {
var tweets = [
"ACA class was so awesome today.",
"I just checked out that new restaurant, it was okay",
"I just saw a movie that changed my life",
"shirts are 50% of at Macy's today"
];
return (
<div>
{tweets.map((item) => {
return (
<div key={item}>
<h2>{item}</h2>
</div>
);
})}
</div>
);
}
9 changes: 9 additions & 0 deletions public/User.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function User () {
return (
<div>
<div className= 'pic'></div>
<h1>Jesse Paulk</h1>
<h2> Tweets: 1 </h2><h2> Following: 300 </h2><h2> Followers: 0 </h2>
</div>
);
}
11 changes: 11 additions & 0 deletions public/WhoToFollow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function WhoToFollow () {
return (
<div>
<h2> Follow Jim </h2>
<h2> Follow Jack </h2>
<h2> Follow Jill </h2>
<h2> Follow John </h2>

</div>
);
}
35 changes: 23 additions & 12 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link rel="stylesheet" href="style.css">
<!--
Notice the use of %PUBLIC_URL% in the tag above.
It will be replaced with the URL of the `public` folder during the build.
Expand All @@ -20,18 +21,9 @@
</head>
<body>
<div id="root"></div>
<script>
var tweets = [
"ACA class was so awesome today.",
"I just checked out that new restaurant, it was okay",
"I just saw a movie that changed my life",
"shirts are 50% of at Macy's today"
];

</script>

<script>

var h1 = document.createElement("h1");
h1.innerHTML = tweets[0];
document.body.appendChild(h1);
Expand All @@ -41,7 +33,7 @@
<script type="text/jsx">
var tweet = React.createElement("h1",null,tweets[1])
ReactDOM.render(
tweet,
tweet,
document.getElementById('root')
);
</script>
Expand All @@ -55,6 +47,25 @@
To begin the development, run `npm start`.
To create a production bundle, use `npm run build`.
-->

<script src="SearchBar.js" type="text/jsx"></script>
<script src="Logo.js" type="text/jsx"></script>
<script src="NavBar.js" type="text/jsx"></script>
<script src="Header.js" type="text/jsx"></script>

<script src="Trends.js" type="text/jsx"></script>
<script src="User.js" type="text/jsx"></script>
<script src="Left.js" type="text/jsx"></script>

<script src="NewTweet.js" type="text/jsx"></script>
<script src="Tweets.js" type="text/jsx"></script>
<script src="Middle.js" type="text/jsx"></script>

<script src="WhoToFollow.js" type="text/jsx"></script>
<script src="LiveVideo.js" type="text/jsx"></script>
<script src="Right.js" type="text/jsx"></script>

<script src="Main.js" type="text/jsx"></script>
<script src="App.js" type="text/jsx"></script>
<script src="Index.js" type="text/jsx"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions public/public/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function App(){
return <div><Main /></div>
}
9 changes: 9 additions & 0 deletions public/public/Header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Header () {
return (
<div className = 'headermain'>
<NavBar />
<Logo />
<SearchBar />
</div>
);
}
8 changes: 8 additions & 0 deletions public/public/Left.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Left () {
return (
<div className='bodydiv1'>
<User />
<Trends />
</div>
);
}
7 changes: 7 additions & 0 deletions public/public/LiveVideo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function LiveVideo () {
return (
<div className = 'livevid'>
<div className = 'liveVidinside'>Live Video</div>
</div>
);
}
6 changes: 6 additions & 0 deletions public/public/Logo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function Logo () {
return (
<div className='header2'>
</div>
);
}
9 changes: 9 additions & 0 deletions public/public/Main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Main (){
return (
<div>
<Header />
<Left /> <Middle /> <Right />
</div>

);
}
8 changes: 8 additions & 0 deletions public/public/Middle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Middle () {
return (
<div className='bodydiv2'>
<NewTweet />
<Tweets />
</div>
);
}
10 changes: 10 additions & 0 deletions public/public/NavBar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function NavBar () {
return (
<div className='header1'>
<button>Home</button>
<button>Moments</button>
<button>Notifications</button>
<button>Messages</button>
</div>
);
}
7 changes: 7 additions & 0 deletions public/public/NewTweet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function NewTweet () {
return (
<div>
What's happening? ________________
</div>
);
}
8 changes: 8 additions & 0 deletions public/public/Right.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function Right () {
return (
<div className='bodydiv3'>
<WhoToFollow />
<LiveVideo />
</div>
);
}
8 changes: 8 additions & 0 deletions public/public/SearchBar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
function SearchBar () {
return (
<div className='header3'>
Search
<input type='text' className='searcher'/>
</div>
);
}
11 changes: 11 additions & 0 deletions public/public/Trends.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function Trends () {
return (
<div>
<h3> Trending topic 1</h3>
<h3> Trending topic 2</h3>
<h3> Trending topic 3</h3>
<h3> Trending topic 4</h3>
<h3> Trending topic 5</h3>
</div>
);
}
19 changes: 19 additions & 0 deletions public/public/Tweets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
function Tweets () {
var tweets = [
"ACA class was so awesome today.",
"I just checked out that new restaurant, it was okay",
"I just saw a movie that changed my life",
"shirts are 50% of at Macy's today"
];
return (
<div>
{tweets.map((item) => {
return (
<div key={item}>
<h2>{item}</h2>
</div>
);
})}
</div>
);
}
9 changes: 9 additions & 0 deletions public/public/User.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function User () {
return (
<div>
<div className= 'pic'></div>
<h1>Jesse Paulk</h1>
<h2> Tweets: 1 </h2><h2> Following: 300 </h2><h2> Followers: 0 </h2>
</div>
);
}
11 changes: 11 additions & 0 deletions public/public/WhoToFollow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
function WhoToFollow () {
return (
<div>
<h2> Follow Jim </h2>
<h2> Follow Jack </h2>
<h2> Follow Jill </h2>
<h2> Follow John </h2>

</div>
);
}
25 changes: 25 additions & 0 deletions public/public/babel.js

Large diffs are not rendered by default.

Binary file added public/public/favicon.ico
Binary file not shown.
Loading