Skip to content

Commit

Permalink
feat(docs): Nextra docs (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich authored Apr 15, 2024
1 parent 0775651 commit 0ff96c0
Show file tree
Hide file tree
Showing 72 changed files with 34,573 additions and 9,316 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ build
# misc
.DS_Store
*.pem
**/.vscode

# debug
npm-debug.log*
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

# run the lint command
npm run lint
npm run lint
17 changes: 17 additions & 0 deletions apps/documentation/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": ["@elixir-cloud"],
"rules": {
"prettier/prettier": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"": "never",
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}
3 changes: 3 additions & 0 deletions apps/documentation/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.next
.turbo
.vercel
17 changes: 17 additions & 0 deletions apps/documentation/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"printWidth": 100,
"jsxSingleQuote": true,
"arrowParens": "always",
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
}
]
}
43 changes: 43 additions & 0 deletions apps/documentation/components/layout/footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import Image from 'next/image';

function Footer() {
return (
<div className='footer flex justify-center items-center p-1 border-t-2 rounded-md'>
<div className='container flex flex-col sm:flex-row justify-between px-4'>
<div className='footer-icons flex justify-center items-center my-2 gap-2'>
<a href='https://elixir-cloud.dcc.sib.swiss/' target='_blank' rel='noopener noreferrer'>
<Image
src='/elixir-cloud/logo.svg'
alt='Elixir Cloud & AAI'
className='footer-logo'
width={75}
height={75}
/>
</a>
<Image
src='/cloud-sdk/light.svg'
alt='Cloud SDK'
className='footer-logo'
width={75}
height={75}
/>
<a href='https://elixir-europe.org/' target='_blank' rel='noopener noreferrer'>
<Image
src='/elixir/light.svg'
alt='Elixir'
className='footer-logo'
width={75}
height={75}
/>
</a>
</div>
<div className='flex flex-col text-gray-500 text-xs sm:text-sm justify-center items-center'>
<p className='message'>Released under Apache 2.0 License</p>
<p className='copyright'>Copyright © 2023-{new Date().getFullYear()} Elixir</p>
</div>
</div>
</div>
);
}

export default Footer;
Loading

0 comments on commit 0ff96c0

Please sign in to comment.