Skip to content
Merged
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
5e90683
Start redesign
federicobucchi Apr 2, 2025
bfcff5f
Fix mobile code box and link callout (#986)
federicobucchi May 28, 2025
f3c9429
Update package.json with name and private props.
May 28, 2025
9a5e8c2
Update CLI page copy data.
May 28, 2025
f875c6f
Update code-box and full-width-text-code-column markup and styles.
May 28, 2025
5ec8133
Add optimized noise image.
May 28, 2025
1b47142
Update CLI page structure.
May 28, 2025
cc7e00f
Update hero animation easing.
May 28, 2025
94af3a7
Update copy homepage (#989)
federicobucchi May 28, 2025
5e4720e
Clean up the files from get started (#992)
shahmishal May 29, 2025
bd78fe1
Update the code block for Expressive (#993)
shahmishal May 29, 2025
1fae20b
Remove arrows from links
federicobucchi May 29, 2025
03abe03
Add Editors link
federicobucchi May 29, 2025
45409e1
Fix not showing Bash tab in mobile
federicobucchi May 29, 2025
96053b3
Change copy for container
federicobucchi May 29, 2025
44a63e8
Remove Latest Release
federicobucchi May 29, 2025
9206c4b
Change link to Alternate Install Options
federicobucchi May 29, 2025
97102bf
Fix mobile table style
federicobucchi May 29, 2025
89980b0
Update the image for the embedded use case page (#995)
shahmishal May 29, 2025
75c742c
Update the footer tools urls to docs (#996)
shahmishal May 29, 2025
cfdc07a
Update copy on cloud services use case page. (#997)
davelester May 29, 2025
44c683c
Format the code block
shahmishal May 29, 2025
62fcf34
Remove all arrows (#998)
federicobucchi May 29, 2025
2559931
Add Fish command for Swifly (#999)
federicobucchi May 29, 2025
6aaaa76
Update styles on get started hero boxes.
May 29, 2025
690507a
Handle reduce motion
federicobucchi May 29, 2025
138d2e5
simplify disable motion
federicobucchi May 29, 2025
b492ae3
Update install data
federicobucchi May 29, 2025
c067f60
feat(Homepage): darkmode support (#1005)
nkrambo May 30, 2025
464cd04
Updates copy on Cloud Services page. (#1006)
davelester May 30, 2025
badf5a4
add main nav links to footer (#1000)
alexandersandberg May 30, 2025
b0f9ca1
Merge branch 'main' into redesign-public-05-27-25
federicobucchi May 30, 2025
d74013a
Update the hummingbird logo in the use case page (#1007)
shahmishal May 30, 2025
53f9cdb
Update the copy of the cli hero section (#1008)
shahmishal May 30, 2025
cfac7f3
Update links and tweak text on Embedded use case page (#990)
kubamracek May 30, 2025
864d6af
Update dark mode styles for getting started components. (#1002)
jesseaborden May 30, 2025
18b4914
UI Style Tweaks (#1004)
jesseaborden May 30, 2025
68a7147
Update the urls and image for embedded use case (#1012)
shahmishal May 30, 2025
b27a3e8
Add bg version of code image row. Rename code image row. (#1011)
jesseaborden May 30, 2025
20cd978
Update the image for ergonomic-performan to improve the light mode (#…
shahmishal May 30, 2025
d7e7259
Add background to the blog post section and move it up on the page (#…
shahmishal May 30, 2025
032ef0e
Fix bg css var. Update landing dark mode background hex. (#1016)
jesseaborden May 30, 2025
60bb924
fix headline condition and line-height for image-text-row component. …
jesseaborden May 30, 2025
1a981a6
fix(CodeBlock): update copy states (#1018)
nkrambo May 31, 2025
9a7faea
Add a missing period (#1019)
shahmishal May 31, 2025
89f1f4e
Hide storybook from prod env
federicobucchi May 30, 2025
65efeed
Add sdk in linux
federicobucchi May 30, 2025
cf49964
Update windows releases
federicobucchi May 30, 2025
de2af32
Update macos releases
federicobucchi May 31, 2025
ccb8675
Update Linux data
federicobucchi May 31, 2025
8f54c6c
Fix static linux sdk duplicated
federicobucchi May 31, 2025
dee56d3
Fix size h2 in install mobile
federicobucchi Jun 2, 2025
b730053
fix(code-box): make code box tabs scroll on mobile. (#1022)
jesseaborden Jun 2, 2025
0949d27
Update the text for interoperable (#1027)
shahmishal Jun 2, 2025
d55d9a0
feat(hero-anim): Add mobile hero animation logic. Misc cleanup relate…
jesseaborden Jun 3, 2025
756b5c2
Update copy for Container
federicobucchi Jun 3, 2025
f322233
Update Winget Instructions link copy
federicobucchi Jun 3, 2025
4d4f6f6
add underline to callout links
alexandersandberg Jun 3, 2025
16d7d41
adjust comments to not extend 50 characters (#1033)
alexandersandberg Jun 3, 2025
d3bb7ee
chor(storybook): Update content. (#1031)
jesseaborden Jun 3, 2025
8ae6d4b
increase pillar intro text size
alexandersandberg Jun 3, 2025
fa4ca0d
Fix Winget description
federicobucchi Jun 3, 2025
d28c194
Merge branch 'main' into redesign
federicobucchi Jun 3, 2025
ea87964
style(typography): Update headlines to have uniform size and line-hei…
jesseaborden Jun 3, 2025
57dc34a
Update the image and url on use case page
shahmishal Jun 4, 2025
df44e8b
remove the redesign CI workflow file
shahmishal Jun 4, 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
47 changes: 47 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
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: ["redesign"]

# 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ xcuserdata

# VS Code files
.vscode

# Npm modules
node_modules
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
assets/javascripts/new-javascripts/vendor/
17 changes: 5 additions & 12 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
{
"overrides": [
{
"files": [
"**/*.css",
"**/*.scss"
],
"options": {
"tabWidth": 2,
"useTabs": false
}
}
]
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"semi": false,
"endOfLine": "lf"
}
10 changes: 6 additions & 4 deletions 404.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
layout: page-wide
title: "Not Found"
layout: new-layouts/base
title: Internal Server Error
permalink: /404.html
---

The page you’re looking for can’t be found.

<section class="section">
<h1>Not Found</h1>
The page you're looking for can’t be found.
</section>
9 changes: 6 additions & 3 deletions 500.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
layout: page-wide
title: "Internal Server Error"
layout: new-layouts/base
title: Internal Server Error
permalink: /500.html
---

The server encountered an error and was unable to complete your request.
<section class="section">
<h1>Internal Server Error</h1>
The server encountered an error and was unable to complete your request.
</section>
96 changes: 1 addition & 95 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,11 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-aarch64-linux-musl)
ffi (1.17.0-arm-linux-gnu)
ffi (1.17.0-arm-linux-musl)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86-linux-gnu)
ffi (1.17.0-x86-linux-musl)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.17.0-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.28.3)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-aarch64-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -86,84 +61,15 @@ GEM
rexml (3.3.9)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.81.0)
google-protobuf (~> 4.28)
rake (>= 13)
sass-embedded (1.81.0-aarch64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-aarch64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-aarch64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-aarch64-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-arm-linux-androideabi)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-arm-linux-gnueabihf)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-arm-linux-musleabihf)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-arm64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-riscv64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-riscv64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-riscv64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.81.0-x86_64-linux-musl)
google-protobuf (~> 4.28)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.0)

PLATFORMS
aarch64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
aarch64-mingw-ucrt
arm-linux-androideabi
arm-linux-gnu
arm-linux-gnueabihf
arm-linux-musl
arm-linux-musleabihf
arm64-darwin
riscv64-linux-android
riscv64-linux-gnu
riscv64-linux-musl
ruby
x86-cygwin
x86-linux
x86-linux-android
x86-linux-gnu
x86-linux-musl
x86-mingw-ucrt
x86_64-cygwin
x86_64-darwin
x86_64-linux
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
base64
Expand All @@ -174,4 +80,4 @@ DEPENDENCIES
webrick (~> 1.7)

BUNDLED WITH
2.5.23
2.5.23
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,23 @@ To run the site locally, enter the following commands into a terminal window:
git clone https://github.com/swiftlang/swift-org-website.git
cd swift-org-website
bundle install
LC_ALL=en_us.UTF-8 bundle exec jekyll serve
LC_ALL=en_us.UTF-8 bundle exec jekyll serve --config _config.yml,_config_dev.yml
open "http://localhost:4000"
```

If you’d like to contribute to this project, please run Prettier before submitting your pull request to ensure consistent code style across the project.

Requirements
- [Node v18.17.1 or higher](https://nodejs.org)

```shell
npm install
```

```shell
npm run prettify
```

### Running in Docker

First build the site with Docker Compose:
Expand Down
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ url: https://swift.org
title: Swift.org
description: "Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns."
timezone: America/Lower_Princes
exclude: ["README.md", "config.ru", "Gemfile", "Gemfile.lock", "Procfile", "vendor"]
exclude: ["README.md", "config.ru", "Gemfile", "Gemfile.lock", "Procfile", "vendor", "get-started/storybook"]
safe: false
future: true

Expand All @@ -29,3 +29,4 @@ whitelist:

include:
- .well-known
- assets/fonts
1 change: 1 addition & 0 deletions _config_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude: []
10 changes: 10 additions & 0 deletions _data/new-data/footer/community-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- title: Overview
link: /community/
- title: Swift Evolution
link: /swift-evolution/
- title: Diversity
link: /diversity/
- title: Mentorship
link: /mentorship/
- title: Contributing
link: /contributing/
6 changes: 6 additions & 0 deletions _data/new-data/footer/governance-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- title: Code of Conduct
link: /code-of-conduct/
- title: License
link: /legal/license.html
- title: Security
link: /support/security.html
6 changes: 6 additions & 0 deletions _data/new-data/footer/legals-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- title: Privacy Policy
link: //www.apple.com/privacy/privacy-policy/
- title: Cookies
link: //www.apple.com/legal/privacy/en-ww/cookies/
- title: API
link: /openapi
10 changes: 10 additions & 0 deletions _data/new-data/footer/main-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- title: Docs
link: /documentation/
- title: Community
link: /community/
- title: Packages
link: /packages/
- title: Blog
link: /blog/
- title: Install
link: /install/
15 changes: 15 additions & 0 deletions _data/new-data/footer/social-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# - title: Follow swiftlang on Github
# link: https://github.com/swiftlang
# class: github
Comment on lines +1 to +3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not want this GitHub link?

- title: Follow @SwiftLang on X
link: https://x.com/swiftlang
class: x
- title: Follow @swift.org on Bluesky
link: https://bsky.app/profile/swift.org
class: bluesky
- title: Follow @swiftLang on Mastodon
link: https://mastodon.social/@swiftlang
class: mastodon
- title: Subscribe to Site Updates
link: /atom.xml
class: feed
10 changes: 10 additions & 0 deletions _data/new-data/footer/tools-navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- title: Xcode
link: https://developer.apple.com/xcode/
- title: Visual Studio Code
link: /documentation/articles/getting-started-with-vscode-swift.html
- title: Emacs
link: /documentation/articles/zero-to-swift-emacs.html
- title: Neovim
link: /documentation/articles/zero-to-swift-nvim.html
- title: Other Editors
link: https://github.com/swiftlang/sourcekit-lsp/tree/main/Documentation/Editor%20Integration.md
8 changes: 8 additions & 0 deletions _data/new-data/get-started/cloud-services/code-box.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
headline: Develop and deploy to the cloud
code: $ docker pull swift
after-code-text: Swift publishes official container images for multiple architectures, making it easy to develop on Linux and to deploy to production. Ready-to-use guides are available for deploying to environments like Kubernetes, AWS, GCP, Digital Ocean, and many others.
links:
- href: '/install/linux/docker/'
copy: 'View installation via Docker'
- href: '/documentation/server/guides/deployment.html'
copy: 'View deployment guides'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
headline: Build & publish containers natively
body: Container images are the standard way to package cloud software today. Once you've packaged your server in a container image, you can deploy it on any container-based public or private cloud service, or run it locally using a desktop container runtime. <br /><br /> Swift Container Plugin allows you to build and publish container images for your Swift services in one streamlined workflow with Swift Package Manager.
link:
href: 'https://github.com/apple/swift-container-plugin'
copy: Swift Container Plugin
12 changes: 12 additions & 0 deletions _data/new-data/get-started/cloud-services/hero.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
headline: Create cloud services with Swift
body: Run performant services on Linux and deploy to the cloud
link:
url: /getting-started/vapor-web-server
text: Get Started
boxes:
- title: Performant
text: With incredible memory efficiency, Swift operates without a garbage collector, running with predictable speed while using fewer resources.
- title: Lightweight
text: Swift has minimal warm-up operations, making it an ideal fit for running cloud services, which are often rescheduled onto virtual machines and containers.
- title: Scalable
text: Powering internet-scale cloud services that handle billions of requests a day, Swift is capable of running large production workloads.
11 changes: 11 additions & 0 deletions _data/new-data/get-started/cloud-services/image-text-row.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
image:
src: /assets/images/get-started/[email protected]
alt:
copy:
headline: Low memory footprint. Massive performance.
paragraphs:
- 'Cultured Code migrated the services that support Things to Swift and saw a massive reduction in both cost and response time.'
- 'By leveraging Swift’s built-in features and server-oriented packages, they were able to thoroughly test and rapidly improve their customer experience.'
link:
text: Read more
href: /blog/how-swifts-server-support-powers-things-cloud/
Loading
Loading