generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Layer5-Leaderboard] Transfer of the Leaderboard Code to the discuss-board repo #29
Open
Kingscliq
wants to merge
16
commits into
layer5io:master
Choose a base branch
from
Kingscliq:new-leaderboard
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a21a107
build: transfer of the leaderboard to discuss board repo
Kingscliq 4dbd33c
ci: change of the leaderboard data from weekly to monthly
Kingscliq 566b4ea
center data
Boombag0607 301fe60
Update leaderboard/src/components/elements/Table/index.tsx
Boombag0607 c79edca
Merge remote-tracking branch 'tempkingsley/new-leaderboard' into new-…
Boombag0607 dc452fe
remove files and add sorting
Boombag0607 d4c9b6e
ci
Kingscliq 6135ca2
updating the readme file | adding of avatar
Kingscliq 7bac1ef
Merge branch 'new-leaderboard' of https://github.com/Kingscliq/discus…
Kingscliq 76be30c
ci: updating the ReadME file for easy collaboration
Kingscliq 4bff8c8
chore: adjustment of text from center to left and removal of the justify
Kingscliq a713b69
chore: change user to header
Kingscliq bc08597
fix: type
Kingscliq 8ed7e5f
ci: update tailwind config for theme specific styles
Kingscliq 717d2ca
ci: update tailwind config for theme specific styles
Kingscliq c4dcc43
chore: adding a dropdown menu on to filter data by monthly or daily
Kingscliq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
check: | ||
golangci-lint run | ||
LEADERBOARD_DIR := leaderboard | ||
PORT := 3000 | ||
|
||
check-clean-cache: | ||
golangci-lint cache clean | ||
# Commands | ||
install: | ||
@echo "Installing dependencies..." | ||
cd $(LEADERBOARD_DIR) && npm install | ||
|
||
protoc-setup: | ||
wget -P meshes https://raw.githubusercontent.com/layer5io/meshery/master/meshes/meshops.proto | ||
start: | ||
@echo "Starting the site on port $(PORT)..." | ||
cd $(LEADERBOARD_DIR) && npm start | ||
|
||
proto: | ||
protoc -I meshes/ meshes/meshops.proto --go_out=plugins=grpc:./meshes/ | ||
run: install start | ||
|
||
|
||
|
||
|
||
|
||
site: | ||
$(jekyll) serve --drafts --livereload | ||
|
||
build: | ||
$(jekyll) build --drafts | ||
|
||
docker: | ||
docker run --name site -d --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:4.0.0 bash -c "bundle install; jekyll serve --drafts --livereload" | ||
.PHONY: install start run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REACT_APP_BASE_URL=https://discuss.layer5.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"endOfLine": "lf", | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"trailingComma": "es5", | ||
"singleQuote": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## Clone the Repository and Install Dependencies | ||
|
||
To get started with your React application: | ||
|
||
1. **Clone the Repository**: | ||
|
||
```shell | ||
https://github.com/layer5io/discuss-board | ||
``` | ||
|
||
2. **Navigate to the project directory:** | ||
```shell | ||
cd leaderboard | ||
``` | ||
3. **Set Up Environment Variables:** Create a .env file in the root directory of your project and add any necessary environment variables. For example: | ||
|
||
``` | ||
REACT_APP_BASE_URL=https://discuss.layer5.io/ | ||
``` | ||
|
||
4. **Install dependencies using Yarn:** | ||
```shell | ||
yarn install | ||
``` | ||
5. **Running the Application:** | ||
```shell | ||
yarn start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* /index.html 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import path from 'path'; | ||
|
||
module.exports = { | ||
webpack: { | ||
alias: { | ||
'@components': path.resolve(__dirname, 'src/components'), | ||
'@assets': path.resolve(__dirname, 'src/assets'), | ||
'@constants': path.resolve(__dirname, 'src/constants'), | ||
'@config': path.resolve(__dirname, 'src/config'), | ||
'@pages': path.resolve(__dirname, 'src/pages'), | ||
'@store': path.resolve(__dirname, 'src/store'), | ||
'@hooks': path.resolve(__dirname, 'src/hooks'), | ||
'@utils': path.resolve(__dirname, 'src/utils'), | ||
'@features': path.resolve(__dirname, 'src/features'), | ||
'@providers': path.resolve(__dirname, 'src/providers'), | ||
'@types': path.resolve(__dirname, 'src/types'), | ||
}, | ||
style: { | ||
postcss: { | ||
plugins: [require("tailwindcss"), require("autoprefixer"), require('postcss')], | ||
}, | ||
}, | ||
}, | ||
|
||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolute paths. 👍