Repository navigation
Expand file tree
/
Copy pathapp.js
More file actions
93 lines (73 loc) · 2.89 KB
/
Copy pathapp.js
File metadata and controls
93 lines (73 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import './App.css';
import React from 'react';
import 'bootstrap/dist/css/bootstrap.min.css';
import {BrowserRouter as Router, Route, Link, Routes} from 'react-router-dom';
<!--This is a 2026 test -->
export default function App() {
return (
<Router>
<div>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">https://www.humanitarianoperations.org/</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/home"><i>Our app</i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about"><i>Contact Hope</i></a>
</li>
</ul>
</div>
</nav>
<Routes>
<Route path="/about" element={<About />} />
<Route path="/home" element={<Home />} />
</Routes>
</div>
</Router>
);
}
function test() {
<iframe width="560" height="315" src="https://www.youtube.com/embed/NSyvvpI1LjQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
}
function Home() {
<iframe width="560" height="315" src="https://www.youtube.com/embed/NSyvvpI1LjQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
}
function About() {
return (
<div class="container">
<div class="row">
<div class="col-xl-6">
<iframe width="560" height="315" src="https://www.youtube.com/embed/NSyvvpI1LjQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="col-xl-6 d-flex align-items-center">
<form>
<input type="text" name="name" placeholder="Name" required/><br/>
<input type="email" name="name" placeholder="Email" required/><br/>
<textarea rows="4" cols="40" required></textarea><br />
<input type="submit"/>
</form>
</div>
</div>
<div class="col-12" id="hello">
<h3 align="center">Welcome to hope</h3>
Hope<br/>
<hr />
<p id="name">
We aim to provide care to areas of disaster with care and empathy. <br />
When disastear strikes example in Malysia we aim to respond quickly <br />
When children and thoses that are vunerable have no place to turn to <br />
we provide care and support <br />
Understanding what is real care, is at the heart of our orginasation.
</p>
<hr />
</div>
<div class="col-12" id="hello">
</div>
</div>
)
}