diff --git a/about/index.md b/about/index.md index b777203fa..e8895b7dc 100644 --- a/about/index.md +++ b/about/index.md @@ -3,15 +3,14 @@ layout: page title: About Swift --- -Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns. +Swift is a general-purpose programming language that's approachable for newcomers and powerful in expert hands. It is quick to write, fast to run, modern, and safe. -The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services. Most importantly, Swift is designed to make writing and maintaining *correct* programs easier for the developer. To achieve this goal, we believe that the most obvious way to write Swift code must also be: +* Swift is general-purpose and modern. Suitable for everything from systems programming, through mobile and desktop apps, to cloud services. +* Swift is safe. Undefined behavior is the enemy of safety, and it’s best to catch mistakes before software goes into production. Swift makes the obvious path the safest. +* Swift is fast to run and quick to write. Swift is fast to run and quick to write. It comes with predictable and consistent performance that is on-par with C-based languages without sacrificing developer friendliness. +* Swift is approachable and powerful. From a single-line “Hello, World!” to large-scale apps with hundreds of thousands of lines. Swift scales with your needs. -**Safe.** The most obvious way to write code should also behave in a safe manner. Undefined behavior is the enemy of safety, and developer mistakes should be caught before software is in production. Opting for safety sometimes means Swift will feel strict, but we believe that clarity saves time in the long run. - -**Fast.** Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). As such, Swift must be comparable to those languages in performance for most tasks. Performance must also be predictable and consistent, not just fast in short bursts that require clean-up later. There are lots of languages with novel features — being fast is rare. - -**Expressive.** Swift benefits from decades of advancement in computer science to offer syntax that is a joy to use, with modern features developers expect. But Swift is never done. We will monitor language advancements and embrace what works, continually evolving to make Swift even better. +## Tools Tools are a critical part of the Swift ecosystem. We strive to integrate well within a developer's toolset, to build quickly, to present excellent diagnostics, and to enable interactive development experiences. Tools can make programming so much more powerful, like Swift-based playgrounds do in Xcode, or a web-based REPL can when working with Linux server-side code. diff --git a/assets/stylesheets/pages/_landing.scss b/assets/stylesheets/pages/_landing.scss index eb6d4394c..d40bf37b9 100644 --- a/assets/stylesheets/pages/_landing.scss +++ b/assets/stylesheets/pages/_landing.scss @@ -1,27 +1,11 @@ -.why-swift-list { - list-style: none; - padding-left: 0; - display: grid; - gap: 1rem; - - li { - border: 1px solid var(--color-fill-tertiary); - padding: 1rem; - border-radius: 4px; - display: flex; - flex-direction: column; - - h3 { - line-height: 1.4; - font-size: 1.4rem; - padding-top: 0; - } - - p { - flex-grow: 1; - color: var(--color-secondary-label); - margin-bottom: 0; - } +.preamble { + font-weight: normal; + font-size: 28px; + line-height: 30px; + margin-bottom: 30px; + + strong { + font-weight: 600; } } diff --git a/index.md b/index.md index 501211c71..a36dbbfe6 100644 --- a/index.md +++ b/index.md @@ -4,9 +4,7 @@ title: Welcome to Swift.org atom: true --- -# Welcome to Swift.org - -Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns. +

Swift is a general-purpose programming language that's approachable for newcomers and powerful in expert hands. It is quick to write, fast to run, modern, and safe.

{% for snippet in site.data.featured_snippets %} ```swift @@ -37,7 +35,7 @@ Swift is a general-purpose programming language built using a modern approach to -
  • +
  • Read the docs @@ -46,29 +44,6 @@ Swift is a general-purpose programming language built using a modern approach to -## Why Swift? - - - @@ -82,7 +57,7 @@ Swift is a general-purpose programming language built using a modern approach to Swift is a powerful and intuitive programming language optimized when running on iOS, macOS, and other Apple platforms.

    Apple offers a wide variety of frameworks and APIs that make applications developed for these platforms unique and fun. -

    +

    Learn more