Skip to content

Commit

Permalink
refactor: update README title, change links in Header and Hero compon…
Browse files Browse the repository at this point in the history
…ents, and add CI workflow for Next.js app
  • Loading branch information
achingachris committed Dec 11, 2024
1 parent 6845cf8 commit 2d380e5
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 424 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/nextjs-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI for Next.js App

on:
push:
branches:
- main
- staging:dev-patch-main
pull_request:

jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

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

- name: Install Dependencies
run: npm ci

- name: Run Linter
run: npm run lint

- name: Run Tests
run: npm test

- name: Build Application
run: npm run build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ChrisDevCode - Web
# NextJs + Tailwind(Preline) Starter Template

135 changes: 0 additions & 135 deletions app/components/landing_page/FAQs.tsx

This file was deleted.

148 changes: 0 additions & 148 deletions app/components/landing_page/Features.tsx

This file was deleted.

5 changes: 3 additions & 2 deletions app/components/landing_page/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ const Hero = () => {
<div className="mt-8 gap-3 flex justify-center">
<a
className="inline-flex justify-center items-center gap-x-3 text-center bg-gradient-to-tl from-blue-600 to-violet-600 hover:from-violet-600 hover:to-blue-600 focus:outline-none focus:from-violet-600 focus:to-blue-600 border border-transparent text-white text-sm font-medium rounded-full py-3 px-4"
href="#"
href="https://github.com/achingachris/nextjs-tailwind-starter"
target='_blank'
>
<svg
className="shrink-0 size-4"
Expand All @@ -63,7 +64,7 @@ const Hero = () => {
>
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z" />
</svg>
What We Are Buidling
Clone Me To Start
</a>
</div>
{/* End Buttons */}
Expand Down
Loading

0 comments on commit 2d380e5

Please sign in to comment.