Skip to content
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

Switch domain to old.timeleap.swiss #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions cadey/macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ export const macros = {
const headerSlugs = header.map(slug);

const headersJson = JSON.stringify(
header.map((value, i) => ({ key: headerSlugs[i], value }))
header.map((value, i) => ({ key: headerSlugs[i], value })),
);

const rowsJson = JSON.stringify(
rows.map((row, id) =>
Object.fromEntries([
["id", id],
...row.map((value, i) => [headerSlugs[i], value]),
])
)
]),
),
);

return `<DataTable headers={${headersJson}} rows={${rowsJson}} />`;
Expand Down Expand Up @@ -88,7 +88,7 @@ export const macros = {
link(options, ...args) {
const [href, ...text] = args.slice(1);
const local =
href.startsWith("https://timeleap.swiss") || href.startsWith("/");
href.startsWith("https://old.timeleap.swiss") || href.startsWith("/");
const component = local ? "Link" : "OutboundLink";
const content = text ? asText(text) : href;
return `<${component} href="${href}">${content}</${component}>`;
Expand Down Expand Up @@ -194,7 +194,7 @@ export const macros = {
async toc(options, ...args) {
this.components = { ...this.components, Toc: true };
const files = asArgList(args).map((name) =>
path.join(path.dirname(this.currentFile), `${name}.cadey`)
path.join(path.dirname(this.currentFile), `${name}.cadey`),
);
await Promise.all(files.map((file) => this.processOne(file)));
const headings = {};
Expand Down
4 changes: 2 additions & 2 deletions cadey/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const defaultDescription =
"Timeleap is a start-up in Switzerland that provides blockchain technology services, including data indexing, oracles, IoT SDK, and product development.";

const absolute = (url) =>
url.startsWith("/") ? `https://timeleap.swiss${url}` : url;
url.startsWith("/") ? `https://old.timeleap.swiss${url}` : url;

const titlesByType = {
blog: "Blog",
Expand All @@ -46,7 +46,7 @@ export const getSeoTags = (body, context, type) => {

const image = images?.length
? images[0]
: "https://timeleap.swiss/images/social.png";
: "https://old.timeleap.swiss/images/social.png";

const title =
headings?.length && headings[0].title != titlesByType[type]
Expand Down
38 changes: 19 additions & 19 deletions src/components/seo/DefaultTags.svelte
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<script>
export let title = "Timeleap — Indexing. Oracles. IoT.";
export let description =
"Timeleap is a blockchain tech company offering services such as Custom Oracle Network, blockchain IoT SDK, and Deep Indexing on Ethereum, Arbitrum, Aurora, Avalanche, Fantom, Polygon, Bitgert and the BNB Smart Chain.";
export let image = "https://timeleap.swiss/images/social.png";
export let title = 'Timeleap — Indexing. Oracles. IoT.';
export let description =
'Timeleap is a blockchain tech company offering services such as Custom Oracle Network, blockchain IoT SDK, and Deep Indexing on Ethereum, Arbitrum, Aurora, Avalanche, Fantom, Polygon, Bitgert and the BNB Smart Chain.';
export let image = 'https://old.timeleap.swiss/images/social.png';
</script>

<svelte:head>
<title>{title}</title>
<meta name="title" content={title} />
<meta name="description" content={description} />
<title>{title}</title>
<meta name="title" content={title} />
<meta name="description" content={description} />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://timeleap.swiss/" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://old.timeleap.swiss/" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={image} />

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://timeleap.swiss/" />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={image} />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://old.timeleap.swiss/" />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={image} />
</svelte:head>
2 changes: 1 addition & 1 deletion src/lib/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const walletConnectProjectId = "cd75e040ea5fcb69967fff012c27bc00";

const uauth = uauthModule({
clientID: "d2c1ef00-bab8-4f6d-b851-8fe9926ae01e",
redirectUri: "https://timeleap.swiss",
redirectUri: "https://old.timeleap.swiss",
scope: "openid wallet",
walletConnectProjectId,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ or AWS Lambda. You can use Python, Go, Node.js, or any other programming languag
The Custom Oracle Protocol is simple; you need a public HTTP[:S:] endpoint that receives
events from the Oracle Network's Event Dispatcher, processes the event, and returns a JSON
response with instructions on what to do with the event. You can read more about it in our
[link https://timeleap.swiss/docs/services/oracle-network/custom/protocol documentation].
[link https://old.timeleap.swiss/docs/services/oracle-network/custom/protocol documentation].

You also need a smart contract to make this work. You need to emit an event from your contract;
we send this event to your custom oracle for processing. The Oracle Network then needs to call
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ If you want to use oracles, you need to be familiar with these tools:

Kenshi has built a high-performance asynchronous oracle network for hosting custom oracles. This
network will let you develop your oracles using the tools and technology you already know.
(Read the documentation [link https://timeleap.swiss/docs/services/oracle-network here].)
(Read the documentation [link https://old.timeleap.swiss/docs/services/oracle-network here].)

You can also use our [link https://timeleap.swiss/docs/services/oracle-network/custom/blueprints blueprints]
You can also use our [link https://old.timeleap.swiss/docs/services/oracle-network/custom/blueprints blueprints]
as a guide to get started with a price oracle, weather oracle, proof of balance oracle, and more.

Kenshi also offers all the tools you need to build a VRF (verifiable random function) oracle
Expand Down Expand Up @@ -200,7 +200,7 @@ final results for your app. Finally, you can get notifications about new blockch
on your HTTP endpoints, which you can do through Reverse-API.

You can learn more about these services by reading the
[link https://timeleap.swiss/docs/services/deep-index documentation].
[link https://old.timeleap.swiss/docs/services/deep-index documentation].

[heading :size 2 Wallets]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For meme projects aiming to maximize their potential in sync with their communit

[list
[: Email: [link mailto:[email protected] [email protected]]]
[: Website: [link https://timeleap.swiss/blockchain https://timeleap.swiss/blockchain]]
[: Website: [link https://old.timeleap.swiss/blockchain https://old.timeleap.swiss/blockchain]]
[: Telegram: @dash_timeleap]]

[meta author Timeleap Team]
Expand Down
Loading