Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2dcda87
Created agile documentation for project management
Jad229 Mar 22, 2023
f4a7e9e
FEATURE: Created tailwindcss folder
Jad229 Mar 24, 2023
ed64f76
FEATURE: created Header and Footer Components
Jad229 Mar 24, 2023
30b0434
FEATURE: added gitignore
Jad229 Mar 24, 2023
1a8c531
FEATURE: homepage with tailwindcss done
Jad229 Mar 24, 2023
27c4d65
FEATURE: updated gitignore
Jad229 Mar 24, 2023
c4acf16
FEATURE: content page implemented in tailwindcss
Jad229 Mar 24, 2023
249be08
FEATURE: broke down content page components
Jad229 Mar 24, 2023
db4518e
FEATURE: broke down content page components
Jad229 Mar 24, 2023
3dfdf32
FEATURE: broke down content page components
Jad229 Mar 24, 2023
bc17048
updated index.jsx
Azaharulislam171 Mar 26, 2023
5191e41
FEATURE: created tests.yml
Jad229 Mar 26, 2023
a074bfc
FEATURE: used standard --fix to fix syntax
Jad229 Mar 26, 2023
c6346da
FEATURE: updated deprecated node
Jad229 Mar 26, 2023
0836592
FEATURE: created playwright test for performance
Jad229 Mar 26, 2023
cc138d3
FEATURE: updated playwright
Jad229 Mar 26, 2023
b74f339
FEATURE: updated playwright
Jad229 Mar 26, 2023
d7db806
FEATURE: updated playwright test
Jad229 Mar 26, 2023
121c8da
FEATURE: updated playwright test
Jad229 Mar 26, 2023
791a075
FEATURE: updated playwright test installed lighthouse
Jad229 Mar 26, 2023
03eaeff
FEATURE: updated playwright test installed lighthouse
Jad229 Mar 26, 2023
ff490d2
FEATURE: updated playwright test
Jad229 Mar 26, 2023
36f4437
FEATURE: updated playwright test
Jad229 Mar 26, 2023
cc29929
FEATURE: updated playwright test
Jad229 Mar 27, 2023
0886375
FEATURE: updated playwright test
Jad229 Mar 27, 2023
dd3cfc1
FEATURE: updated playwright test installed lighthouse
Jad229 Mar 27, 2023
10f7fea
FEATURE: updated playwright test
Jad229 Mar 27, 2023
562c07b
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
2b78f93
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
798274d
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
e1acf09
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
8c89117
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
9e01b88
FEATURE: updated yaml file to use test tailwindcss branch
Jad229 Mar 27, 2023
56d1b41
FEATURE: updated package.json for nextjs
Jad229 Mar 27, 2023
efbdd8f
FIX: removed wait on
Jad229 Mar 27, 2023
dcd2e7f
CHANGES: made build-start to build
Jad229 Mar 27, 2023
8f7a63e
CHANGES: moved test into tailwind folder
Jad229 Mar 27, 2023
b48f06e
CHANGES: increased load time limit to test actions
Jad229 Mar 27, 2023
3edd5b0
CHANGES: added start server job, and changed scripts
Jad229 Mar 27, 2023
2ab1605
FIX: updated server port to 3000
Jad229 Mar 27, 2023
79fed1e
CHANGES: commented server start and speed test
Jad229 Mar 27, 2023
dbd8679
CHANGES: created ci.yml to run lighthouse ci
Jad229 Mar 27, 2023
d6b5de6
CHANGES: updated ci.yml
Jad229 Mar 27, 2023
2d09e3a
CHANGES: created lighthouse config file
Jad229 Mar 27, 2023
4d5444a
CHANGES: added lighthouse config to tailwind folder
Jad229 Mar 27, 2023
132226e
CHANGES: created out folder for build
Jad229 Mar 27, 2023
5fd1448
CHANGES: updated lighthouse config file
Jad229 Mar 27, 2023
6f66b55
FIX: updated lhci config file
Jad229 Mar 27, 2023
8fa9f81
CHANGES: fixed some stuff
Jad229 Mar 27, 2023
bb286d7
FIX: merged to local
Jad229 Mar 27, 2023
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
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: [push]
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: npm install, build
run: |
cd nextjs-tailwind
npm install
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.11.x
lhci autorun
35 changes: 35 additions & 0 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: SEO Tests

on:
push:
branches: [tailwindcss]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "18.x"

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgbm-dev
cd nextjs-tailwind
npm ci
npx playwright install chromium
npm install -g lighthouse chrome-launcher axe-core chromium wait-on

- name: Build the application
run: cd nextjs-tailwind && npm run build

# - name: Start server
# run: cd nextjs-tailwind && npm run start

# - name: Run Tests
# run: cd nextjs-tailwind && npx playwright test tests/seo
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18.x'
node-version: "18.x"
- name: Install dependencies
run: npm ci
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npx playwright test
run: npx playwright test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ venv
/app/__pycache__/
.github/workflows/*.bak
.vscode
docs
docs
.next
24 changes: 24 additions & 0 deletions agile_documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Agile Documentation
* Epic: CSS Framework Selection:
* Initiative: CSS Performance Testing Framework: Develop a framework to test the performance of different CSS frameworks, and evaluate the results to select the best one for our web application.
* User Story: As developers, we want to test the performance of different CSS frameworks, so we can select the best one for our web application.

* Epic: Legal Compliance:
* Initiative: Legal Compliance Audit: Conduct a legal compliance audit of our web application, identify potential legal requirements, and implement necessary changes to ensure compliance.
* User Story: As developers, we want to ensure that our web application adheres to all potential legal requirements, so we do not get sued and can operate with confidence.

* Epic: Search Engine Optimization
* Initiative: SEO Optimization Strategy: Develop an SEO optimization strategy for our web application, based on keyword research, on-page optimization, link building, and analytics tracking, to improve visibility and ranking on search engines.
* User Story: : As developers, we want to perform SEO on our web application, so that we will have higher visibility and ranking on search engines, which can attract more users.

* Epic: Web Accessibility:
* Initiative: Accessibility Standards Implementation: Implement accessibility standards for our web application, such as WCAG 2.1, and conduct accessibility testing to ensure that our application is accessible to all users.
* User Story: As developers, we want to ensure that our web application is accessible, so that all users, including those with disabilities or impairments, can use our application.

* Epic: Internationalization:
* Initiative: Internationalization Implementation: Implement internationalization features for our web application, such as language and time zone selection, translation options, and cultural adaptation, to make our application accessible to users from different countries and cultures.
* User Story: As developers, we want to make our web application internationalized, so that it can be used by users from different countries, with different languages, time zones, and cultural backgrounds.

* Epic: DevOps & SRE:
* Initiative: DevOps Automation Implementation: Implement DevOps practices, such as continuous integration, automated testing, and deployment automation, to streamline our development process and improve the efficiency and quality of our web application.
* User Story: As developers, we want to implement DevOps operations, so that we can automate testing for our web application, as well as trial different package managers to produce the most efficient app.
10 changes: 10 additions & 0 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
ci: {
collect: {
staticDistDir: "./nextjs-tailwind/out", // Update this with the directory where your static site files are located
},
upload: {
target: "temporary-public-storage",
},
},
};
3 changes: 3 additions & 0 deletions nextjs-tailwind/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.next
node_modules
nextjs
48 changes: 48 additions & 0 deletions nextjs-tailwind/.next/build-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"polyfillFiles": [
"static/chunks/polyfills-c67a75d1b6f99dc8.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/qoOcYhOJr35_hxGsTufz0/_buildManifest.js",
"static/qoOcYhOJr35_hxGsTufz0/_ssgManifest.js"
],
"rootMainFiles": [],
"pages": {
"/": [
<<<<<<< HEAD
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/index.js"
=======
"static/chunks/webpack-8fa1640cc84ba8fe.js",
"static/chunks/framework-cda2f1305c3d9424.js",
"static/chunks/main-7477d36a73a3487c.js",
"static/chunks/664-8af8765c6fed5950.js",
"static/chunks/pages/index-f186d9255c9723c4.js"
>>>>>>> 6f66b5540804f9c1185fee28809018f4b1176a4e
],
"/_app": [
"static/chunks/webpack-8fa1640cc84ba8fe.js",
"static/chunks/framework-cda2f1305c3d9424.js",
"static/chunks/main-7477d36a73a3487c.js",
"static/css/19de0c04e16bfeb8.css",
"static/chunks/pages/_app-13a04ff25ee58f5a.js"
],
"/_error": [
"static/chunks/webpack-8fa1640cc84ba8fe.js",
"static/chunks/framework-cda2f1305c3d9424.js",
"static/chunks/main-7477d36a73a3487c.js",
"static/chunks/pages/_error-54de1933a164a1ff.js"
],
"/content": [
"static/chunks/webpack-8fa1640cc84ba8fe.js",
"static/chunks/framework-cda2f1305c3d9424.js",
"static/chunks/main-7477d36a73a3487c.js",
"static/chunks/664-8af8765c6fed5950.js",
"static/chunks/pages/content-0397b03146a21a97.js"
]
},
"ampFirstPages": []
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions nextjs-tailwind/.next/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "commonjs"}
1 change: 1 addition & 0 deletions nextjs-tailwind/.next/react-loadable-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 5 additions & 0 deletions nextjs-tailwind/.next/server/middleware-build-manifest.js

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

6 changes: 6 additions & 0 deletions nextjs-tailwind/.next/server/middleware-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sortedMiddleware": [],
"middleware": {},
"functions": {},
"version": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__REACT_LOADABLE_MANIFEST={};
1 change: 1 addition & 0 deletions nextjs-tailwind/.next/server/next-font-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__NEXT_FONT_MANIFEST={pages:{},app:{},appUsingSizeAdjust:!1,pagesUsingSizeAdjust:!1};
6 changes: 6 additions & 0 deletions nextjs-tailwind/.next/server/next-font-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pages": {},
"app": {},
"appUsingSizeAdjust": false,
"pagesUsingSizeAdjust": false
}
13 changes: 13 additions & 0 deletions nextjs-tailwind/.next/server/pages-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"/content": "pages/content.html",
"/": "pages/index.html",
"/_app": "pages/_app.js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js",
<<<<<<< HEAD
"/content": "pages/content.js",
"/": "pages/index.js"
=======
"/404": "pages/404.html"
>>>>>>> 6f66b5540804f9c1185fee28809018f4b1176a4e
}
56 changes: 56 additions & 0 deletions nextjs-tailwind/.next/server/pages/_app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
(() => {
var exports = {};
exports.id = 888;
exports.ids = [888];
exports.modules = {

/***/ 879:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(764);
/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_globals_css__WEBPACK_IMPORTED_MODULE_1__);


function MyApp({ Component , pageProps }) {
return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(Component, {
...pageProps
});
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MyApp);


/***/ }),

/***/ 764:
/***/ (() => {



/***/ }),

/***/ 997:
/***/ ((module) => {

"use strict";
module.exports = require("react/jsx-runtime");

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = (__webpack_exec__(879));
module.exports = __webpack_exports__;

})();
Loading