Skip to content

Commit 0ff96c0

Browse files
authored
feat(docs): Nextra docs (#262)
1 parent 0775651 commit 0ff96c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+34573
-9316
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ build
1616
# misc
1717
.DS_Store
1818
*.pem
19+
**/.vscode
1920

2021
# debug
2122
npm-debug.log*

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
# run the lint command
5-
npm run lint
5+
npm run lint

apps/documentation/.eslintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": ["@elixir-cloud"],
3+
"rules": {
4+
"prettier/prettier": "off",
5+
"import/extensions": [
6+
"error",
7+
"ignorePackages",
8+
{
9+
"": "never",
10+
"js": "never",
11+
"jsx": "never",
12+
"ts": "never",
13+
"tsx": "never"
14+
}
15+
]
16+
}
17+
}

apps/documentation/.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.next
2+
.turbo
3+
.vercel

apps/documentation/.prettierrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"tabWidth": 2,
5+
"semi": true,
6+
"printWidth": 100,
7+
"jsxSingleQuote": true,
8+
"arrowParens": "always",
9+
"overrides": [
10+
{
11+
"files": ".prettierrc",
12+
"options": {
13+
"parser": "json"
14+
}
15+
}
16+
]
17+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import Image from 'next/image';
2+
3+
function Footer() {
4+
return (
5+
<div className='footer flex justify-center items-center p-1 border-t-2 rounded-md'>
6+
<div className='container flex flex-col sm:flex-row justify-between px-4'>
7+
<div className='footer-icons flex justify-center items-center my-2 gap-2'>
8+
<a href='https://elixir-cloud.dcc.sib.swiss/' target='_blank' rel='noopener noreferrer'>
9+
<Image
10+
src='/elixir-cloud/logo.svg'
11+
alt='Elixir Cloud & AAI'
12+
className='footer-logo'
13+
width={75}
14+
height={75}
15+
/>
16+
</a>
17+
<Image
18+
src='/cloud-sdk/light.svg'
19+
alt='Cloud SDK'
20+
className='footer-logo'
21+
width={75}
22+
height={75}
23+
/>
24+
<a href='https://elixir-europe.org/' target='_blank' rel='noopener noreferrer'>
25+
<Image
26+
src='/elixir/light.svg'
27+
alt='Elixir'
28+
className='footer-logo'
29+
width={75}
30+
height={75}
31+
/>
32+
</a>
33+
</div>
34+
<div className='flex flex-col text-gray-500 text-xs sm:text-sm justify-center items-center'>
35+
<p className='message'>Released under Apache 2.0 License</p>
36+
<p className='copyright'>Copyright © 2023-{new Date().getFullYear()} Elixir</p>
37+
</div>
38+
</div>
39+
</div>
40+
);
41+
}
42+
43+
export default Footer;

0 commit comments

Comments
 (0)