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

MG-8 - Refactor the Landing Page Components #17

Merged
merged 12 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
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
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run lint check
run: npm run lint

- name: Setup GitHub Pages
uses: actions/configure-pages@v5

Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test Deployment Workflow

on:
pull_request:
branches:
- main

permissions:
contents: read

jobs:
test-deploy:
name: Test Build, Lint, and Local Deployment
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"

- name: Install dependencies
run: npm install

- name: Run lint check
run: npm run lint

- name: Build project
run: npm run build

- name: Serve locally
run: npx serve@latest out -l 3000 &

- name: Verify local deployment
run: curl -s http://localhost:3000 | grep "<title>" || exit 1

- name: Stop server
run: pkill serve
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Building and Running Locally

For a production-like experience, follow these steps:
Expand Down
4 changes: 4 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const nextConfig: NextConfig = {
images: {
unoptimized: true,
},
devIndicators: {
appIsrStatus: false,
buildActivity: false,
},
};

export default nextConfig;
86 changes: 86 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@
"next": "15.1.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-responsive": "^10.0.0",
"shadcn-ui": "^0.9.4",
"tailwind-merge": "^2.6.0",
"tailwind-variants": "^0.3.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"@biomejs/biome": "1.7.1",
"@types/react-responsive": "^8.0.8",
"gh-pages": "^6.3.0",
"postcss": "^8",
"tailwindcss": "^3.4.1",
Expand Down
1 change: 1 addition & 0 deletions public/abstract-machines_logo_symbol-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/popsy.webp
Binary file not shown.
Loading
Loading