Skip to content

Commit

Permalink
Webpage (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
SLKhadeeja authored Dec 4, 2024
1 parent 1e0489c commit 0bb5e1f
Show file tree
Hide file tree
Showing 25 changed files with 6,369 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder.
working-directory: web/ahnlich-web
run: |
npm ci --legacy-peer-deps
npm run build
touch out/.nojekyll
echo "ahnlich.tech" >> out/CNAME
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: web/ahnlich-web/out # The folder the action should deploy.
132 changes: 132 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-syntax-highlighter": "^15.5.13"
},
"dependencies": {
"react-copy-to-clipboard": "^5.1.0"
}
}
3 changes: 3 additions & 0 deletions web/ahnlich-web/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
42 changes: 42 additions & 0 deletions web/ahnlich-web/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

.vercel
2 changes: 2 additions & 0 deletions web/ahnlich-web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Ahnlich Web
Welcome to the official landing page repository for **Ahnlich**!.
9 changes: 9 additions & 0 deletions web/ahnlich-web/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
output: "export",
reactStrictMode: true,
};

export default nextConfig;
Loading

0 comments on commit 0bb5e1f

Please sign in to comment.