Skip to content

Commit

Permalink
chore: open in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Jan 22, 2024
1 parent 0b24579 commit 32e1ce1
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/Applications.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<div class="grid md:grid-cols-2 gap-4 lg:grid-cols-3 justify-items-center place-content-around">
{#each applications as application, index}
<AnimatedInView once={true} animation={`from-bottom 1s ease-out ${index / 10}s both`}>
<a href={application.href}>
<a href={application.href} target="_blank" rel="noopener noreferrer">
<article class="m-0 p-1 min-h-80 flex justify-center items-center flex-col aura px-4">
<div class="flex justify-center items-center flex-col" style="height: 200px;">
<img
Expand Down
16 changes: 12 additions & 4 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,16 @@
<a
role="button"
href="https://docs.deepsquare.run/workflow/overview"
target="_blank"
rel="noopener"
style="text-transform: uppercase"
class="my-2">Get started</a
>
<a
role="button"
href="https://discord.com/invite/3PQkJGvUGB"
target="_blank"
rel="noopener"
style="text-transform: uppercase"
class="outline my-2"><span>Join our Discord</span></a
>
Expand Down Expand Up @@ -303,7 +307,7 @@
style="max-width: 256px; min-height: 172px; max-height: 100px;"
class="flex justify-center items-center my-4 aura"
>
<a href={builder.href}>
<a href={builder.href} target="_blank" rel="noopener noreferrer">
<img
style="max-height: 100px;"
height="172"
Expand Down Expand Up @@ -335,7 +339,7 @@
style="max-width: 256px; min-height: 172px; max-height: 100px;"
class="flex justify-center items-center my-4 aura"
>
<a href={incubator.href}>
<a href={incubator.href} target="_blank" rel="noopener noreferrer">
<img style="max-height: 100px;" src={incubator.img} alt={incubator.name} />
</a>
</div>
Expand All @@ -361,7 +365,7 @@
style="max-width: 256px; min-height: 172px; max-height: 100px;"
class="flex justify-center items-center my-4 aura"
>
<a href={partner.href}>
<a href={partner.href} target="_blank" rel="noopener noreferrer">
<img style="max-height: 100px;" src={partner.img} alt={partner.name} />
</a>
</div>
Expand All @@ -387,7 +391,11 @@
style="max-width: 256px; min-height: 172px; max-height: 100px;"
class="flex justify-center items-center my-4 aura"
>
<a href={organizationOrAssociation.href}>
<a
href={organizationOrAssociation.href}
target="_blank"
rel="noopener noreferrer"
>
<img
style="max-height: 100px;"
src={organizationOrAssociation.img}
Expand Down
10 changes: 9 additions & 1 deletion src/routes/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
<li>
<a
style="text-decoration: underline; color: #FFF;"
target="_blank"
rel="noopener"
href="https://docs.deepsquare.run/workflow/overview">Documentation</a
>
</li>
Expand Down Expand Up @@ -79,14 +81,20 @@
<p>
<a
style="color: #FFF;"
target="_blank"
rel="noopener noreferrer"
href="https://www.google.com/maps/place/Gotthardstrasse+26,+6300+Zug,+Switzerland"
><span class="material-symbols-outlined"> location_on </span> DeepSquare Association, Gotthardstrasse
26, 6300 Zug, Switzerland</a
>
</p>

<p>
<a style="color: #FFF;" href="https://share-eu1.hsforms.com/1uKsDKrlhRnGk3UeUEz7DLgev6gi"
<a
target="_blank"
rel="noopener"
style="color: #FFF;"
href="https://share-eu1.hsforms.com/1uKsDKrlhRnGk3UeUEz7DLgev6gi"
><span class="material-symbols-outlined"> contact_page </span> External Contact Form
<span class="material-symbols-outlined"> arrow_outward </span></a
>
Expand Down
54 changes: 42 additions & 12 deletions src/routes/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
href?: string;
children?: Route[];
icon?: string;
isExternal?: boolean;
isButton?: boolean;
};
Expand All @@ -58,26 +59,31 @@
// },
{
name: 'Blog <span class="material-symbols-outlined">arrow_outward</span>',
href: 'https://medium.com/@DeepSquare.io'
href: 'https://medium.com/@DeepSquare.io',
isExternal: true
},
{
name: 'Get Started <span class="material-symbols-outlined">arrow_outward</span>',
href: 'https://docs.deepsquare.run/workflow/overview'
href: 'https://docs.deepsquare.run/workflow/overview',
isExternal: true
},
{
name: 'GitHub',
icon: '<i class="fa-brands fa-github"></i>',
href: 'https://github.com/deepsquare-io/grid'
href: 'https://github.com/deepsquare-io/grid',
isExternal: true
},
{
name: 'Telegram',
icon: '<i class="fa-brands fa-telegram"></i>',
href: 'https://t.me/DeepSquareProject'
href: 'https://t.me/DeepSquareProject',
isExternal: true
},
{
name: 'Discord',
icon: '<i class="fa-brands fa-discord"></i>',
href: 'https://discord.com/invite/3PQkJGvUGB'
href: 'https://discord.com/invite/3PQkJGvUGB',
isExternal: true
}
];
</script>
Expand Down Expand Up @@ -109,10 +115,17 @@
{#if route.href}
<li>
{#if route.icon}
<a href={route.href}>{@html route.icon}</a>
<a
href={route.href}
target={route.isExternal ? '_blank' : undefined}
rel={route.isExternal ? 'noopener noreferrer' : undefined}>{@html route.icon}</a
>
{:else}
<a role={route.isButton ? 'button' : undefined} href={route.href}
>{@html route.name}</a
<a
role={route.isButton ? 'button' : undefined}
href={route.href}
target={route.isExternal ? '_blank' : undefined}
rel={route.isExternal ? 'noopener noreferrer' : undefined}>{@html route.name}</a
>
{/if}
</li>
Expand All @@ -122,7 +135,14 @@
<a>{@html route.name}</a>
<ul role="listbox">
{#each route.children as child}
<li><a href={child.href}>{@html child.name}</a></li>
<li>
<a
href={child.href}
target={child.isExternal ? '_blank' : undefined}
rel={child.isExternal ? 'noopener noreferrer' : undefined}
>{@html child.name}</a
>
</li>
{/each}
</ul>
</li>
Expand Down Expand Up @@ -212,15 +232,25 @@
{#each routes as route}
<li class="flex justify-end">
{#if route.href}
<a role={route.isButton ? 'button' : undefined} href={route.href}
>{@html route.name} {@html route.icon ?? ''}</a
<a
role={route.isButton ? 'button' : undefined}
target={route.isExternal ? '_blank' : undefined}
rel={route.isExternal ? 'noopener noreferrer' : undefined}
href={route.href}>{@html route.name} {@html route.icon ?? ''}</a
>
{:else if route.children}
<details>
<summary>{route.name}</summary>
<ul style="text-align: end;">
{#each route.children as child}
<li><a href={child.href}>{@html child.name}</a></li>
<li>
<a
href={child.href}
target={child.isExternal ? '_blank' : undefined}
rel={child.isExternal ? 'noopener noreferrer' : undefined}
>{@html child.name}</a
>
</li>
{/each}
</ul>
</details>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/faqs/-page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ of all sizes.`
<center>
<h4>Join our Community</h4>
<div>
<a href="https://t.me/DeepSquareProject" target="_blank">
<a target="_blank" rel="noopener" href="https://t.me/DeepSquareProject">
<img style="filter: var(--mono-img-filter);" id="telegram" src={Telegram} alt="Telegram" />
</a>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/routes/investors/-page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
</p>

<center class="my-4">
<a role="button" href="https://share-eu1.hsforms.com/1qf0dlM_XSwe8s_1c6cvrqgev6gi"
<a
target="_blank"
rel="noopener"
role="button"
href="https://share-eu1.hsforms.com/1qf0dlM_XSwe8s_1c6cvrqgev6gi"
>Secure Your Spot in the Flash Sale</a
>
</center>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/privacy-policy/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<p></p>
<p></p>
<p>
Contact us on Telegram: <a href="https://t.me/DeepSquareProject."
Contact us on Telegram: <a target="_blank" rel="noopener" href="https://t.me/DeepSquareProject."
>https://t.me/DeepSquareProject</a
>
</p>
Expand Down
8 changes: 8 additions & 0 deletions src/routes/solutions/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
role="button"
class="outline"
style="text-transform: uppercase;"
target="_blank"
rel="noopener"
href="https://share-eu1.hsforms.com/186i4x9HOQAyEAboeeRaBCwev6gi"
><span>Become a grid partner</span></a
>
Expand Down Expand Up @@ -125,6 +127,8 @@
role="button"
class="outline"
style="text-transform: uppercase;"
target="_blank"
rel="noopener"
href="https://docs.deepsquare.run/deepsquare-grid/clusterfactory/overview"
><span>Learn more</span></a
>
Expand Down Expand Up @@ -156,6 +160,8 @@
role="button"
class="outline"
style="text-transform: uppercase;"
target="_blank"
rel="noopener"
href="https://t.me/DeepSquareProject"><span>Join us</span></a
>
</center>
Expand Down Expand Up @@ -344,6 +350,8 @@
role="button"
class="outline mt-4"
style="text-transform: uppercase;"
target="_blank"
rel="noopener noreferrer"
href="https://metaverseinsider.tech/2023/01/12/data-scientists-and-artist-heating-up-homes-in-basel/"
><span>Learn more</span></a
>
Expand Down

0 comments on commit 32e1ce1

Please sign in to comment.