-
Notifications
You must be signed in to change notification settings - Fork 255
Redesign Community Page #1195
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
Open
federicobucchi
wants to merge
6
commits into
main
Choose a base branch
from
fb/community
base: main
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
Redesign Community Page #1195
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
af90670
Add community page
federicobucchi 5a9a16e
Fix heading color
federicobucchi 89e0710
Fix responsive icons
federicobucchi c771bf9
Reduce images size
federicobucchi bfa1221
Remove not used asset
federicobucchi ec7d90f
Change target branch for Jekyll GitHub Pages
shahmishal 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,47 @@ | ||
| # Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
| name: Deploy Jekyll with GitHub Pages dependencies preinstalled | ||
|
|
||
| on: | ||
| # Runs on pushes targeting the default branch | ||
| push: | ||
| branches: ["fb/community"] | ||
|
|
||
| # Allows you to run this workflow manually from the Actions tab | ||
| workflow_dispatch: | ||
|
|
||
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| concurrency: | ||
| group: "pages" | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| # Build job | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| container: ruby:3.3 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Build site | ||
| run: bundle install && bundle exec jekyll build | ||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
|
|
||
| # Deployment job | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - 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,74 @@ | ||
| headline: Swift Community | ||
| read-more: Read more | ||
| hero-cards: | ||
| - image: | ||
| light: /assets/images/community/community-hero.png | ||
| dark: /assets/images/community/community-hero-dark.png | ||
| alt: Community Hero image | ||
| - image: | ||
| light: /assets/images/community/[email protected] | ||
| dark: /assets/images/community/[email protected] | ||
| alt: Community Showcase image | ||
| label: Community Showcase | ||
| link: https://forums.swift.org | ||
| - image: | ||
| light: /assets/images/community/[email protected] | ||
| dark: /assets/images/community/[email protected] | ||
| alt: Featured Package image | ||
| label: Featured Package | ||
| link: /packages/ | ||
| section2: | ||
| headline: Explore the forums | ||
| text: The community's official channel for answering questions and discussing the development of Swift | ||
| cards: | ||
| - title: Using Swift | ||
| text: This area is intended for users to get help with or ask questions about Swift or its related tools and is not for discussion about work being done to the language itself. | ||
| link: / | ||
| - title: Swift development | ||
| text: Topics related to development and implementation of Swift. | ||
| link: / | ||
| - title: Swift evolution | ||
| text: Topics related to the Swift Evolution Process. Another line here. | ||
| link: / | ||
| - title: Related projects | ||
| text: Dedicated to open source projects within the Swift community that are separate from the Swift language itself. | ||
| link: / | ||
| section3: | ||
| headline: Contribute to Swift | ||
| text: Swift is open to code and non-code contributions, get involved today | ||
| cards: | ||
| - title: Open pull requests and issues | ||
| text: Contributions are welcome! Each Swift project has a contributing file that describes its best practices. | ||
| link: / | ||
| - title: Paticipate in language design | ||
| text: Major Swift language features are openly developed as part of the Swift Evolution process. | ||
| link: / | ||
| - title: Answers questions on Swift Forums | ||
| text: Help others by answering each others questions. Another line here. | ||
| link: / | ||
| - title: Learn about workgroups | ||
| text: Community groups coordinating focused efforts within the Swift project. | ||
| link: / | ||
| section4: | ||
| headline: Follow Swift | ||
| links: | ||
| - image: / | ||
| label: Bluesky | ||
| link: / | ||
| alt: Bluesky icon | ||
| - image: / | ||
| label: Mastodon | ||
| link: / | ||
| alt: Mastodon icon | ||
| - image: / | ||
| label: Twitter/X | ||
| link: / | ||
| alt: Twitter/X icon | ||
| - image: / | ||
| label: Swift blog | ||
| link: / | ||
| alt: Swift blog icon | ||
| - image: / | ||
| label: GitHub | ||
| link: / | ||
| alt: GitHub icon | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
|---|---|---|
|
|
@@ -4,3 +4,4 @@ | |
| @use 'pages/get-started'; | ||
| @use 'pages/blog'; | ||
| @use 'pages/post'; | ||
| @use 'pages/community'; | ||
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 |
|---|---|---|
|
|
@@ -128,6 +128,8 @@ | |
| --dropdown-check-icon: url('/assets/images/icon-check-dark.svg'); | ||
| --dropdown-check-icon-inverse: url('/assets/images/icon-check-light.svg'); | ||
| --dropdown-all-background: #384ff0; | ||
|
|
||
| --community-featured-image-1: url('/assets/images/community/[email protected]'); | ||
| } | ||
|
|
||
| @mixin dark-theme() { | ||
|
|
@@ -251,4 +253,6 @@ | |
| --dropdown-check-icon: url('/assets/images/icon-check-light.svg'); | ||
| --dropdown-check-icon-inverse: url('/assets/images/icon-check-dark.svg'); | ||
| --dropdown-all-background: #1dc2fe; | ||
|
|
||
| --community-featured-image-1: url('/assets/images/community/[email protected]'); | ||
| } | ||
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.