-
Notifications
You must be signed in to change notification settings - Fork 4
New Design #3
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
Merged
Merged
New Design #3
Changes from 23 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
20ce3ba
Prototype new design
leonard84 a2ced41
design v2
leonard84 8a8e916
Add missing tag line
leonard84 ee7a311
Fix link text
leonard84 e2a93ec
Add logo and .gitignore
leonard84 9e5cde1
Polish blurb
leonard84 16d2e68
Move links section
leonard84 30587e8
Remove hover animation for links
leonard84 5b3c61b
Merge links into cta section
leonard84 9dcdbb1
Fix link animations
leonard84 2e1dd5a
Repeat CTA after code block
leonard84 3e6a61d
Update example code and add output
leonard84 d8d9e9e
More cleanup
leonard84 b77cdf2
Add some seo metadata
leonard84 bc74fff
Moved to vite and tailwind for building
leonard84 2aaa2c5
Fix hover animation for cards
leonard84 fdba659
Increase delay for fade animation of cards
leonard84 2b74a4f
Add switch to disable AOS animations
leonard84 2fa5e58
Add fontawesome svg icons
leonard84 c1134b0
Add stackoverflow and latest version shield
leonard84 beab51d
Add workflow for verifying and previewing PR
leonard84 55afb7f
Add Playwright for visual testing and setup git lfs
leonard84 f178025
Add workflow for updating screenshots
leonard84 315c3ed
Support both `main` and `master` for now
leonard84 9bd0e1d
Add social links
leonard84 cf68a90
Set default working dir to `spock-website/`
leonard84 3b103c8
Help `setup-node` to find package-lock.json file
leonard84 3dca2e2
Fix playwright reporter config
leonard84 166185f
Use fontawesome for feature card icons as well
leonard84 6975a32
Small fixes
leonard84 5827e87
Update GitHub Actions
leonard84 de7b108
Install Playwright browsers before testing
leonard84 f309d5a
Fix Typo
leonard84 c39277f
Update/upgrade dependencies
leonard84 c7f78db
Add Groovy 5 version
leonard84 abb1bb6
Change twitter.com to x.com
leonard84 baf6bcb
Update icons to use gitter logo
leonard84 74827ee
Remove old index.html
leonard84 39d10af
Add linkinator to check links
leonard84 ec5df07
Add renovate.json5
leonard84 f0c7026
Implement feedback
leonard84 e4306fe
Integrate AOS library for animations and update styles
leonard84 f69f94c
Set a timeout for playwright tests
leonard84 8d22a49
Add Docker for local visual regression testing and fix Node.js versio…
leonard84 7404f21
Add reference images
leonard84 aa8705d
Delete update-reference-screenshots.yaml as it can't be run on PRs
leonard84 1f287e2
Install git-lfs in the Playwright image for proper functionality
leonard84 c4aefe2
Split verify into visual-regersion-tests and link-check
leonard84 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 hidden or 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 @@ | ||
| spock-website/tests/__screenshots__/**/*.png filter=lfs diff=lfs merge=lfs -text |
This file contains hidden or 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,51 @@ | ||
| # Simple workflow for deploying static content to GitHub Pages | ||
| name: Deploy static content to Pages | ||
|
|
||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: [ 'main' ] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow one concurrent deployment | ||
| concurrency: | ||
| group: 'pages' | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| # Single deploy job since we're just deploying | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: lts/* | ||
| cache: 'npm' | ||
| - name: Install dependencies | ||
| run: npm ci | ||
| - name: Build | ||
| run: npm run build | ||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v4 | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| # Upload dist folder | ||
| path: './spock-website/dist' | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or 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,41 @@ | ||
| name: Deploy static content to Pages | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| update-screenshots: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| lfs: true # Download LFS files for screenshots | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: lts/* | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Run Playwright Tests updating snapshots | ||
| run: npx playwright test --update-snapshots | ||
|
|
||
| - name: Commit updated snapshots | ||
| run: | | ||
| git config user.email "dev@forum.spockframework.org" | ||
| git config user.name "Spock Framework Robot" | ||
| git add spock-website/tests/__screenshots__/ | ||
| if [[ -n "$(git status --porcelain)" ]]; then | ||
| echo "::set-output name=has_changes::true" | ||
| git commit -m "Update reference screenshots" | ||
| git push origin HEAD:${{ github.ref_name }} | ||
| else | ||
| echo "::set-output name=has_changes::false" | ||
leonard84 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
leonard84 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| fi | ||
This file contains hidden or 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,66 @@ | ||
| name: Verify PR build | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ 'main' ] | ||
|
|
||
| concurrency: | ||
| group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}' | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Verify LFS files | ||
| run: | | ||
| git lfs install | ||
| git lfs fsck --pointers HEAD | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: lts/* | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
|
|
||
| - name: Upload artifact | ||
| uses: 'actions/upload-artifact@v4' | ||
| with: | ||
| name: 'gh-pages-preview' | ||
| path: './spock-website/dist' | ||
|
|
||
| verify: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| lfs: true # Download LFS files for screenshots | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: lts/* | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Run Playwright Tests | ||
| run: npx playwright test | ||
|
|
||
| - name: Upload Test Results (optional) | ||
| uses: actions/upload-artifact@v4 | ||
| if: always() | ||
| with: | ||
| name: playwright-report | ||
| path: spock-website/playwright-report/ |
This file contains hidden or 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 @@ | ||
| .idea/ | ||
| node_modules/ | ||
| dist/ | ||
| playwright-report/ | ||
| test-results/ | ||
|
|
||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| lerna-debug.log* | ||
|
|
||
| dist-ssr | ||
| *.local | ||
|
|
||
| # Editor directories and files | ||
| .vscode/* | ||
| !.vscode/extensions.json | ||
| .idea | ||
| .DS_Store | ||
| *.suo | ||
| *.ntvs* | ||
| *.njsproj | ||
| *.sln | ||
| *.sw? |
This file was deleted.
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.
Uh oh!
There was an error while loading. Please reload this page.