diff --git a/homepage/index.html b/homepage/index.html index 6d7d3b52d..33420692d 100644 --- a/homepage/index.html +++ b/homepage/index.html @@ -20,53 +20,7 @@ crossorigin="anonymous" /> - + @@ -107,80 +61,84 @@

Difftastic is a CLI diff tool that compares files based on their - syntax, not line-by-line. It supports over 40 programming languages. + syntax, not line-by-line. Difftastic produces accurate diffs that are + easier for humans to read.

-
-
-

- Understand - What Actually Changed -

+
+
+
+

+ Understand + What Actually Changed +

-
- screenshot +
+ screenshot +
+

+ Difftastic parses your code with + tree-sitter. Unlike a line-oriented text diff, difftastic understands that + the inner expression hasn't changed here. +

-

- Difftastic parses your code with - tree-sitter. Unlike a line-oriented text diff, difftastic understands that the - inner expression hasn't changed here. -

-
-
-
-

Ignore Formatting Changes

+
+
+

Ignore Formatting Changes

-
- screenshot +
+ screenshot +
+

+ Has your code formatter decided to split something over multiple + lines? Difftastic can show what has actually changed. +

-

- Has your code formatter decided to split something over multiple - lines? Difftastic can show what has actually changed. -

-
-
-
-

Visualise Wrapping Changes

+
+
+

Visualise Wrapping Changes

-
- screenshot -
-

- Have you added a wrapper? Difftastic can match the delimiters - exactly. -

+
+ screenshot +
+

+ Have you added a wrapper? Difftastic can match the delimiters + exactly. +

-
- screenshot +
+ screenshot +
+

+ Even if you change the inner content, difftastic can still show + you the additional wrapper. +

-

- Even if you change the inner content, difftastic can still show you - the additional wrapper. -

-
-
-
-

- Real - Line Numbers -

+
+
+

+ Real + Line Numbers +

-
- screenshot +
+ screenshot +
+

+ Do you know how to read + @@ -5,6 +5,7 @@ syntax? Difftastic shows the actual + line numbers from your files, both before and after. +

-

- Do you know how to read - @@ -5,6 +5,7 @@ syntax? Difftastic shows the actual - line numbers from your files, both before and after. -

@@ -193,426 +151,427 @@
-
-
-

Programming Languages

+
+
+
+

Programming Languages

+ +
+
+ -
-
- - -

C++

-
-
- -
-

- C# -

+
+ +
+

+ C# +

+
-
- -
- -
-

- Clojure -

+
+ + +
+

+ Clojure +

+
-
- -
- -
-

- Dart -

+
+ + +
+

+ Dart +

+
-
- -
- -
-

- Erlang -

+
+ + +
+

+ Erlang +

+
-
- -
- -
-

- Go -

+
+ + +
+

+ Go +

+
-
- -
- -
-

- Haskell -

+
+ + +
+

+ Haskell +

+
-
-
- - -
-

- Java -

+
+ + +
+

+ Java +

+
-
-
- - -
-

- JavaScript -

+
+ + +
+

+ JavaScript +

+
-
-
- - -
-

- Kotlin -

+
+ + +
+

+ Kotlin +

+
-
-
- - -
-

- Lisp -

+
+ + +
+

+ Lisp +

+
-
- -
- -
-

- Lua -

+
+ + +
+

+ Lua +

+
-
- -
- -
-

- OCaml -

+
+ + +
+

+ OCaml +

+
-
- -
- -
-

- PHP -

+
+ + +
+

+ PHP +

+
-
-
- -
-

- Python -

+
+ +
+

+ Python +

+
-
- -
- -
-

- R -

+
+ + +
+

+ R +

+
-
- -
- -
-

- Ruby -

+
+ + +
+

+ Ruby +

+
-
- -
- -
-

- Rust -

+
+ + +
+

+ Rust +

+
-
- -
- -
-

- Scala -

+
+ + +
+

+ Scala +

+
-
- -
- -
-

- TypeScript -

+
+ + +
+

+ TypeScript +

+
+ +
- +

+ And more! See the full + list of supported languages + in the manual. +

- -

- And more! See the full - list of supported languages - in the manual. -

-
-
-
-

File Formats

+
+
+

File Formats

-
-
- - - -
-

- HCL -

+
+
+ + + +
+

+ HCL +

+
-
-
- - -
-

- HTML -

+
+ + +
+

+ HTML +

+
-
- -
- -
-

- JSON -

+
+ + +
+

+ JSON +

+
-
- -
- -
-

- YAML -

+
+ + +
+

+ YAML +

+
+
- -
-

- And even more! See the full - list of supported file formats - in the manual. -

+

+ And even more! See the full + list of supported file formats + in the manual. +

+
diff --git a/homepage/style.css b/homepage/style.css new file mode 100644 index 000000000..3fea4534e --- /dev/null +++ b/homepage/style.css @@ -0,0 +1,63 @@ +body { + --bs-body-font-size: 18px; + --bs-border-radius: 0.5rem; +} + +h1 { + font-family: "Fontdiner Swanky", serif; + text-shadow: 5px 5px #1d1b22; +} + +h3 { + line-height: 45px; +} + +.container h2 { + padding-bottom: 1rem; +} + +html, +body { + background-color: #2e3436; +} + +/* Colours from Tango theme */ +.red, +code { + color: #ef2929; +} +.green, +a { + color: #8ae234; +} + +.img-wrapper { + width: atuo; + border: var(--bs-card-border-width) solid var(--bs-card-border-color); + border-radius: var(--bs-border-radius); + background-color: #2e3436; +} +.img-wrapper img { + max-width: 100%; +} + +object { + background-color: #f8f8f2; + border-radius: 25% 25%; + padding: 5px; + box-shadow: 5px 5px #a09fa2; +} + +.card-set .card { + border-radius: 0; + border-bottom: 0; +} +.card-set .card:first-child { + border-top-right-radius: var(--bs-card-border-radius); + border-top-left-radius: var(--bs-card-border-radius); +} +.card-set .card:last-child { + border-bottom-right-radius: var(--bs-card-border-radius); + border-bottom-left-radius: var(--bs-card-border-radius); + border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color); +}