Skip to content

Commit

Permalink
Rebrand Twitter to X in docs (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer authored Aug 11, 2024
1 parent 3b916ef commit d392595
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/docs/language/builtin-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Builtin data types
---

In extension to the [primitive data types](../primitive-types.md), Spice offers builtin data types.
In extension to the [primitive data types](primitive-types.md), Spice offers builtin data types.

## The `String` data type
In opposite to the [string primitive type](primitive-types.md#the-string-data-type), the `String` builtin type is
Expand Down
22 changes: 11 additions & 11 deletions docs/docs/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
}
}

.twitter {
color: #1DA1F2;
.x {
color: #fff;
animation: pulse 1000ms infinite;
}

.twitter-link {
.x-link {
color: white !important;
}
</style>
<a href="https://twitter.com/chillibits" target="_blank" class="twitter-link">
For updates follow <strong>@chillibits</strong> on <span class="twemoji twitter"> {% include ".icons/fontawesome/brands/twitter.svg" %} </span> <strong>Twitter</strong>
<a href="https://x.com/chillibits" target="_blank" class="x-link">
For updates follow <strong>@chillibits</strong> on <span class="twemoji x"> {% include ".icons/fontawesome/brands/x-twitter.svg" %} </span>
</a>
{% endblock %}

Expand All @@ -39,11 +39,11 @@
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@chillibits">
<meta name="twitter:creator" content="@chillibits">
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ config.site_description }}">
<meta name="twitter:image" content="{{ image }}">
<meta name="x:card" content="summary_large_image">
<meta name="x:site" content="@chillibits">
<meta name="x:creator" content="@chillibits">
<meta name="x:title" content="{{ title }}">
<meta name="x:description" content="{{ config.site_description }}">
<meta name="x:image" content="{{ image }}">
<meta name="theme-color" content="#829FAF">
{% endblock %}
9 changes: 5 additions & 4 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/spicelang/spice
- icon: fontawesome/brands/twitter
link: https://twitter.com/chillibits
- icon: fontawesome/brands/x-twitter
link: https://x.com/chillibits
- icon: fontawesome/brands/docker
link: https://hub.docker.com/r/chillibits/spice

Expand Down Expand Up @@ -112,6 +112,7 @@ nav:
- language/structs.md
- language/methods.md
- language/constructors-destructors.md
- language/interfaces.md
- language/aliases.md
- language/generics.md
- language/threads.md
Expand Down Expand Up @@ -139,5 +140,5 @@ markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji

0 comments on commit d392595

Please sign in to comment.