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

Add Tweet cards #9

Merged
merged 62 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
88d03d8
build: add packageManager to package.json
AmirHosseinKarimi Jan 27, 2025
7bf8832
Merge pull request #1 from frontChapter/test
AmirHosseinKarimi Jan 27, 2025
5ae4835
feat: Add tweet marquee component
Bravemobin Jan 28, 2025
10ea555
feat: Add heading to tweet section
Bravemobin Jan 28, 2025
dd1da56
feat: Add tweetsData file for dynamic tweets
Bravemobin Jan 28, 2025
74fc53e
feat: Add image optimization for avatars
Bravemobin Jan 28, 2025
1f6fcc5
refactor: change all faq related files and paths naming conventions
fulcain Jan 31, 2025
387cef2
refactor: change the imported data filename into the FAQ component
fulcain Jan 31, 2025
e8844a7
refactor: move the FAQ section under app/components
fulcain Jan 31, 2025
7ecaa0b
build: run pnpm install
fulcain Jan 31, 2025
b0f53f4
feat: Add FaqDataType to the faqData array
fulcain Jan 31, 2025
67954fe
refactor: change the faq data type naming to match other files and fo…
fulcain Jan 31, 2025
0555f92
fix: Correct import path for TweetSection component
Bravemobin Feb 1, 2025
c84c7a5
feat: add dana font to project
fulcain Feb 2, 2025
db4f044
feat: add danaVF font to html using localFont method
fulcain Feb 2, 2025
4fcecb1
feat: add background and color to body
fulcain Feb 2, 2025
371bdcc
feat: add font callback for danaVF
fulcain Feb 2, 2025
275c660
refactor: change favicon
fulcain Feb 6, 2025
8b370bb
refactor: change app title
fulcain Feb 6, 2025
4e746ef
refactor: change the faq question data
fulcain Feb 6, 2025
24a019d
feat: add background color to body
fulcain Feb 6, 2025
3b8ad85
style: refactor the file
fulcain Feb 7, 2025
cb1183b
feat: add 12 spacing according to UI
fulcain Feb 7, 2025
7223210
refactor: change the gap of FAQ section from gap-8 to gap-12
fulcain Feb 7, 2025
183465b
feat: add 20 and 24 spacing to tailwind config
fulcain Feb 7, 2025
1f65bc7
feat: add 8 spacing to tailwind
fulcain Feb 7, 2025
fb27989
refactor: change the section component spacing to match design
fulcain Feb 7, 2025
7a06f6d
refactor: change the spacing for mobile and desktop for section compo…
fulcain Feb 7, 2025
bd150b1
refactor: change some faq component styles
fulcain Feb 9, 2025
cb90bd1
refactor: change localFont method with direct use of font face
fulcain Feb 9, 2025
e7f424d
refactor: change the way font was implemented to localFonts
fulcain Feb 9, 2025
4c7c97f
refactor: remove the styles related to body applied in css
fulcain Feb 9, 2025
29b97ed
refactor: move the type file related to faq next to FAQ component
fulcain Feb 9, 2025
d2e1878
refactor: change the import paths to use alias path
fulcain Feb 9, 2025
f415adb
refactor: remove the id prop from faq data and use index instead
fulcain Feb 9, 2025
20ee2bf
fix: change .variable to .className for localFont
fulcain Feb 9, 2025
dc3cc06
refactor: remove utility classes in global css
fulcain Feb 9, 2025
9f7d1bd
refactor: remove all css variables and apply them directly in tailwind
fulcain Feb 10, 2025
37d7030
feat: add dark styles for components
fulcain Feb 10, 2025
cdd76ab
refactor: remove id prop from faq data file
fulcain Feb 10, 2025
dc5d40f
style: change width of tweet component
Bravemobin Feb 10, 2025
a576115
refactor: dark mode and user infos
Bravemobin Feb 10, 2025
14dd549
feat: update FAQ section data
AmirHosseinKarimi Feb 10, 2025
98f7eab
build: add commit-and-tag-version package
AmirHosseinKarimi Feb 10, 2025
383bc81
ci: add pump command to pump package version
AmirHosseinKarimi Feb 10, 2025
6b7ccb7
chore(release): 0.2.0
AmirHosseinKarimi Feb 10, 2025
71b806a
Merge pull request #7 from frontChapter/faq
AmirHosseinKarimi Feb 10, 2025
b56f420
ci: run changelog workflow only for new pull-requests
AmirHosseinKarimi Feb 10, 2025
6f9b4fc
ci: setup all-contributor bot
AmirHosseinKarimi Feb 10, 2025
7d9784c
chore(release): 0.2.1
AmirHosseinKarimi Feb 10, 2025
a6a3b54
docs: update README.md
allcontributors[bot] Feb 10, 2025
14db18c
docs: update .all-contributorsrc
allcontributors[bot] Feb 10, 2025
4539df0
Merge pull request #15 from frontChapter/all-contributors/add-AmirHos…
AmirHosseinKarimi Feb 10, 2025
c5991c3
docs: update README.md
allcontributors[bot] Feb 10, 2025
5738df2
docs: update README.md
allcontributors[bot] Feb 10, 2025
8e77672
docs: update .all-contributorsrc
allcontributors[bot] Feb 10, 2025
3e6aede
Merge pull request #16 from frontChapter/all-contributors/add-fulcain
AmirHosseinKarimi Feb 10, 2025
f2f55f7
Merge branch 'dev' of https://github.com/frontChapter/NextJS into twe…
Bravemobin Feb 11, 2025
d339583
refactor: Move Marquee and TweetCard components
Bravemobin Feb 11, 2025
50ae9b2
chore: remove bun.lockb file
Bravemobin Feb 12, 2025
d09efd7
Merge branch 'dev' into tweet-cards
AmirHosseinKarimi Feb 14, 2025
81bf543
fix: revert accidentally removed code
AmirHosseinKarimi Feb 14, 2025
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
34 changes: 34 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"projectName": "NextJS",
"projectOwner": "frontChapter",
"files": [
"README.md"
],
"commitType": "docs",
"commitConvention": "angular",
"contributorsPerLine": 7,
"contributors": [
{
"login": "AmirHosseinKarimi",
"name": "Amir Hossein Karimi",
"avatar_url": "https://avatars.githubusercontent.com/u/17345129?v=4",
"profile": "https://github.com/AmirHosseinKarimi",
"contributions": [
"projectManagement",
"infra",
"maintenance",
"mentoring",
"code"
]
},
{
"login": "fulcain",
"name": "Majid Kargar",
"avatar_url": "https://avatars.githubusercontent.com/u/52089654?v=4",
"profile": "https://majidkargar.ir",
"contributions": [
"code"
]
}
]
}
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches:
- main
- dev
types: [opened, reopened, synchronize]
types: [opened]

jobs:
changelog:
Expand All @@ -19,4 +19,4 @@ jobs:
- uses: actions/checkout@v2
- uses: bala-raj/pull-request-changelog@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Changelog

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.2.1 (2025-02-10)


### Features

* add 12 spacing according to UI ([cb1183b](https://github.com/frontChapter/NextJS/commit/cb1183b96933ad890ba64ed3f9c576a2f2736bc4))
* add 20 and 24 spacing to tailwind config ([183465b](https://github.com/frontChapter/NextJS/commit/183465b0b8dfc679b332ea57d5254749aae82360))
* add 8 spacing to tailwind ([1f65bc7](https://github.com/frontChapter/NextJS/commit/1f65bc758d9e6543ab5d170b1086b6a4efdaf033))
* add a data.ts file for faq datas ([56e0555](https://github.com/frontChapter/NextJS/commit/56e0555af7c3cbd0f3a533ddebde975cc1ac5a3d))
* add background and color to body ([4fcecb1](https://github.com/frontChapter/NextJS/commit/4fcecb173ace970fafa5ae9fe4973dd043439a84))
* add background color to body ([24a019d](https://github.com/frontChapter/NextJS/commit/24a019d0ffb43f6f3ec2c4191ffac7cbc07453b6))
* add dana font to project ([c84c7a5](https://github.com/frontChapter/NextJS/commit/c84c7a52796906ae9bbec4a8b678f46108788b56))
* add danaVF font to html using localFont method ([db4f044](https://github.com/frontChapter/NextJS/commit/db4f04482aa517a38e5fa5cedcc74c40f634ec2c))
* add dark styles for components ([37d7030](https://github.com/frontChapter/NextJS/commit/37d70306940beaffece66c9bff47a2fb3024425b))
* Add FaqDataType to the faqData array ([b0f53f4](https://github.com/frontChapter/NextJS/commit/b0f53f4e31ed46998efd5e9144b38209f2b36dba))
* add font callback for danaVF ([371bdcc](https://github.com/frontChapter/NextJS/commit/371bdcc00c70c16f0a43b171c9d42f47ec209eea))
* Add theme provider and use it in main layout ([11d0030](https://github.com/frontChapter/NextJS/commit/11d0030b3a47d1c8579539713635fc737119862b))
* bedrock 🪨🪨🪨 ([ea6e1dc](https://github.com/frontChapter/NextJS/commit/ea6e1dce67f97e178903e395653ca6983e606096))
* install the FAQ component from launch UI ([d10d59d](https://github.com/frontChapter/NextJS/commit/d10d59de403c62cdb9305ca9edc39f510c350b1b))
* install the lanuch UI component library ([c146b15](https://github.com/frontChapter/NextJS/commit/c146b15dd1be30757daf8eb57867f20d08c9af7f))
* update FAQ section data ([14dd549](https://github.com/frontChapter/NextJS/commit/14dd54916171a9fe644ede42bc9cf72e76a5cc01))


### Bug Fixes

* change .variable to .className for localFont ([20ee2bf](https://github.com/frontChapter/NextJS/commit/20ee2bfa1b502435dd468890bad420461c1b9cc3))

## 0.2.0 (2025-02-10)


### Features

* add 12 spacing according to UI ([cb1183b](https://github.com/frontChapter/NextJS/commit/cb1183b96933ad890ba64ed3f9c576a2f2736bc4))
* add 20 and 24 spacing to tailwind config ([183465b](https://github.com/frontChapter/NextJS/commit/183465b0b8dfc679b332ea57d5254749aae82360))
* add 8 spacing to tailwind ([1f65bc7](https://github.com/frontChapter/NextJS/commit/1f65bc758d9e6543ab5d170b1086b6a4efdaf033))
* add a data.ts file for faq datas ([56e0555](https://github.com/frontChapter/NextJS/commit/56e0555af7c3cbd0f3a533ddebde975cc1ac5a3d))
* add background and color to body ([4fcecb1](https://github.com/frontChapter/NextJS/commit/4fcecb173ace970fafa5ae9fe4973dd043439a84))
* add background color to body ([24a019d](https://github.com/frontChapter/NextJS/commit/24a019d0ffb43f6f3ec2c4191ffac7cbc07453b6))
* add dana font to project ([c84c7a5](https://github.com/frontChapter/NextJS/commit/c84c7a52796906ae9bbec4a8b678f46108788b56))
* add danaVF font to html using localFont method ([db4f044](https://github.com/frontChapter/NextJS/commit/db4f04482aa517a38e5fa5cedcc74c40f634ec2c))
* add dark styles for components ([37d7030](https://github.com/frontChapter/NextJS/commit/37d70306940beaffece66c9bff47a2fb3024425b))
* Add FaqDataType to the faqData array ([b0f53f4](https://github.com/frontChapter/NextJS/commit/b0f53f4e31ed46998efd5e9144b38209f2b36dba))
* add font callback for danaVF ([371bdcc](https://github.com/frontChapter/NextJS/commit/371bdcc00c70c16f0a43b171c9d42f47ec209eea))
* Add theme provider and use it in main layout ([11d0030](https://github.com/frontChapter/NextJS/commit/11d0030b3a47d1c8579539713635fc737119862b))
* bedrock 🪨🪨🪨 ([ea6e1dc](https://github.com/frontChapter/NextJS/commit/ea6e1dce67f97e178903e395653ca6983e606096))
* install the FAQ component from launch UI ([d10d59d](https://github.com/frontChapter/NextJS/commit/d10d59de403c62cdb9305ca9edc39f510c350b1b))
* install the lanuch UI component library ([c146b15](https://github.com/frontChapter/NextJS/commit/c146b15dd1be30757daf8eb57867f20d08c9af7f))
* update FAQ section data ([14dd549](https://github.com/frontChapter/NextJS/commit/14dd54916171a9fe644ede42bc9cf72e76a5cc01))


### Bug Fixes

* change .variable to .className for localFont ([20ee2bf](https://github.com/frontChapter/NextJS/commit/20ee2bfa1b502435dd468890bad420461c1b9cc3))
56 changes: 20 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,20 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

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.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
This repository contains FrontChapter`s website source code.

## Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/AmirHosseinKarimi"><img src="https://avatars.githubusercontent.com/u/17345129?v=4?s=100" width="100px;" alt="Amir Hossein Karimi"/><br /><sub><b>Amir Hossein Karimi</b></sub></a><br /><a href="#projectManagement-AmirHosseinKarimi" title="Project Management">📆</a> <a href="#infra-AmirHosseinKarimi" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-AmirHosseinKarimi" title="Maintenance">🚧</a> <a href="#mentoring-AmirHosseinKarimi" title="Mentoring">🧑‍🏫</a> <a href="#code-AmirHosseinKarimi" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://majidkargar.ir"><img src="https://avatars.githubusercontent.com/u/52089654?v=4?s=100" width="100px;" alt="Majid Kargar"/><br /><sub><b>Majid Kargar</b></sub></a><br /><a href="#code-fulcain" title="Code">💻</a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->
Binary file added bun.lockb
Binary file not shown.
11 changes: 10 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: "https",
hostname: "avatar.vercel.sh",
port: "",
pathname: "**",
},
],
},
};

export default nextConfig;
109 changes: 107 additions & 2 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "frontchapter-nextjs",
"version": "0.1.0",
"version": "0.2.1",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"pump": "commit-and-tag-version",
"lint": "next lint"
},
"dependencies": {
Expand All @@ -27,11 +28,13 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"commit-and-tag-version": "^12.5.0",
"eslint": "^9",
"eslint-config-next": "15.1.6",
"postcss": "^8",
"prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
},
"packageManager": "[email protected]"
}
Loading
Loading