Created base template for contact and repo pages.
Fixed styling issues on toasts on small screens.
This commit is contained in:
parent
86652a4f09
commit
ebf9a21478
@ -36,7 +36,7 @@
|
|||||||
box-shadow: .5em .5em .5em var(--red);
|
box-shadow: .5em .5em .5em var(--red);
|
||||||
}
|
}
|
||||||
dialog::backdrop {
|
dialog::backdrop {
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
dialog > div {
|
dialog > div {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
@ -53,7 +53,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
dialog[open]::backdrop {
|
dialog[open]::backdrop {
|
||||||
animation: fade 0.5s ease-out;
|
animation: fade 0.3s ease-out;
|
||||||
}
|
}
|
||||||
@keyframes fade {
|
@keyframes fade {
|
||||||
from {
|
from {
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0 auto 0.5rem auto;
|
margin: 0 auto 0.5rem auto;
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
.error {
|
.error {
|
||||||
background: IndianRed;
|
background: IndianRed;
|
||||||
|
@ -163,6 +163,9 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div style="display: none;">{addToast(new Toast("Click on a skill to open a prompt", ToastType.Info, true, 4000))}</div>
|
||||||
|
<div style="display: none;">{addToast(new Toast("Welcome!", ToastType.Success, true, 3000))}</div>
|
||||||
{:catch}
|
{:catch}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
@ -172,6 +175,8 @@
|
|||||||
<div style="display: none;">{addToast(new Toast("Unable to load me.json", ToastType.Error, true, 3000))}</div>
|
<div style="display: none;">{addToast(new Toast("Unable to load me.json", ToastType.Error, true, 3000))}</div>
|
||||||
{/await}
|
{/await}
|
||||||
|
|
||||||
|
|
||||||
|
<!--Modal to be displayed on click-->
|
||||||
{#if activeModal != null}
|
{#if activeModal != null}
|
||||||
<Modal bind:showModal>
|
<Modal bind:showModal>
|
||||||
<h2 slot="header" class="card-header">
|
<h2 slot="header" class="card-header">
|
||||||
|
1
src/routes/contact/+page.svelte
Normal file
1
src/routes/contact/+page.svelte
Normal file
@ -0,0 +1 @@
|
|||||||
|
<h1>Contact</h1>
|
3
src/routes/repos/+page.svelte
Normal file
3
src/routes/repos/+page.svelte
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<h1>Repos</h1>
|
||||||
|
<p>Stay tunded! This is still in development.</p>
|
||||||
|
<p>Come back later to find out what projects I'm currently working on!</p>
|
@ -20,6 +20,12 @@
|
|||||||
"logo": "devicon-git-plain",
|
"logo": "devicon-git-plain",
|
||||||
"link": "https://git-scm.com",
|
"link": "https://git-scm.com",
|
||||||
"about": "Git, a fundamental tool in version control, streamlines collaboration and code management. Its simplicity and robustness empower developers to track changes, collaborate seamlessly, and maintain code efficiently. With Git, managing and tracking code changes becomes a breeze, making it an essential tool for software development."
|
"about": "Git, a fundamental tool in version control, streamlines collaboration and code management. Its simplicity and robustness empower developers to track changes, collaborate seamlessly, and maintain code efficiently. With Git, managing and tracking code changes becomes a breeze, making it an essential tool for software development."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"skill": "C++",
|
||||||
|
"logo": "devicon-cplusplus-plain",
|
||||||
|
"link": "https://cplusplus.com/",
|
||||||
|
"about": "C++, a versatile and powerful programming language, has stood the test of time as a cornerstone of software development. Its combination of high-level abstractions and low-level control allows developers to tackle a wide range of projects efficiently. With a rich standard library and a massive ecosystem of libraries and frameworks; C++ empowers programmers to create efficient and scalable software solutions."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"about": "Hello! I'm an enthusiastic, dedicated software engineer passionate about backend development, networking, and embedded systems. I am currently employed at Thales UK and thrive on architecting robust backend solutions, optimizing data transmission, and crafting efficient embedded software. I love tackling complex challenges, collaborating with fellow professionals, and staying up-to-date with tech trends such as my current venture in learning <a href='https://rust-lang.org'>Rust-Lang</a>."
|
"about": "Hello! I'm an enthusiastic, dedicated software engineer passionate about backend development, networking, and embedded systems. I am currently employed at Thales UK and thrive on architecting robust backend solutions, optimizing data transmission, and crafting efficient embedded software. I love tackling complex challenges, collaborating with fellow professionals, and staying up-to-date with tech trends such as my current venture in learning <a href='https://rust-lang.org'>Rust-Lang</a>."
|
||||||
|
Loading…
Reference in New Issue
Block a user