Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Landing Page #17

Merged
merged 23 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2c44728
docs: Add exclamation mark
knht Nov 7, 2024
e1ba50f
feat: Create initial project scaffold
knht Nov 7, 2024
22347ca
feat: Create basic layout scaffold
knht Nov 8, 2024
78a8a18
feat: Add the Zufall Labs custom font, add the tailwind config for th…
Colin23 Nov 9, 2024
d4ccc4a
config: Configure prettier
Colin23 Nov 9, 2024
7c1adb0
refactor: Refactor existing files to adhere to the prettier config
Colin23 Nov 9, 2024
e9f549d
feat: Add the head<> element for the website and add href links for m…
Colin23 Nov 9, 2024
2c8df75
config: Add and configure the 'prettier-plugin-tailwindcss'
Colin23 Nov 9, 2024
0193c0e
refactor: Refactor all files to adhere to the new prettier config
Colin23 Nov 9, 2024
87c670b
chore: Update dependencies and deprecated functions
Colin23 Nov 9, 2024
d4f28ed
config: Add custom viewport breakpoints for desktop-first support
knht Nov 16, 2024
29d2ba2
feat: Add medium to large sized mobile view support
knht Nov 16, 2024
93c6652
deps: Add TailwindCSS Scrollbar Plugin
knht Nov 17, 2024
c2c567e
feat: Add feature carousel component
knht Nov 17, 2024
2931e1c
feat: Make use of new Carousel component
knht Nov 17, 2024
232829d
feat(responsiveness): Add tablet viewport support
knht Dec 1, 2024
5211fd2
feat(design): Move background gradient to root body of SPA
knht Dec 1, 2024
f7d5501
feat: Enable text carousel API support
knht Dec 1, 2024
656f948
feat(content): Add a hero description
knht Dec 1, 2024
b548aa1
feat: Remove PR entries from text carousel
knht Dec 1, 2024
50230ce
feat: Add touch support
knht Dec 1, 2024
c51650d
fix: Prevent event defaults when scrolling or touching
knht Dec 1, 2024
eba0efd
feat: Add footer and replace placeholder text
knht Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Private
SECRET_ACCESS_TOKEN=

# Repositories
REPOSITORIES=
79 changes: 79 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/**
* This is intended to be a basic starting point for linting in your app.
* It relies on recommended configs out of the box for simplicity, but you can
* and should modify this configuration to best suit your team's needs.
*/

/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
ecmaFeatures: {
jsx: true
}
},
env: {
browser: true,
commonjs: true,
es6: true
},

// Base config
extends: ["eslint:recommended"],

overrides: [
// React
{
files: ["**/*.{js,jsx,ts,tsx}"],
plugins: ["react", "jsx-a11y"],
extends: [
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended"
],
settings: {
react: {
version: "detect"
},
formComponents: ["Form"],
linkComponents: [
{ name: "Link", linkAttribute: "to" },
{ name: "NavLink", linkAttribute: "to" }
],
"import/resolver": {
typescript: {}
}
}
},

// Typescript
{
files: ["**/*.{ts,tsx}"],
plugins: ["@typescript-eslint", "import"],
parser: "@typescript-eslint/parser",
settings: {
"import/internal-regex": "^~/",
"import/resolver": {
node: {
extensions: [".ts", ".tsx"]
},
typescript: {
alwaysTryTypes: true
}
}
},
extends: ["plugin:@typescript-eslint/recommended", "plugin:import/recommended", "plugin:import/typescript"]
},

// Node
{
files: [".eslintrc.js"],
env: {
node: true
}
}
]
};
135 changes: 9 additions & 126 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,130 +1,13 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
node_modules

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
/.cache
/public/build
/build
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# Local Netlify folder
.netlify
.DS_Store

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
### IDEs ###
.idea
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"semi": true,
"bracketSpacing": true,
"arrowParens": "avoid",
"trailingComma": "none",
"bracketSameLine": true,
"printWidth": 120,
"plugins": [
"prettier-plugin-tailwindcss"
]
}
72 changes: 66 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,68 @@
# Zufall Labs website
The Landing page for Zufall Labs
# Welcome to Remix!

### Contributing
Check out the [contribution guidelines](https://github.com/zufall-labs/.github/blob/main/CONTRIBUTING.md) if you want to participate in designing our landing page.
- [Remix Docs](https://remix.run/docs)
- [Netlify Functions Overview](https://docs.netlify.com/functions/overview)

### License
Our website is licensed under the [MIT license](LICENSE).
## Netlify Setup

1. Install the [Netlify CLI](https://docs.netlify.com/cli/get-started/):

```sh
npm i -g netlify-cli
```

If you have previously installed the Netlify CLI, you should update it to the latest version:

```sh
npm i -g netlify-cli@latest
```

2. Sign up and log in to Netlify:

```sh
netlify login
```

3. Create a new site:

```sh
netlify init
```

## Development

Ensure all packages are installed by running:

```sh
npm install
```

Run

```sh
netlify dev
```

Open up [http://localhost:8888](http://localhost:8888), and you're ready to go!

### Serve your site locally

To serve your site locally in a production-like environment, run

```sh
netlify serve
```

Your site will be available at [http://localhost:8888](http://localhost:8888). Note that it will not auto-reload when you make changes.

## Deployment

There are two ways to deploy your app to Netlify, you can either link your app to your git repo and have it auto deploy changes to Netlify, or you can deploy your app manually. If you've followed the setup instructions already, all you need to do is run this:

```sh
# preview deployment
netlify deploy --build

# production deployment
netlify deploy --build --prod
```
Loading