[a] progress
This commit is contained in:
parent
97a6e003f1
commit
f1528aa6f9
2 changed files with 66 additions and 65 deletions
|
@ -1,7 +1,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
|
|
||||||
function smoothScrollTo(elementId: string) {
|
function smoothScrollTo(elementId: string) {
|
||||||
const element = document.getElementById(elementId);
|
const element = document.getElementById(elementId);
|
||||||
if (element) {
|
if (element) {
|
||||||
element.scrollIntoView({
|
element.scrollIntoView({
|
||||||
|
@ -25,47 +25,49 @@
|
||||||
function openWebsite(url: string) {
|
function openWebsite(url: string) {
|
||||||
goto(url);
|
goto(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="projects" class="section">
|
<div id="projects" class="section">
|
||||||
<header>
|
<header>
|
||||||
<svg
|
<svg
|
||||||
role="button"
|
role="button"
|
||||||
class="logo"
|
class="logo"
|
||||||
width="145px"
|
width="145px"
|
||||||
height="145px"
|
height="145px"
|
||||||
viewBox="0 0 145 145"
|
viewBox="0 0 145 145"
|
||||||
fill="none"
|
fill="none"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
on:click={redirectToHome}
|
on:click={redirectToHome}
|
||||||
on:keydown={handleKeydown}
|
on:keydown={handleKeydown}
|
||||||
>
|
>
|
||||||
<mask
|
<mask
|
||||||
id="mask0_1404_2"
|
id="mask0_1404_2"
|
||||||
style="mask-type: alpha"
|
style="mask-type: alpha"
|
||||||
maskUnits="userSpaceOnUse"
|
maskUnits="userSpaceOnUse"
|
||||||
x="27"
|
x="27"
|
||||||
y="0"
|
y="0"
|
||||||
width="90"
|
width="90"
|
||||||
height="145"
|
height="145"
|
||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
d="M46.7029 141.913C42.9858 137.94 41.035 133.479 41.035 128.952C41.035 123.914 39.9988 121.93 34.0581 115.588C28.1576 109.29 27.0886 106.668 28.273 101.396C29.947 93.9459 32.7227 91.6033 55.6196 78.3162C61.4926 74.908 66.5691 71.4125 66.9008 70.5483C67.6262 68.658 64.9196 64.838 61.5525 63C60.2091 62.2666 54.8908 59.7224 49.7341 57.3461C39.1468 52.4674 32.7016 47.2533 31.3911 42.5068C30.1104 37.8687 31.7499 30.4195 34.7377 27.3009C37.9507 23.9472 54.3659 14.1964 67.4147 7.89039C85.1571 -0.683936 95.0145 -1.86142 100.781 3.90474C104.255 7.37954 104.579 13.2727 101.562 18.1536C98.9972 22.3035 91.6993 28.4086 84.3922 32.5169C81.2408 34.2887 78.5255 36.4495 78.3581 37.3187C77.951 39.4328 82.2355 42.5665 97.3121 51.1814C111.526 59.3033 115.249 62.9778 115.998 69.6225C116.587 74.8466 114.675 79.0223 110.161 82.372C108.414 83.6682 99.8315 88.381 91.0892 92.8447C68.9024 104.173 64.9926 108.482 63.8666 122.844C62.919 134.93 57.5476 144.6 51.7823 144.6C50.2443 144.6 48.2099 143.524 46.7029 141.913Z"
|
d="M46.7029 141.913C42.9858 137.94 41.035 133.479 41.035 128.952C41.035 123.914 39.9988 121.93 34.0581 115.588C28.1576 109.29 27.0886 106.668 28.273 101.396C29.947 93.9459 32.7227 91.6033 55.6196 78.3162C61.4926 74.908 66.5691 71.4125 66.9008 70.5483C67.6262 68.658 64.9196 64.838 61.5525 63C60.2091 62.2666 54.8908 59.7224 49.7341 57.3461C39.1468 52.4674 32.7016 47.2533 31.3911 42.5068C30.1104 37.8687 31.7499 30.4195 34.7377 27.3009C37.9507 23.9472 54.3659 14.1964 67.4147 7.89039C85.1571 -0.683936 95.0145 -1.86142 100.781 3.90474C104.255 7.37954 104.579 13.2727 101.562 18.1536C98.9972 22.3035 91.6993 28.4086 84.3922 32.5169C81.2408 34.2887 78.5255 36.4495 78.3581 37.3187C77.951 39.4328 82.2355 42.5665 97.3121 51.1814C111.526 59.3033 115.249 62.9778 115.998 69.6225C116.587 74.8466 114.675 79.0223 110.161 82.372C108.414 83.6682 99.8315 88.381 91.0892 92.8447C68.9024 104.173 64.9926 108.482 63.8666 122.844C62.919 134.93 57.5476 144.6 51.7823 144.6C50.2443 144.6 48.2099 143.524 46.7029 141.913Z"
|
||||||
fill="#131313"
|
fill="#131313"
|
||||||
/>
|
/>
|
||||||
</mask>
|
</mask>
|
||||||
<g mask="url(#mask0_1404_2)">
|
<g mask="url(#mask0_1404_2)">
|
||||||
<rect width="144.6" height="36.15" fill="#00C4FB" />
|
<rect width="144.6" height="36.15" fill="#00C4FB" />
|
||||||
<rect y="36.15" width="144.6" height="36.15" fill="#00B1FA" />
|
<rect y="36.15" width="144.6" height="36.15" fill="#00B1FA" />
|
||||||
<rect y="72.3" width="144.6" height="36.15" fill="#0091FB" />
|
<rect y="72.3" width="144.6" height="36.15" fill="#0091FB" />
|
||||||
<rect y="108.45" width="144.6" height="36.15" fill="#0075F7" />
|
<rect y="108.45" width="144.6" height="36.15" fill="#0075F7" />
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
<h1 class="no-select">Projects</h1>
|
<h1 class="no-select">Projects</h1>
|
||||||
</header>
|
</header>
|
||||||
|
<content />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang='scss'>
|
<style lang="scss">
|
||||||
@import '../styles/projects.scss';
|
@import '../styles/projects.scss';
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -8,34 +8,33 @@
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#projects {
|
#projects {
|
||||||
header {
|
header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
margin: 2em;
|
margin: 2em;
|
||||||
|
|
||||||
svg.logo {
|
svg.logo {
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
height: 3em;
|
height: 3em;
|
||||||
width: 3em;
|
width: 3em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
content {
|
content {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 80%;
|
height: 80%;
|
||||||
width: 60em;
|
width: 60em;
|
||||||
margin-left: 6em;
|
margin-left: 6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "./mobile/projects.scss";
|
@import './mobile/projects.scss';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue