Skip to content

Commit

Permalink
Merge pull request #10 from RealEskalate/Blen.design_change
Browse files Browse the repository at this point in the history
Blen.fix: one more buttong fix
  • Loading branch information
blenassefa2 authored May 24, 2024
2 parents 88da660 + 00eebba commit 6853dc1
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/hacks-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
<div class="square" id="sq9"></div>
</div>
</app-root>
<script src="runtime.fa4c12334e562a2f.js" type="module"></script><script src="polyfills.90ef581e7c769a2c.js" type="module"></script><script src="scripts.e320179c7ad2f681.js" defer></script><script src="vendor.a4cf9e761422ef78.js" type="module"></script><script src="main.8228f2cead44b5f1.js" type="module"></script>
<script src="runtime.fa4c12334e562a2f.js" type="module"></script><script src="polyfills.90ef581e7c769a2c.js" type="module"></script><script src="scripts.e320179c7ad2f681.js" defer></script><script src="vendor.a4cf9e761422ef78.js" type="module"></script><script src="main.e86c2522b199a28c.js" type="module"></script>

</body></html>
1 change: 0 additions & 1 deletion dist/hacks-website/main.8228f2cead44b5f1.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/hacks-website/main.e86c2522b199a28c.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/app/shared/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<span class="inline-flex max-sm:mb-4 sm:ml-auto sm:mt-0 gap-x-3 items-center justify-between ">

<a class="ml-2 text-gray-100 hover:text-indigo-600 mb-1" target="_blank" href="https://t.me/+yqzQh04AAXRjZGQ0">
<a class="ml-2 text-gray-100 hover:text-indigo-600 mb-1" target="_blank" (click)="setActiveButton('signup', 'https://t.me/+yqzQh04AAXRjZGQ0')" href="https://t.me/+yqzQh04AAXRjZGQ0">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="w-4 h-4 sm:w-5 sm:h-5 " viewBox="0 0 24 24">
<path d="M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"/>
</svg>
Expand All @@ -20,27 +20,27 @@
</svg>
</a> -->

<a class="text-gray-100 hover:text-indigo-600 mr-2" target="_blank" href="https://www.facebook.com/africatosiliconvalley">
<a class="text-gray-100 hover:text-indigo-600 mr-2" target="_blank" (click)="setActiveButton('signup', 'https://www.facebook.com/africatosiliconvalley')" href="https://www.facebook.com/africatosiliconvalley">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 sm:w-5 sm:h-5 " viewBox="0 0 24 24">
<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"></path>
</svg>
</a>


<a class="text-gray-100 align-middle hover:text-indigo-600" target="_blank" href="https://www.instagram.com/a2sv_org/?hl=en">
<a class="text-gray-100 align-middle hover:text-indigo-600" target="_blank" (click)="setActiveButton('signup', 'https://www.instagram.com/a2sv_org/?hl=en')" href="https://www.instagram.com/a2sv_org/?hl=en">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 sm:w-5 sm:h-5" viewBox="0 0 448 512">
<path d="M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z" />
</svg>
</a>


<a class="ml-3 text-gray-100 hover:text-indigo-600" target="_blank" href="https://twitter.com/A2_SV">
<a class="ml-3 text-gray-100 hover:text-indigo-600" target="_blank" (click)="setActiveButton('signup', 'https://twitter.com/A2_SV')" href="https://twitter.com/A2_SV">
<svg class="w-3 h-3 sm:w-4 sm:h-4" viewBox="0 0 300 300" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/>
</svg>
</a>

<a class="ml-3 text-gray-100 hover:text-indigo-600" target="_blank" href="https://www.linkedin.com/company/a2sv/">
<a target="_blank" href="https://calendar.google.com/calendar/event?action=TEMPLATE&amp;tmeid=NzUxNDVuaXUyOTN0c2xpcHYxN3JybDRmOTQgYmxlbkBhMnN2Lm9yZw&amp;tmsrc=blen%40a2sv.org"><img border="0" src="https://www.google.com/calendar/images/ext/gc_button1_en.gif"></a>
<a class="ml-3 text-gray-100 hover:text-indigo-600" target="_blank" (click)="setActiveButton('signup', 'https://www.linkedin.com/company/a2sv/')" href="https://www.linkedin.com/company/a2sv/">
<svg fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" class="w-4 h-4 sm:w-5 sm:h-5" viewBox="0 0 24 24">
<path stroke="none" d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"></path>
<circle cx="4" cy="4" r="2" stroke="none"></circle>
Expand Down
4 changes: 3 additions & 1 deletion src/app/shared/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ import { Component } from '@angular/core';
styleUrls: ['./footer.component.css']
})
export class FooterComponent {

setActiveButton(buttonName: string, link: string) {
window.open(link, '_blank');
}
}
5 changes: 5 additions & 0 deletions src/app/shared/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
<a
class="ml-2 text-gray-100 hover:text-indigo-600 mb-1"
target="_blank"
(click)="setActiveButton('signup', 'https://t.me/+yqzQh04AAXRjZGQ0')"
href="https://t.me/+yqzQh04AAXRjZGQ0"
>
<svg
Expand Down Expand Up @@ -148,6 +149,7 @@
<a
class="text-gray-100 hover:text-indigo-600 mr-2"
target="_blank"
(click)="setActiveButton('signup', 'https://www.facebook.com/africatosiliconvalley')"
href="https://www.facebook.com/africatosiliconvalley"
>
<svg
Expand All @@ -167,6 +169,7 @@
<a
class="text-gray-100 align-middle hover:text-indigo-600"
target="_blank"
(click)="setActiveButton('signup', 'https://www.instagram.com/a2sv_org/?hl=en')"
href="https://www.instagram.com/a2sv_org/?hl=en"
>
<svg
Expand All @@ -186,6 +189,7 @@
<a
class="ml-3 text-gray-100 hover:text-indigo-600"
target="_blank"
(click)="setActiveButton('signup', 'https://twitter.com/A2_SV')"
href="https://twitter.com/A2_SV"
>
<svg
Expand All @@ -203,6 +207,7 @@
<a
class="ml-3 text-gray-100 hover:text-indigo-600"
target="_blank"
(click)="setActiveButton('signup', 'https://www.linkedin.com/company/a2sv/')"
href="https://www.linkedin.com/company/a2sv/"
>
<svg
Expand Down
4 changes: 4 additions & 0 deletions src/app/shared/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export class HeaderComponent {
element.scrollIntoView({ behavior: 'smooth' });
}
}

setActiveButton(buttonName: string, link: string) {
window.open(link, '_blank');
}
}


Expand Down

0 comments on commit 6853dc1

Please sign in to comment.