Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from janithcooray/pages
Browse files Browse the repository at this point in the history
Pages
  • Loading branch information
janithcooray authored Jun 27, 2022
2 parents c1ec5b7 + 8629a72 commit 63ad899
Show file tree
Hide file tree
Showing 16 changed files with 303 additions and 32,452 deletions.
32,346 changes: 0 additions & 32,346 deletions documentation/package-lock.json

This file was deleted.

16 changes: 8 additions & 8 deletions documentation/src/components/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ import '../style/main.css'

export default function Footer(){
return (
<footer class="bg-white mr-4">
<footer class="bg-white mx-8 w-auto">
<div class="sm:flex sm:items-center sm:justify-between ">
<a href="https://flowbite.com/" class="flex items-center mb-4 sm:mb-0">
<img src="https://www.docker.com/wp-content/uploads/2022/03/Moby-logo.png" class="mr-3 h-8" alt="Flowbite Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">Flowbite</span>
<img height="64" width="54"src="https://www.docker.com/wp-content/uploads/2022/03/Moby-logo.png" class="mr-3 h-8" alt="Flowbite Logo" />
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-gray-400">Sync Stat</span>
</a>
<ul class="flex flex-wrap items-center mb-6 text-sm text-gray-500 sm:mb-0 ">
<li>
<a href="#" class="mr-4 hover:underline md:mr-6 ">About</a>
<a href="/" class="mr-4 hover:underline md:mr-6 ">About</a>
</li>
<li>
<a href="#" class="mr-4 hover:underline md:mr-6">Privacy Policy</a>
<a href="/" class="mr-4 hover:underline md:mr-6">Privacy Policy</a>
</li>
<li>
<a href="#" class="mr-4 hover:underline md:mr-6 ">Licensing</a>
<a href="/" class="mr-4 hover:underline md:mr-6 ">Licensing</a>
</li>
<li>
<a href="#" class="hover:underline">Contact</a>
<a href="/" class="hover:underline">Contact</a>
</li>
</ul>
</div>
<hr class="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
<span class="block text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2022 <a href="https://flowbite.com/" class="hover:underline">Flowbite™</a>. All Rights Reserved.
<span class="block text-sm text-gray-500 sm:text-center dark:text-gray-400">© 2022 <a href="https://flowbite.com/" class="hover:underline">Docker Sync</a>.
</span>
</footer>
);
Expand Down
40 changes: 18 additions & 22 deletions documentation/src/components/layout.jsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
import React, { Children } from "react";
import React from "react";
import '../style/main.css'
import link from 'gatsby';
import Footer from "./footer";
import Navbar from "./navbar";
import Sidebar from "./sidebar";

export default function Layout({children}) {
return(
<html>
<head>

</head>
<header>
<div class="sidebar">
<Sidebar></Sidebar>
</div>
</header>
<body className="ml-64 mt-24">

<div className="mx-auto max-w-6xl" >
<div className=" min-h-screen">
<div className="font-sans subpixel-antialiased">
<div className="fixed w-full">
<Navbar></Navbar>
</div>
<div class="w-60 fixed">
<Sidebar></Sidebar>
</div>
<div className="ml-60" >
<div className="min-h-screen mx-auto max-w-4xl">
<div className="h-24"></div>
{ children }
</div>
<Footer ></Footer>
<div className="h-60"></div>
<Footer ></Footer>
<div className="h-60"></div>
</div>

</body>

</html>
</div>
)
}
}
//
49 changes: 49 additions & 0 deletions documentation/src/components/navbar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import React from "react";

export default function Navbar(){
return(<nav className="relative flex w-screen flex-wrap items-center justify-between px-0 py-3 bg-white mb-3">
<div className=" px-4 mx-auto w-screen flex flex-wrap items-center justify-between">
<div className="w-full relative flex justify-between lg:w-auto px-4 lg:static lg:block lg:justify-start">
<div class="pt-0 pb-0 px-0">
<a href="#!">
<div class="flex items-center">
<div class="shrink-0">
<img height="64" width="64" src="https://www.docker.com/wp-content/uploads/2022/03/vertical-logo-monochromatic.png" class=" w-10" alt="Avatar"></img>
</div>
<div class="grow ml-3">
<p class="text-sm font-semibold text-blue-600">SYNC STAT</p>
</div>
</div>
</a>
</div>
<button className="cursor-pointer text-xl leading-none px-3 py-1 border border-solid border-transparent rounded bg-transparent block lg:hidden outline-none focus:outline-none" type="button">
<span className="block relative w-6 h-px rounded-sm bg-white"></span>
<span className="block relative w-6 h-px rounded-sm bg-white mt-1"></span>
<span className="block relative w-6 h-px rounded-sm bg-white mt-1"></span>
</button>
</div>
<div className="lg:flex flex-grow items-center" id="example-navbar-warning">
<ul className="flex flex-col lg:flex-row list-none mr-auto">
<li className="nav-item">
<a className="px-3 py-2 flex items-center text-xs uppercase font-bold leading-snug text-black hover:opacity-75" href="#pablo">
<i className="fab fa-facebook-square text-lg leading-lg text-black opacity-75" />
</a>
</li>
<li className="nav-item">
<a className="px-3 py-2 flex items-center text-xs uppercase font-bold leading-snug text-black hover:opacity-75" href="#pablo">
<i className="fab fa-twitter text-lg leading-lg text-black opacity-75" /> <span className="ml-2">Github</span>
</a>
</li>
<li className="nav-item">
<a className="px-3 py-2 flex items-center text-xs uppercase font-bold leading-snug text-black hover:opacity-75" href="#pablo">
<i className="fab fa-twitter text-lg leading-lg text-black opacity-75" /> <span className="ml-2">Discord</span>
</a>
</li>
</ul>
<div className="relative flex w-full sm:w-7/12 md:w-3/12 px-4 w-11 rounded-full flex-wrap items-stretch lg:ml-auto">
<input type="text" className="px-2 py-1 h-8 border border-solid border-stone-600 rounded-full text-sm leading-snug text-stone-700 bg-stone-100 shadow-none outline-none focus:outline-none w-24 font-normal flex-1 placeholder-stone-300 text-center" placeholder="Search" />
</div>
</div>
</div>
</nav>)
}
Loading

0 comments on commit 63ad899

Please sign in to comment.