-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b531626
commit 4f9282d
Showing
30 changed files
with
13,128 additions
and
400 deletions.
There are no files selected for viewing
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,46 @@ | ||
import Link from '@docusaurus/Link'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
import React from 'react'; | ||
import ThemedImage from '@theme/ThemedImage'; | ||
import { useColorMode } from "@docusaurus/theme-common" | ||
import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle'; | ||
|
||
export default function CustomNavbar(): JSX.Element { | ||
|
||
return ( | ||
<nav style={{ height: '60px', position: 'fixed', display: 'inline-flex', textAlign: 'center', alignItems: 'center', width: '100%' }} className='myNavbar'> | ||
<div style={{ display: 'flex', justifyContent: 'flex-start', width: '100%' }} className='margin-left--lg'> | ||
<Link | ||
style={{ fontWeight: 'bold', fontFamily: 'RobotoMono' }} | ||
className='margin-right--lg' | ||
to="/docs/intro"> | ||
documentation | ||
</Link> | ||
<Link | ||
style={{ fontWeight: 'bold', fontFamily: 'RobotoMono' }} | ||
to="https://ertis.uma.es/"> | ||
about us | ||
</Link> | ||
</div> | ||
<div style={{ display: 'flex', justifyContent: 'center', height: '45px', width: '100%' }}> | ||
<img src={useBaseUrl('/img/logo.svg')} alt="opentwins logo" style={{ position: 'absolute', margin: 'auto', height: '45px', width: '45px' }} /> | ||
</div> | ||
<div className='margin-right--lg' style={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end', width: '100%' }}> | ||
<Link | ||
style={{ height: '24px' }} | ||
className='margin-right--md' | ||
to="https://github.com/ertis-research/OpenTwins"> | ||
<ThemedImage | ||
alt="github logo" | ||
height='24px' | ||
sources={{ | ||
light: useBaseUrl('/img/github_black.svg'), | ||
dark: useBaseUrl('/img/github_white.svg'), | ||
}} | ||
/> | ||
</Link> | ||
<NavbarColorModeToggle /> | ||
</div> | ||
</nav> | ||
); | ||
} |
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,21 @@ | ||
import React, { Fragment } from 'react'; | ||
import CustomNavbar from './customNavbar'; | ||
import MainPart from './mainPart'; | ||
import KeyFeatures from './keyFeatures'; | ||
import UseCases from './useCases'; | ||
import Technologies from './technologies'; | ||
|
||
export default function Homepage(): JSX.Element { | ||
return ( | ||
<Fragment> | ||
<CustomNavbar/> | ||
<MainPart/> | ||
</Fragment> | ||
); | ||
} | ||
|
||
/* | ||
<KeyFeatures/> | ||
<UseCases/> | ||
<Technologies/> | ||
*/ |
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,14 @@ | ||
import React from 'react'; | ||
import ThemedImage from '@theme/ThemedImage'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
export default function KeyFeatures(): JSX.Element { | ||
|
||
return ( | ||
<div style={{ backgroundColor: '#aaa69d' }}> | ||
<h1>Key Features</h1> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import React from 'react'; | ||
import ThemedImage from '@theme/ThemedImage'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
export default function CustomNavbar(): JSX.Element { | ||
return ( | ||
<div style={{ width: '100%', margin: 0, padding: 0 }}> | ||
<div className="row" style={{ width: '100%', margin: 0, padding: 0 }}> | ||
<div className='col col--5' style={{ width: '100%', margin: 0, height: '100vh', paddingLeft: 0, display: 'flex', alignItems: 'center' }}> | ||
<ThemedImage | ||
className='round-border' | ||
alt="Docusaurus themed image" | ||
style={{ height: '80%', width: '100%', objectFit: 'cover', objectPosition: 'right' }} | ||
sources={{ | ||
light: useBaseUrl('/img/captura-dark.png'), | ||
dark: useBaseUrl('/img/captura-light.png'), | ||
}} | ||
/> | ||
</div> | ||
<div className='col col--7' style={{ width: '100%', margin: 0, height: '100vh' }}> | ||
<div style={{ height: '100%', margin: 'auto', display: 'grid', alignContent: 'center' }}> | ||
<div className="wrapper"> | ||
<div className="typing-demo"> | ||
<span className='mainTitle'>opentwins</span> | ||
</div> | ||
</div> | ||
<p className='text--center margin-top--lg padding-horiz--xl' style={{ fontWeight: 'normal', fontFamily: 'RobotoMono' }}> | ||
Innovative <u>open-source</u> platform that specializes in <br /> developing next-gen compositional <u>digital twins</u> | ||
</p> | ||
|
||
<div className='center-content margin-top--lg margin-bottom--md'> | ||
<Link | ||
className="button button--primary button--lg" | ||
to="/docs/intro"> | ||
Get started | ||
</Link> | ||
<Link | ||
className="button button--secondary button--lg margin-left--md" | ||
to="https://github.com/ertis-research/OpenTwins"> | ||
GitHub | ||
</Link> | ||
</div> | ||
|
||
<div className='center-content margin-top--lg' style={{ height: '40px' }}> | ||
<ThemedImage | ||
alt="ertis logo" | ||
sources={{ | ||
light: useBaseUrl('/img/ertis_black.svg'), | ||
dark: useBaseUrl('/img/ertis_white.svg'), | ||
}} | ||
/> | ||
<ThemedImage | ||
alt="itis logo" | ||
className='margin-left--md' | ||
sources={{ | ||
light: useBaseUrl('/img/ITIS_black.svg'), | ||
dark: useBaseUrl('/img/ITIS_white.svg'), | ||
}} | ||
/> | ||
<ThemedImage | ||
alt="uma logo" | ||
className='margin-left--md' | ||
sources={{ | ||
light: useBaseUrl('/img/uma_black.png'), | ||
dark: useBaseUrl('/img/uma_white.png'), | ||
}} | ||
/> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.features { | ||
display: flex; | ||
align-items: center; | ||
padding: 2rem 0; | ||
width: 100%; | ||
} | ||
|
||
.featureSvg { | ||
height: 200px; | ||
width: 200px; | ||
} | ||
|
||
.examples { | ||
background-color: #706fd3; | ||
} |
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,11 @@ | ||
import React from 'react'; | ||
|
||
export default function Technologies(): JSX.Element { | ||
|
||
return ( | ||
<div style={{ backgroundColor: '#aaa69d' }}> | ||
<h1>Technologies</h1> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react'; | ||
|
||
export default function UseCases(): JSX.Element { | ||
|
||
return ( | ||
<div style={{ backgroundColor: '#aaa69d' }}> | ||
<h1>Use cases</h1> | ||
|
||
</div> | ||
); | ||
} |
Oops, something went wrong.