File tree 6 files changed +39
-15
lines changed 6 files changed +39
-15
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,14 @@ const Navbar = () => {
35
35
< div className = "flex items-center" >
36
36
{ /* Logo */ }
37
37
< div className = "text-xl justify-start font-semibold w-1/6" >
38
- < a href = "#" > MyLogo</ a >
38
+ < Link to = "/" >
39
+ < img src = { process . env . PUBLIC_URL + '/logo.png' } alt = "Logo" className = "h-[50px]" />
40
+ </ Link >
39
41
</ div >
40
42
41
43
{ /* Desktop Links */ }
42
44
< div className = "hidden justify-end w-5/6 md:flex space-x-6" >
43
- < Link className = "hover:text-gray-500 p-2 rounded text-textcolor font-bold" to = "/" > Home </ Link >
45
+ < Link className = "hover:text-gray-500 p-2 rounded text-textcolor font-bold" to = "/docs" > Docs </ Link >
44
46
< Link className = "hover:text-gray-500 p-2 rounded text-textcolor font-bold" to = "/blog" > Blog</ Link >
45
47
< Link className = "hover:text-gray-500 p-2 rounded text-textcolor font-bold" to = "/about" > About</ Link >
46
48
< button
Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ body {
16
16
}
17
17
18
18
.dark {
19
- --navbar : 189 , 193 , 198 ;
20
19
--background : 21 , 20 , 26 ;
21
20
--textcolor : 255 , 255 , 255 ;
22
21
}
23
22
24
23
.light {
25
- --navbar : 91 , 91 , 102 ;
26
24
--background : 229 , 231 , 235 ;
27
25
--textcolor : 0 , 0 , 0 ;
28
26
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Layout from "./pages/Layout";
4
4
import Home from "./pages/Home" ;
5
5
import Blog from "./pages/Blog" ;
6
6
import About from "./pages/About" ;
7
+ import Docs from "./pages/Docs" ;
7
8
import NoPage from "./pages/NoPage" ;
8
9
9
10
import "./index.css" ;
@@ -16,6 +17,7 @@ export default function App() {
16
17
< Route index element = { < Home /> } />
17
18
< Route path = "blog" element = { < Blog /> } />
18
19
< Route path = "about" element = { < About /> } />
20
+ < Route path = "docs" element = { < Docs /> } />
19
21
< Route path = "*" element = { < NoPage /> } />
20
22
</ Route >
21
23
</ Routes >
Original file line number Diff line number Diff line change
1
+ const Docs = ( ) => {
2
+ return (
3
+ < div className = "text-textcolor dark:text-textcolor" >
4
+ < h1 > Docs</ h1 >
5
+ </ div >
6
+ )
7
+ } ;
8
+
9
+ export default Docs ;
10
+
Original file line number Diff line number Diff line change
1
+ import { Link } from "react-router-dom" ;
2
+
1
3
const Home = ( ) => {
2
4
return (
3
5
< div className = "text-textcolor dark:text-textcolor" >
6
+ < div className = "pb-15" >
7
+ < div className = "flex justify-center items-center content-center" >
8
+ < span >
9
+ < img src = { process . env . PUBLIC_URL + '/logo.png' } alt = "Logo" className = "h-[350px]" />
10
+ </ span >
11
+ < span className = "text-5xl" >
12
+ owlMQ
13
+ </ span >
14
+ </ div >
15
+ < div className = "flex justify-center items-center content-center" >
16
+ < p className = "text-4xl" >
17
+ Distributed message queuing service
18
+ </ p >
19
+ </ div >
20
+ < div className = "flex justify-center items-center content-center p-10" >
21
+ < button class = "text-textcolor dark:text-textcolor py-2 px-4 border border-textcolor dark:border-textcolor rounded hover:bg-neutral-300 hover:dark:bg-neutral-800" >
22
+ < Link to = "/docs#getting_started" > Getting started</ Link >
23
+ </ button >
24
+ </ div >
25
+
26
+ </ div >
4
27
< p >
5
28
WORK IN PROGRESS
6
29
< br />
7
30
< br />
8
- < div
9
- style = { {
10
- width : '300px' ,
11
- height : '200px' ,
12
- margin : '0 auto' ,
13
- textAlign : 'center' ,
14
- paddingTop : '90px'
15
- } }
16
- >
17
- < img src = { process . env . PUBLIC_URL + '/logo.png' } alt = "Logo" />
18
- </ div >
19
31
</ p >
20
32
</ div >
21
33
) ;
You can’t perform that action at this time.
0 commit comments