generated from just-the-docs/just-the-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove about page Signed-off-by: cbh778899 <[email protected]> * split home into smaller parts Signed-off-by: cbh778899 <[email protected]> * edit links Signed-off-by: cbh778899 <[email protected]> * add loading animation Signed-off-by: cbh778899 <[email protected]> * adjust mobile view screen width Signed-off-by: cbh778899 <[email protected]> --------- Signed-off-by: cbh778899 <[email protected]>
- Loading branch information
Showing
14 changed files
with
160 additions
and
128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function Customers() { | ||
return ( | ||
<section className="customers"> | ||
<div className="title">Our Customers</div> | ||
</section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { useState } from "react"; | ||
import { projects } from "../../utils/types"; | ||
import { Link } from "react-router-dom"; | ||
|
||
export default function Projects() { | ||
|
||
const [display_project, setDisplayProject] = useState(Object.keys(projects)[0]); | ||
|
||
return ( | ||
<section className="projects"> | ||
<div className="title">Checkout our projects</div> | ||
<div className="project-view"> | ||
<div className="tickets"> | ||
{ | ||
Object.keys(projects).map(name=>{ | ||
return ( | ||
<div | ||
className={`ticket clickable${(display_project===name&&' selected')||""}`} | ||
key={`project-${name}`} onClick={()=>setDisplayProject(name)} | ||
> | ||
<div className="bg">{name}</div> | ||
</div> | ||
) | ||
}) | ||
} | ||
</div> | ||
{Object.keys(projects).map(project=>{ | ||
const { badges, description, urls, images, videos } = projects[project]; | ||
return ( | ||
<div className={`details${(display_project===project&&" show")||""}`} key={`project-details-${project}`}> | ||
<div className="title">{project}</div> | ||
<div className="badges"> | ||
{ | ||
badges && badges.map((badge, index)=>{ | ||
return <img key={`${project}-badge-${index}`} src={badge} alt="badge" /> | ||
}) | ||
} | ||
</div> | ||
<div className="description">{description}</div> | ||
<div className="urls"> | ||
{urls && urls.map(({name, url})=>{ | ||
return ( | ||
<Link | ||
key={`${project}-url-${name}`} | ||
to={url} target="_blank" className="url" | ||
>{name}</Link> | ||
) | ||
})} | ||
</div> | ||
{videos && videos.map((url, index) => <video src={url} controls key={`${project}-video-${index}`}/>)} | ||
<div className="images"> | ||
{ images && images.map((url, index) => <img src={url} alt="" key={`${project}-img-${index}`} />) } | ||
</div> | ||
</div> | ||
) | ||
})} | ||
</div> | ||
</section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default function Welcome() { | ||
return ( | ||
<section className="welcome"> | ||
<div className="title">Welcome to SkywardAI!</div> | ||
<div className="description">We are working hard to bring AI to everyone in the world, join us for AI revolution!</div> | ||
</section> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Welcome from "./Welcome"; | ||
import Projects from "./Projects"; | ||
// import Customers from "./Customers"; | ||
|
||
export default function Home() { | ||
return ( | ||
<div className="home"> | ||
<Welcome /> | ||
<Projects /> | ||
{/* <Customers /> */} | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.