Added a lot of components
This commit is contained in:
parent
08f8d90f3d
commit
c94493a3c5
68 changed files with 1030 additions and 8 deletions
|
|
@ -1 +1,6 @@
|
|||
<iov-menu></iov-menu>
|
||||
<header class="inset-x-0 top-0 z-50 bg-secondary">
|
||||
<iov-menu></iov-menu>
|
||||
</header>
|
||||
<router-outlet>
|
||||
</router-outlet>
|
||||
<iov-footer></iov-footer>
|
||||
|
|
|
|||
|
|
@ -2,11 +2,14 @@ import { Component } from '@angular/core';
|
|||
import { CommonModule } from '@angular/common';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import {MenuComponent} from "./menu/menu.component";
|
||||
import {HeroComponent} from "./hero/hero.component";
|
||||
import {SectionComponent} from "./section/section.component";
|
||||
import {FooterComponent} from "./footer/footer.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-root',
|
||||
standalone: true,
|
||||
imports: [CommonModule, RouterOutlet, MenuComponent],
|
||||
imports: [CommonModule, RouterOutlet, MenuComponent, HeroComponent, SectionComponent, FooterComponent],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.scss'
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,3 +1,31 @@
|
|||
import { Routes } from '@angular/router';
|
||||
import {AboutPage} from "./pages/about/about.page";
|
||||
import {BlogPage} from "./pages/blog/blog.page";
|
||||
import {ProjectsPage} from "./pages/projects/projects.page";
|
||||
import {HomePage} from "./pages/home/home.page";
|
||||
import {PortfolioPage} from "./pages/portfolio/portfolio.page";
|
||||
import {ContactMePage} from "./pages/contact-me/contact-me.page";
|
||||
|
||||
export const routes: Routes = [];
|
||||
export const routes: Routes = [
|
||||
{ path: '', component: HomePage },
|
||||
{
|
||||
path: 'about',
|
||||
component: AboutPage,
|
||||
},
|
||||
{
|
||||
path : 'portfolio',
|
||||
component: PortfolioPage,
|
||||
},
|
||||
{
|
||||
path : 'blog',
|
||||
component: BlogPage,
|
||||
},
|
||||
{
|
||||
path: 'projects',
|
||||
component: ProjectsPage,
|
||||
},
|
||||
{
|
||||
path: 'hello',
|
||||
component: ContactMePage,
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
<div class="arrow left-1/2" (click)="scrollDown()" *ngIf="visible">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
38
src/app/arrow-scroll-down/arrow-scroll-down.component.scss
Normal file
38
src/app/arrow-scroll-down/arrow-scroll-down.component.scss
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.arrow {
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%) rotate(0deg);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.arrow span {
|
||||
display: block;
|
||||
width: 1.5vw;
|
||||
height: 1.5vw;
|
||||
border-bottom: 5px solid white;
|
||||
border-right: 5px solid white;
|
||||
transform: rotate(45deg);
|
||||
margin: -10px;
|
||||
animation: animate 2s infinite;
|
||||
}
|
||||
|
||||
.arrow span:nth-child(2) {
|
||||
animation-delay: -0.2s;
|
||||
}
|
||||
|
||||
.arrow span:nth-child(3) {
|
||||
animation-delay: -0.4s;
|
||||
}
|
||||
|
||||
@keyframes animate {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: rotate(45deg) translate(-20px, -20px);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
transform: rotate(45deg) translate(20px, 20px);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ArrowScrollDownComponent } from './arrow-scroll-down.component';
|
||||
|
||||
describe('ArrowScrollDownComponent', () => {
|
||||
let component: ArrowScrollDownComponent;
|
||||
let fixture: ComponentFixture<ArrowScrollDownComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ArrowScrollDownComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ArrowScrollDownComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
28
src/app/arrow-scroll-down/arrow-scroll-down.component.ts
Normal file
28
src/app/arrow-scroll-down/arrow-scroll-down.component.ts
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import {Component, HostListener} from '@angular/core';
|
||||
import {NgIf} from "@angular/common";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-arrow-scroll-down',
|
||||
standalone: true,
|
||||
imports: [
|
||||
NgIf
|
||||
],
|
||||
templateUrl: './arrow-scroll-down.component.html',
|
||||
styleUrl: './arrow-scroll-down.component.scss'
|
||||
})
|
||||
export class ArrowScrollDownComponent {
|
||||
|
||||
visible: boolean = true;
|
||||
|
||||
scrollDown() {
|
||||
window.scrollBy({
|
||||
top: window.innerHeight,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
|
||||
@HostListener('window:scroll', ['$event'])
|
||||
checkIfPageIsStillOnTop() {
|
||||
this.visible = window.scrollY <= 100;
|
||||
}
|
||||
}
|
||||
3
src/app/ascii-photo/ascii-photo.component.html
Normal file
3
src/app/ascii-photo/ascii-photo.component.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<pre>
|
||||
{{photos[index]}}
|
||||
</pre>
|
||||
0
src/app/ascii-photo/ascii-photo.component.scss
Normal file
0
src/app/ascii-photo/ascii-photo.component.scss
Normal file
23
src/app/ascii-photo/ascii-photo.component.spec.ts
Normal file
23
src/app/ascii-photo/ascii-photo.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AsciiPhotoComponent } from './ascii-photo.component';
|
||||
|
||||
describe('AsciiPhotoComponent', () => {
|
||||
let component: AsciiPhotoComponent;
|
||||
let fixture: ComponentFixture<AsciiPhotoComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [AsciiPhotoComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(AsciiPhotoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
166
src/app/ascii-photo/ascii-photo.component.ts
Normal file
166
src/app/ascii-photo/ascii-photo.component.ts
Normal file
|
|
@ -0,0 +1,166 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'iov-ascii-photo',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './ascii-photo.component.html',
|
||||
styleUrl: './ascii-photo.component.scss'
|
||||
})
|
||||
export class AsciiPhotoComponent {
|
||||
@Input() index: number = 0;
|
||||
photos = [`
|
||||
**#*+====*#%%@@%%@%%+==+#######*++*##*+*++*#%*=========================+++*+*++++++=+===============
|
||||
*##*======+###%%@%%%+==+*##%%%##++###*+*=+##*=====================+++**#*******#*+++++==============
|
||||
##*+=======+***%%@%%#==++#%%%%##**###*++++#*+==++==============++***##*+=====++=++**++==============
|
||||
*#++=========****#%%##%**#%%%%##*####++=+*##==++++====++=====++*####*===============+===============
|
||||
**++======--==+*#%%#%%%*+#%%%%%%###**+=+*######**++***====+**#####+=================================
|
||||
**++*+++=+=====+*##%%%%#+*#%%%%%###***+**###*=++*##*+=-==**####++++=====-===========================
|
||||
******####*+++==+**##%%#*+*#%%%%##***+*#%##++**##*=====+**##+=++++===--===-----------------=========
|
||||
**+**#++==+*#%#**+#+#%%%##*#%%%%%#*#*+#%##*##*#+===-=*+*#*===+***++++==-----------------------------
|
||||
*+++===-====-=+####*###%##*##%%%%#*##*####*+#*=-===+*##+-==+**###*+=++================--------------
|
||||
+*##+=-==========#####*#######%%%#*#*####+##+---==+**=-==++####++=+##+*+**####***+=-----------------
|
||||
#++=+##+******+**++#%#########%%%%##*###+*#=----++*+--==+**%##*###############****+====-------------
|
||||
#%#+*++##*++------+**#%#+#####%%%##**##***----=+*+--==***##*####*+===------=+++*####*++==-----------
|
||||
*####%#+==*+=-------+###**#####%%##**#*+*=---==*=--++*####*+++==-------------====*###*=-------------
|
||||
===**#%#*++=+==-------*#######%%%#######+--==++--=+=*#+=--------------------==--=+++**=-=-----------
|
||||
---=----+*#*+=+=---====+##*##%%%%#%####**+**##*+=+**=-=----------:::::::::-=++--====+*++---:::::::--
|
||||
------------=**+*=======+#**#%###%%######*+*+=-**+---:-----::::::::::::::::-==----====+==--:::::::::
|
||||
-=======-=++=++*#**++=-==+#*#%#######+###**+==++=*=====---:::::::::::::::::-++==--=-===*++====+++===
|
||||
=+**********+--=+***++--===++#####%**##*#*=+++###%%%%%@#=-================+=======++==++*++=--------
|
||||
*+-::::-==+++++=---++*+----+=*#*###**#**++*#%%%%%%%%%@@@%******+++==-----------------==++====-------
|
||||
++===+=+===+====+++==*+++===**#*##*####+*#%%%%%%%%%%%%**#%%%%%%%%%%%%#%%#-----------=-=+====------==
|
||||
+*****+===-=---------==****+*##*###+*###%%%%%%%%#%###+++*%%%@@%%%%%%@@@@@#+++++++++**+**+*+++++=++++
|
||||
-:-----:------==--::::-+*##*=#%##%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%@%%%%@@@%%%##*++**+=++*+++++==+++===
|
||||
:--========+======+*++**######%%%#%%%%%%%%%%%%%%@@@@%#####%%%%%%%@@@%%%%%@@%###*+====-====--=----==-
|
||||
+*++++***+++++++**+**####%%%%%%#%@%%%%%%%%%%#**+++++++++++++++*#%@@@@@@@%@%%%**##**==---------------
|
||||
=+===+=--=+=-===-=**###%%%%%%%##%%%%%%%%%#++=========+++==++++++++**#%@@@@%%#+--#*++=---------------
|
||||
-------------=+*######**%%%%%%%#%%%%%%#++===================+++++++++**%@%%%%#+-:+##++=---:::--::-::
|
||||
:::::------:-*%##=###+***+%#@@%%%%%%*++===========================+++++**%@@@%%*---##+=---:-----====
|
||||
::::--::::-=**#*+#%**++*++%@%%%%%@%*++============================+++++++*#%@@%#=-:-*##*++++++++++++
|
||||
-:----:::=*#*#**##**+++*+=#@%%%%@#+++===============================+++++++*%@@%*:::-+***=----::----
|
||||
:::---:-=##**#-*#*=--:=*:::-#%@%*++++==============================+++++++++*%%@%=:::-+*+=----------
|
||||
--------+###*++##*=---=*---+%%#++++++================================++++++++*%@%*::::=***#*########
|
||||
::::-:-+##*++=**#=+########%%#+++++++================================++++++++*%%@%-::::=******#*****
|
||||
-:::--+#*#*=-=#+*-+******##%%*+++++===============================+++++++++***#%@%-:::::=*****##****
|
||||
:-::-+###*=:-=*+--+******#%%#++++++++****#######*++++===========+++++++++++****%%%-::::-:*****##****
|
||||
::---****=-::--=:-*******#%%*++++++*#%%%%%%%%%%%###**+++++++++++******+++++++**#%#-::::::+*****#****
|
||||
-::-=*+++-::::--:-******##@%*++++*#####*******######**+++++++**###%%%%%###**+**#%+::::::--*****#**++
|
||||
:::-=*+=-::::::::-******#%@%*+++*####*********######**+===++*###%%%%%%%%%%%%#**#%=::::::--+****#****
|
||||
-::-+*=-:::::::::=******#%@%*+++**####%%%%%%%%%%%%#**++====+*##%%#########%%%#*%#:::::::::=****##***
|
||||
::--++--:::::::::+******#*@#++++***##%%%#%@@@@##%%#**+======+#%%%%%########%%%#%-:::::::-:-*****#***
|
||||
---------:::::---**++***#*##+++++***********####****++======+*%%#%@@@@@%%%#####*::::::::::-*****#***
|
||||
---:::-:::::::---**++****++*+++++++++************+++=========**#####%##%%%%##*#=::::::::---*******++
|
||||
-----------:::---#*+++++#*+*++++======+++*****+++============+****#*########***=========++++++++++++
|
||||
=============++==+====+*****+++=========================--===+*****#***********+----:-----::----::::
|
||||
==============--=-----+*++*#*++++================+====----====++++++***+++++++**=:::-::::--::::::-::
|
||||
------=----------::--:=++*##**+++============+++=====------====+++++++++++++++**---------========--=
|
||||
------=--------=------=+**#%#**+++=++=====++++++======-----===++**++++++=+++***+=++++++*++++++++++++
|
||||
*+++++::::::--:::...::-+++*%#**+++++++++++**+=+++++++++=====+++*+**+++++++++**#+++++*+++++++++++===+
|
||||
*##**+::::::::::::-=+==+++*%%#*++*#*+++***+====+*%%%%#**++++*****+++++++*++**##=----------------::::
|
||||
==+++-::::::::::=*#**#**+++#%#*++**++***++++++++*##########%@%#**++++++******%#-:::::::::-::--:-----
|
||||
--=--:::::::::::+**###*##+*%%#*****+*#****#####%#%%%%%%%%%%@@%%#**+++**+****##+:::::::::-:::-::::-::
|
||||
==--=::::::::::-+******#@@@%%#*+***+*####%%%%%%%%%%%%%%%%%@%@%%%%####*******##=--:::::-:-::::::::--:
|
||||
---=-::::::::::=+******#@@@@%#***##*###%%%%%#######**##%%##%%%%%%%%%%##*****##+-:-::::--::--------=-
|
||||
-----:::::::::-=======-*@@@@%%#*###**##%@%%##%#################%%%%%%%%#######=-------------------:-
|
||||
-----::--:==--=+=--::::*@@@@%%###%%#*##%#**++++++++++++++++**###%%@@@%%######+=:------------:--:-:--
|
||||
----:::---:-::===--::::=%@@@@%%##%%%###**+++++++**++++++++++++*****#%%##%%%##=-:::::--------:-::----
|
||||
--=-:::::::::::-========*@@@@@%%%%%%%###**++==++*##############*****#%##%%%%+-:::::::--------------=
|
||||
----::::::::::::::::::::::*%@@@%%%%%%%%%##*++++++***##%%%%###**++***#%%%%%%*-::::::::-:::-----=--=*#
|
||||
----:::::::::::-:::::-:::-=*#*#@@%%%%%%%%##*+++++++**#######**++****#%%%%%%=::::::::---:::::---=*###
|
||||
--=-==++++*#########%%%%%%###***%%%%%%%%%##*+++++++++********++***#%%%%@@%+-----::-------------***##
|
||||
----==++=+#%%%@%%%%%%%%%%%#****+*%%%%%%%%%%#****++++++++++*+*++**#%%%%%@#=---------------------*####
|
||||
----=-====################****+++**%@@%%%%%%##**#****++****#***###%%%%@%+----:-----------------+#*%#
|
||||
=-=======+#%%%%%%%%%%%%%%%#****++***%@@@@%%%%%######******#####%%%%%@@#++---::::::-:::-:-------=+***
|
||||
-========+#%%@@@@%%%%%%%%%#****++++**#%%%%%@%%%%%############%%%%@@@@%###*************+::------=*++*
|
||||
---=-==--+#%%%@@%%@%*##%%#****++++++**##%@@@@@@%%%%%%%%%%%%%%%%@@@@%#*%%%%%%%%%%%%%%%%#--------=*#*#
|
||||
+++++*+++*#########****##****+++++++++**#%@@@@@@@%%%%%%%%%%%%@@@@%#***%%%%%%%%%%%%%%%%#========-++*+
|
||||
--=-=====*##%%%@%%@#####+**++++++++++++***##%@@@@@@@@%@@@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%##+++*##*
|
||||
==+=====+#%#%%%%%%#+==--=*+++++++++++++++*****#%%@@@@@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%=+##*
|
||||
========+#%#%%#+===-==---++++++++++++++++++******##########**#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+=***
|
||||
--======*#*=====+=--==----+++++++++++++++++++****************#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+=***
|
||||
=-=============++===-==---=**++++++++++++++++++**************#%%%%%%%%%#%%%%##%%#%#%%#%%%%%%%%%+=+++
|
||||
=======---===+++====--=----=**+++++++++++++++++++***********+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*=+*+
|
||||
========--=++++======-===----+*+++++++++++++++++++++++****+++#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+=+##
|
||||
=====+==--=+++=========-==-----++++++++++++++++++++++++++*+++#%%%%%%%%%%%%#%%%%%%#%#%%%%%%%%%%%+====
|
||||
======+==--=++===-======-==-----=++++++++++++++++++++++*+++++#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+====
|
||||
=======+==-=++===-=======--==------=**+++++++************+++*#=-------------------------------*+=+==
|
||||
===========-+++===-=======---=--------=++++**************++*+#-::::::=-=--=--==---==-:=-::::::*+=++=
|
||||
=====+======+++======-=====----=---------==++******#***++====*-:::::-:---:-::---:-:--:=-::::::*+=++=
|
||||
====++==---=+++===-==-=======----==-----=====================*-:::::::::::::::::::::::::::::::*+==++
|
||||
====++===--==+++=====---========----==-----==================*-:::::::::::::::::::::::::::::::*+==++
|
||||
===+++====-==+++======--============--====----===============*-:::::::::::::::::::::::::::::::*+==++
|
||||
+++++++==--==+*+=======--====================================****=-:::::::::::::::::::::::-+*+#+==++
|
||||
+++++++==---=+*++=======-=====================================##+-:=+#*=-:::::::::::-+*#+-:-+#*===++
|
||||
+++++++==--==+*++========--=======================================+***+====+*+++++=-=+***++=++====++
|
||||
+++++++==---=+*++========================================================+*##+=*##*+++======+++====+
|
||||
++++++====--=+*++===================================================================++=======++====+
|
||||
+++++++===--==*++===================================================================+++=======+++==+
|
||||
+++++++===--==*++===================================================================+++========+++=+
|
||||
==+++++==---==*++===================================================================+++=========++++
|
||||
==+++++===--==**++===========================================++=====================+*+==========+++
|
||||
===+++++===-==**++=+==+===================+=++===============+==================+===+*++===+====++++
|
||||
+===++++======**++++=+++=========+==============+++=========++=================++===+*++========++++
|
||||
+===+++++=====+*++++++++==================================++++=================+++==+**++=+====+++++
|
||||
+====++++=====+*+++++++===========++==+=======+===++=+===+++++================++++===+*++=++===+++++
|
||||
+====++++=====+*+++++++==========+++++++==+=++=+++++====+++++===============+=++++===+*++==+=++++*++
|
||||
++++=++++=====+*++++++============+++++==++++++++++++++++++++================++++++==+*+++==+++++*++
|
||||
++++==+++=====+*++++++++==========+++++++=+++++++++++++++++++======+========+++++++==+*+++=++++++*++
|
||||
*++++=+++=====+*+++++++==========++++++++++++++++++++++++++++++++===========+++++++==+*+++++++++*+++`,
|
||||
`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
´›¦)vòri¯…\`
|
||||
\`ceåëëýýÖÒÞŸj°‚
|
||||
\`¯ôÚðÒkµ5ç±Cò‰öVµ0)´
|
||||
…?§åÝú±sƒorvvjvjctu2sº
|
||||
…>DU©ó‰JIrì[[[7>ï1c¤JÌ0¡\`
|
||||
tÓxLÌò¼¤jl<[¿[[¿7ì1o%‡Ìw”\`
|
||||
¨žå©çVósƒrï†?¿[¿†ïcJó±ò‰©Í:\`
|
||||
‚Þxúô20C‡IîíiiïcCΞ5ùaaÍsÎï·
|
||||
…äf5õaÍönôx5©¢í=ÏhZÿÎ2Í@½‰y½ò¨
|
||||
Jšyf&6àkÎUDÒµ‰=ï%@03½trî%Ï5C;
|
||||
~ÇTOSZád$àwVçÍI[†ïvjrîoc%Ïkçcˆ
|
||||
…iZy9ààžyôóuLLJ?/[1IJsu@CóUyj‹
|
||||
\`›£Çx5Vs¤î1oó2eS5§Úx5aaLCÌüÝr…
|
||||
\`’shSξç@u‡z0šGŽÐéñSUhbá¾f2ô•
|
||||
\`~TñèDŸ6T5ÏÍyñÓýšL‰ƒ½tcuõž6x¡
|
||||
·+9ÓmëkUSfÇâpDµõykUCcrsfÝžS¹
|
||||
·*üámÓTkFášOúúaYV%ïju™O§žì\`
|
||||
\`ˆ›¯Ddñ$m8èP6™YC¤oCxhb8ôv´
|
||||
¨?ÕqÕAAqA$ÙÿZäåðŠA¾sï;
|
||||
|ZgXgHÁ#Nþæ##ê®Í½1i¡\`
|
||||
›Vx§áåðH#ê$Ÿõ£sIí>׫˜¨\`
|
||||
!bõYaõOUT¾úY±ò½%l[?×?[òÇŸ>…\`
|
||||
¨|OÕæÛóóÍ0©ü2çù0sztí7}×׿7@åèdÓFä9ö|’\`
|
||||
\`›ÏÜÔœÁNÅBp3nòsnC±@¢‡o=[++?*׉áëÚ$ýåÞÞÿDZähkVª¨
|
||||
\`°ÏñÞëð XÄ#æQHšCs½‡½zJtj=†}†[†CèܶðëÙÙ$ÚdèÖåÞFáñDhôv›
|
||||
\`^2FÞÙýëððøâããßqŽþÁ#ÁXS3öö@Ìöƒìi=wÙG¶ãéëddëÚéëýÙÜÞÖÓdÞåDPûí…
|
||||
\`’‡áÞë$ë$éé8¶¶ððG¶¶ãßÐÄNÁEþRKgÛÔApmmA€âøÚ$$$ë8¶ð$$éÜýýmëýëÙèFû>·
|
||||
\`/Pè8$$ø€âÜ8Úðø88¶mâ¶ø¶pÛRÄÀHXœÐÛÛÕÕp¶ððéÚ8Ü$ÚðGGÚéøÚëpÜýâ¶ëÞbá§•\`
|
||||
\`÷šådÚø¶ðÚÔqÚ$8¶ðÚðGââ¶ðøð¶ãÔÐqmøðéðððéééÚéé8Ü$éøß8¶¶Ú¶GÜ€âÜëÜÙÿäž¹
|
||||
;µå$ë$ð¶G¶éŠÔÜÚGðÜéðé¶øøðéø¶mpÔÕAââGðøðððÚÜé8Ú8éâ€øãGðß¶ŠßðGðëýÞDš2…
|
||||
\`¿àè$Gâð¶mø¶¶ÐøéøðÚ8éÜðéé88ðøðmmÔÔpâøøéðÚÚðééð8ééGÔâpã¶ãqÛãßâÚÜ$ÞÒ¥Ý*
|
||||
‚ôFëÚðpÔøøÔâGp¶ø¶øÚéðéÚÚÚÚ8ðéÚ8¶mppã¶ð8Ú8Ü8ÚÚÚ8Úð¶Õm€ß〜AÔââ¶Ú$$ÙÓš2…
|
||||
\`[ûÞÜðø¶pÕããKmAãø¶øÚÚÚéÚÚÚÚÚÚðéøéð¶â¶øð8é888Ú8ðéÜ8¶AmÔêAêqŠßAGøãøëýÓ¥e”
|
||||
…Låë$ܶp€€ÛAßÄÔ€ðééééðð8Ú88ÚÚé¶ðø¶ø¶G¶éðððð8Úéé8ééâp€ÔœêHÐÔÐmÕßéÚÚ$ÓFš±‚
|
||||
‹4Ùððé8ÜøÔêÐAâK€ðøø¶¶øøð8éÚÜÚ8Üø¶¶¶ø¶¶ðøéððð8ééðððøpAAœXHŽHAÔ¶éé8ÜdýÿZ®I·
|
||||
—edéððG¶88âÐÀgÔê¶Gãmã¶øøøéðÚÚÜÜéøøø¶øøâ¶éøéðéðøøðø¶m€AXKÀÄÕ€øéøøÜ$$dÖbZú¯
|
||||
\`[ûÜéßâÚðããðÚ¶RÁRmmßßmm¶øéÚÚð8éÜéðø¶âââ¶¶G¶øðé8éøðøGmßÔŽÄNœA¶ãpâé88ÜëÞÿbÝ<\`
|
||||
…sÿÙÜðAÕGÜÚðð88ÔE€p€pppâG¶é888éÚé8ø¶âããâââøøðÚéøø¶¶ãpÔêHþEqããÔâð¶øéÜëdýÖPz’
|
||||
’çÙÙ$88GAßøÚÚéðãgÛAÔÔA€pãG¶¶¶ðð8éøð¶ããããããG¶¶¶ø¶¶mâãAŠgÀÁEÕßÔã$DàÓð88é$ýFU}·
|
||||
²ôÚ¶ÚëÚééømm8ë$GggÔÕqŠÔ€mãG¶G¶øðøø¶¶âmmmmmmâããâããßpßÔÐRþæÁÛ€D±cc‡µ9nj¾8dåZ™^\`
|
||||
¡OÙ¶mGÜÚÚé8ð¶ðÜéÔŽqêgêÛÔApmãâãGãGâ¶ãâmp€ppppp߀ßÔÔÕqÐŽÀNQãõjïI‡¤ííïoJ5Ü8èÒP¼‚
|
||||
(kÙ8¶ÔÔGÚ8ð88ðÚémKgœŽœÐêÛÔ€pmmmmm€ãpp€ßA€ÔÔÔAÔÔÔÔŠqgœHEE¥uvo¼l[[íƒzovJÝð$ýb9^\`
|
||||
´iPÙÚøø€qÔâéðøéðéâHHHŽœgêêÛÕ€pmpßm€ß€€AAÔÔÛÕÕŠÛÛÛŠêgœREŽŸ½‰¢%%î1j<>jr¼ÒGðÜýÒPï·
|
||||
…rÒdðøøGmÔŠ€øéâøðâÄNÀXXXggÐêÕ€pp€AAÔÔAÔÔÔÕŠÛêqÛqqêÐœŽœý0z½‰¤t½ti<tƒr‡ùÖ¶ããøÙFò…
|
||||
ˆƒÓ$é¶âââãâ¶ðÚ$¶ðÖeùÍ2§8ÛêÛm8¶Gâ¶ÔmŠÔ€AÕqŠqÐÐÐÐÐggœœKë½trVó3Y©ùfP$¶ãð$ëÙÞ¥ô˜
|
||||
’¼ýÚé8ððø¶ã€p¶mmÚf1í=í=írjrzÇédááÕmëéÙdéGèýý¶øðãÚ¶AðÙhfõ6eÝÖðâÙdëëé¶ãGâŠêéÒÒFU’
|
||||
\` ‚sÜøGéé €ßÕЊÔÓ½1í=ïìíí=íÍGAZŸðÚÙáãýëøø$Ü$GãëÜ$ëðãëÙé8Ú8ð8éãÔßéøâããmããâmébDk¹
|
||||
\` ’nÜãããpêKEHRXÛßÔ¶w%oí<<<[7=©øÚÙÿhhýgøé¶m¶8ø¶mÔG¶ø$éßmÚÜø¶øðø¶âãÔÕâðGp€Am¶øø$¥h–
|
||||
’öÚã€ÕÕßpmmmâ¶Gðéÿf&Lc=ì<<<‰üÍ©OÚqm¶âppÕã8ðâpÔAmßméðpGÜ$ð¶ãâG¶â¶mÔß¶ø¶ãpã¶ð8Öh°
|
||||
\`\` ’½ÜâAÛgêÔÔApmãmã¶Gøø8äyúüüüaúõúx߀AAÔŠqÐÔð$Ú¶AÔAAÛÔ¶ðøéÚ$Úøâ¶Gâââã€Ap¶øø¶¶éÜèŸ;`]
|
||||
}
|
||||
5
src/app/button-cta/button-cta.component.html
Normal file
5
src/app/button-cta/button-cta.component.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<a href="{{url}}" class="mr-2 text-lg px-12 py-4 rounded-full mt-4 font-bold
|
||||
ring-white text-white bg-secondary ring-2
|
||||
hover:ring-accent hover:text-accent hover:bg-transparent hover:ring-2">
|
||||
<ng-content></ng-content>
|
||||
</a>
|
||||
0
src/app/button-cta/button-cta.component.scss
Normal file
0
src/app/button-cta/button-cta.component.scss
Normal file
23
src/app/button-cta/button-cta.component.spec.ts
Normal file
23
src/app/button-cta/button-cta.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ButtonCtaComponent } from './button-cta.component';
|
||||
|
||||
describe('ButtonCtaComponent', () => {
|
||||
let component: ButtonCtaComponent;
|
||||
let fixture: ComponentFixture<ButtonCtaComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ButtonCtaComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ButtonCtaComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
12
src/app/button-cta/button-cta.component.ts
Normal file
12
src/app/button-cta/button-cta.component.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'iov-button-cta',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './button-cta.component.html',
|
||||
styleUrl: './button-cta.component.scss'
|
||||
})
|
||||
export class ButtonCtaComponent {
|
||||
@Input() url: string = '';
|
||||
}
|
||||
17
src/app/card/card.component.html
Normal file
17
src/app/card/card.component.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<div class="relative bg-clip-border rounded-2xl shadow-2xl shadow-accent bg-white text-gray-700 w-full items-center text-center">
|
||||
<div class="grid grid-cols-3 justify-items-center bg-slate-100 p-4">
|
||||
<div class="text-2xl font-bold text-center self-center">
|
||||
<ng-content select="[left]"></ng-content>
|
||||
</div>
|
||||
<div class="text-lg self-center">
|
||||
<ng-content select="[center]"></ng-content>
|
||||
</div>
|
||||
<div class="self-center">
|
||||
<iov-button-cta
|
||||
[url]="ctaUrl">
|
||||
<ng-content select="[right]">
|
||||
</ng-content>
|
||||
</iov-button-cta>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
src/app/card/card.component.scss
Normal file
0
src/app/card/card.component.scss
Normal file
23
src/app/card/card.component.spec.ts
Normal file
23
src/app/card/card.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CardComponent } from './card.component';
|
||||
|
||||
describe('CardComponent', () => {
|
||||
let component: CardComponent;
|
||||
let fixture: ComponentFixture<CardComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [CardComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(CardComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
17
src/app/card/card.component.ts
Normal file
17
src/app/card/card.component.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
import {ButtonCtaComponent} from "../button-cta/button-cta.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-card',
|
||||
standalone: true,
|
||||
imports: [
|
||||
ButtonCtaComponent
|
||||
],
|
||||
templateUrl: './card.component.html',
|
||||
styleUrl: './card.component.scss'
|
||||
})
|
||||
export class CardComponent {
|
||||
|
||||
@Input() color: 'light' | 'dark' = 'light';
|
||||
@Input() ctaUrl: string = '';
|
||||
}
|
||||
18
src/app/footer/footer.component.html
Normal file
18
src/app/footer/footer.component.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<div class="bottom-0 bg-secondary w-full flex flex-col">
|
||||
<iov-card [ctaUrl]="'hello'"
|
||||
class="mr-8 ml-8 relative -top-12">
|
||||
<span left>
|
||||
<span class="text-accent"> Talk is cheap</span>
|
||||
</span>
|
||||
<span center>
|
||||
Interested in working together? <br/> We should queue up a <b class="text-accent">time to chat</b>. <br/>I’ll buy the coffee :)
|
||||
</span>
|
||||
<span right>
|
||||
Let's Talk!
|
||||
</span>
|
||||
</iov-card>
|
||||
<div class="text-center text-white p-4">
|
||||
Footer
|
||||
Website made with etc...
|
||||
</div>
|
||||
</div>
|
||||
0
src/app/footer/footer.component.scss
Normal file
0
src/app/footer/footer.component.scss
Normal file
23
src/app/footer/footer.component.spec.ts
Normal file
23
src/app/footer/footer.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { FooterComponent } from './footer.component';
|
||||
|
||||
describe('FooterComponent', () => {
|
||||
let component: FooterComponent;
|
||||
let fixture: ComponentFixture<FooterComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [FooterComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(FooterComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
15
src/app/footer/footer.component.ts
Normal file
15
src/app/footer/footer.component.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {CardComponent} from "../card/card.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-footer',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CardComponent
|
||||
],
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrl: './footer.component.scss'
|
||||
})
|
||||
export class FooterComponent {
|
||||
|
||||
}
|
||||
37
src/app/hero/hero.component.html
Normal file
37
src/app/hero/hero.component.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<div class="bg-secondary">
|
||||
<div class="relative px-6 pt-14 lg:px-8">
|
||||
<div class="mx-auto max-w-4xl py-32 sm:py-48 lg:py-56">
|
||||
<div class="flex rounded-2xl text-sm leading-6 text-gray-600 border-l-8 border-primary hover:ring-gray-900/20 overflow-hidden bg-white max-h-[279px]">
|
||||
<iov-ascii-photo [index]="1"
|
||||
id="asciiPhoto"
|
||||
class="absolute text-[5px] rounded-x-2xl leading-none tracking-tighter overflow-hidden"></iov-ascii-photo>
|
||||
<img src="/assets/me.png"
|
||||
id="originalPhoto"
|
||||
class="h-[279px]"
|
||||
alt="">
|
||||
<div>
|
||||
<h1 class="text-4xl my-4 font-bold tracking-tight text-gray-900 sm:text-4xl">Hello, I'm Lorenzo!</h1>
|
||||
<h2 class="text-base leading-2 mr-4">
|
||||
I'm a <span class="text-primary font-bold">Software Engineer</span> and <span class="text-primary font-bold">Web Developer</span> based in Sicily.
|
||||
<br>This is my personal website, where I share my projects and my thoughts (sometimes 😅).
|
||||
<br><br>Feel free to navigate through my website and discover more about me.
|
||||
</h2>
|
||||
|
||||
<div class="mt-4 text-base leading-2 mr-4">
|
||||
For any question or collaboration, feel free to contact me via <a class="cursor-pointer underline text-primary hover:text-accent" href="mailto:thisloke@gmail.com">email</a>
|
||||
<br/>or find me on socials
|
||||
<a class="mx-2 relative cursor-pointer" href="https://www.linkedin.com/in/lorenzoiovino/">
|
||||
<img src="/assets/linkedin.svg" class="h-8 inline-block" alt="">
|
||||
</a>
|
||||
<a class="mx-1 relative cursor-pointer" href="
|
||||
https://github.com/lokenxo">
|
||||
<img src="/assets/github.svg" class="h-8 inline-block" alt="">
|
||||
</a>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
28
src/app/hero/hero.component.scss
Normal file
28
src/app/hero/hero.component.scss
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
@keyframes blink {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-inverted {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#asciiPhoto {
|
||||
opacity: 0;
|
||||
animation: blink-inverted 2s 1;
|
||||
}
|
||||
|
||||
#originalPhoto {
|
||||
opacity: 1;
|
||||
animation: blink 2s 1;
|
||||
}
|
||||
|
||||
23
src/app/hero/hero.component.spec.ts
Normal file
23
src/app/hero/hero.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { HeroComponent } from './hero.component';
|
||||
|
||||
describe('HeroComponent', () => {
|
||||
let component: HeroComponent;
|
||||
let fixture: ComponentFixture<HeroComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [HeroComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(HeroComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
20
src/app/hero/hero.component.ts
Normal file
20
src/app/hero/hero.component.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {AsciiPhotoComponent} from "../ascii-photo/ascii-photo.component";
|
||||
import {AsyncPipe, NgClass, NgIf} from "@angular/common";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-hero',
|
||||
standalone: true,
|
||||
imports: [
|
||||
AsciiPhotoComponent,
|
||||
NgIf,
|
||||
NgClass,
|
||||
AsyncPipe,
|
||||
],
|
||||
templateUrl: './hero.component.html',
|
||||
styleUrl: './hero.component.scss'
|
||||
})
|
||||
export class HeroComponent {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,28 @@
|
|||
<h1 class="text-3xl font-bold underline">
|
||||
menu works!
|
||||
</h1>
|
||||
<nav class="flex items-center justify-between flex-wrap bg-teal-500 p-6">
|
||||
<div class="flex items-center flex-shrink-0 text-white mr-6">
|
||||
<span class="font-semibold text-xl tracking-tight">
|
||||
<a href="/">Lore Iov</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-xl font-bold lg:flex-grow">
|
||||
<a href="about" class="block mt-4 lg:inline-block lg:mt-0 text-teal-200 hover:text-white mr-4">
|
||||
About
|
||||
</a>
|
||||
<a href="portfolio" class="block mt-4 lg:inline-block lg:mt-0 text-teal-200 hover:text-white mr-4">
|
||||
Portfolio
|
||||
</a>
|
||||
<!--<a href="projects" class="block mt-4 lg:inline-block lg:mt-0 text-teal-200 hover:text-white mr-4">
|
||||
Projects
|
||||
</a>-->
|
||||
<!--<a href="blog" class="block mt-4 lg:inline-block lg:mt-0 text-teal-200 hover:text-white mr-4">
|
||||
Blog
|
||||
</a>-->
|
||||
</div>
|
||||
<div class="">
|
||||
<iov-button-cta
|
||||
[url]="'hello'">
|
||||
Say Hello
|
||||
</iov-button-cta>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {ButtonCtaComponent} from "../button-cta/button-cta.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-menu',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
imports: [
|
||||
ButtonCtaComponent
|
||||
],
|
||||
templateUrl: './menu.component.html',
|
||||
styleUrl: './menu.component.scss'
|
||||
})
|
||||
|
|
|
|||
6
src/app/page/page.component.html
Normal file
6
src/app/page/page.component.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<div class="relative">
|
||||
<div class="mx-auto">
|
||||
<ng-content>
|
||||
</ng-content>
|
||||
</div>
|
||||
</div>
|
||||
0
src/app/page/page.component.scss
Normal file
0
src/app/page/page.component.scss
Normal file
23
src/app/page/page.component.spec.ts
Normal file
23
src/app/page/page.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PageComponent } from './page.component';
|
||||
|
||||
describe('PageComponent', () => {
|
||||
let component: PageComponent;
|
||||
let fixture: ComponentFixture<PageComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [PageComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(PageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
15
src/app/page/page.component.ts
Normal file
15
src/app/page/page.component.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {FooterComponent} from "../footer/footer.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
FooterComponent
|
||||
],
|
||||
templateUrl: './page.component.html',
|
||||
styleUrl: './page.component.scss'
|
||||
})
|
||||
export class PageComponent {
|
||||
|
||||
}
|
||||
8
src/app/pages/about/about.page.html
Normal file
8
src/app/pages/about/about.page.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<iov-page>
|
||||
<iov-section [title]="'Working smart, living hard'"
|
||||
[titleColor]="'dark'"
|
||||
[backgroundImageUrl]="'/assets/section-smart.png'"></iov-section>
|
||||
<p>Since beginning my journey as a freelance designer over 11 years ago, I've done remote work for agencies, consulted for startups, and collaborated with talented people to create digital products for both business and consumer use. I'm quietly confident, naturally curious, and perpetually working on improving my chops one design problem at a time.
|
||||
Designer
|
||||
I value simple content structure, clean design patterns, and thoughtful interactions.</p>
|
||||
</iov-page>
|
||||
0
src/app/pages/about/about.page.scss
Normal file
0
src/app/pages/about/about.page.scss
Normal file
23
src/app/pages/about/about.page.spec.ts
Normal file
23
src/app/pages/about/about.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AboutPage } from './about.page';
|
||||
|
||||
describe('AboutComponent', () => {
|
||||
let component: AboutPage;
|
||||
let fixture: ComponentFixture<AboutPage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [AboutPage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(AboutPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
17
src/app/pages/about/about.page.ts
Normal file
17
src/app/pages/about/about.page.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {SectionComponent} from "../../section/section.component";
|
||||
import {PageComponent} from "../../page/page.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-about-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
SectionComponent,
|
||||
PageComponent
|
||||
],
|
||||
templateUrl: './about.page.html',
|
||||
styleUrl: './about.page.scss'
|
||||
})
|
||||
export class AboutPage {
|
||||
|
||||
}
|
||||
1
src/app/pages/blog/blog.page.html
Normal file
1
src/app/pages/blog/blog.page.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p>blog works!</p>
|
||||
0
src/app/pages/blog/blog.page.scss
Normal file
0
src/app/pages/blog/blog.page.scss
Normal file
23
src/app/pages/blog/blog.page.spec.ts
Normal file
23
src/app/pages/blog/blog.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { BlogPage } from './blog.page';
|
||||
|
||||
describe('BlogComponent', () => {
|
||||
let component: BlogPage;
|
||||
let fixture: ComponentFixture<BlogPage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [BlogPage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BlogPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
12
src/app/pages/blog/blog.page.ts
Normal file
12
src/app/pages/blog/blog.page.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'iov-blog-page',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './blog.page.html',
|
||||
styleUrl: './blog.page.scss'
|
||||
})
|
||||
export class BlogPage {
|
||||
|
||||
}
|
||||
1
src/app/pages/contact-me/contact-me.page.html
Normal file
1
src/app/pages/contact-me/contact-me.page.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p>contact-me works!</p>
|
||||
0
src/app/pages/contact-me/contact-me.page.scss
Normal file
0
src/app/pages/contact-me/contact-me.page.scss
Normal file
23
src/app/pages/contact-me/contact-me.page.spec.ts
Normal file
23
src/app/pages/contact-me/contact-me.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ContactMePage } from './contact-me.page';
|
||||
|
||||
describe('ContactMeComponent', () => {
|
||||
let component: ContactMePage;
|
||||
let fixture: ComponentFixture<ContactMePage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ContactMePage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ContactMePage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
12
src/app/pages/contact-me/contact-me.page.ts
Normal file
12
src/app/pages/contact-me/contact-me.page.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'iov-contact-me-page',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './contact-me.page.html',
|
||||
styleUrl: './contact-me.page.scss'
|
||||
})
|
||||
export class ContactMePage {
|
||||
|
||||
}
|
||||
13
src/app/pages/home/home.page.html
Normal file
13
src/app/pages/home/home.page.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div class="bg-secondary mx-auto">
|
||||
<iov-hero></iov-hero>
|
||||
</div>
|
||||
|
||||
<iov-arrow-scroll-down></iov-arrow-scroll-down>
|
||||
|
||||
<iov-section>
|
||||
<p class="text-center text-base">
|
||||
Lorem ipsum dolor sit amet, consectet adipiscing elit. Nulla ac dui euismod, aliquam nunc quis, tincidunt nisl. Donec euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi. Sed euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nunc nisl quis nunc. Nulla facilisi.</p>
|
||||
<br>
|
||||
</iov-section>
|
||||
|
||||
|
||||
0
src/app/pages/home/home.page.scss
Normal file
0
src/app/pages/home/home.page.scss
Normal file
23
src/app/pages/home/home.page.spec.ts
Normal file
23
src/app/pages/home/home.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { HomePage } from './home.page';
|
||||
|
||||
describe('HomeComponent', () => {
|
||||
let component: HomePage;
|
||||
let fixture: ComponentFixture<HomePage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [HomePage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(HomePage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
25
src/app/pages/home/home.page.ts
Normal file
25
src/app/pages/home/home.page.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {HeroComponent} from "../../hero/hero.component";
|
||||
import {SectionComponent} from "../../section/section.component";
|
||||
import {PageComponent} from "../../page/page.component";
|
||||
import {FooterComponent} from "../../footer/footer.component";
|
||||
import {CardComponent} from "../../card/card.component";
|
||||
import {ArrowScrollDownComponent} from "../../arrow-scroll-down/arrow-scroll-down.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-home-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
HeroComponent,
|
||||
SectionComponent,
|
||||
PageComponent,
|
||||
FooterComponent,
|
||||
CardComponent,
|
||||
ArrowScrollDownComponent
|
||||
],
|
||||
templateUrl: './home.page.html',
|
||||
styleUrl: './home.page.scss'
|
||||
})
|
||||
export class HomePage {
|
||||
|
||||
}
|
||||
7
src/app/pages/portfolio/portfolio.page.html
Normal file
7
src/app/pages/portfolio/portfolio.page.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<iov-page>
|
||||
<iov-section [title]="'Portfolio'"
|
||||
[backgroundImageUrl]="'/assets/section-hobby.png'">
|
||||
</iov-section>
|
||||
|
||||
<p>My works</p>
|
||||
</iov-page>
|
||||
0
src/app/pages/portfolio/portfolio.page.scss
Normal file
0
src/app/pages/portfolio/portfolio.page.scss
Normal file
23
src/app/pages/portfolio/portfolio.page.spec.ts
Normal file
23
src/app/pages/portfolio/portfolio.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { PortfolioPage } from './portfolio.page';
|
||||
|
||||
describe('WorksComponent', () => {
|
||||
let component: PortfolioPage;
|
||||
let fixture: ComponentFixture<PortfolioPage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [PortfolioPage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(PortfolioPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
19
src/app/pages/portfolio/portfolio.page.ts
Normal file
19
src/app/pages/portfolio/portfolio.page.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {SectionComponent} from "../../section/section.component";
|
||||
import {PageComponent} from "../../page/page.component";
|
||||
import {FooterComponent} from "../../footer/footer.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-portfolio-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
SectionComponent,
|
||||
PageComponent,
|
||||
FooterComponent
|
||||
],
|
||||
templateUrl: './portfolio.page.html',
|
||||
styleUrl: './portfolio.page.scss'
|
||||
})
|
||||
export class PortfolioPage {
|
||||
|
||||
}
|
||||
7
src/app/pages/projects/projects.page.html
Normal file
7
src/app/pages/projects/projects.page.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<iov-page>
|
||||
<iov-section [title]="'Projects, draft and ideas'"
|
||||
[backgroundImageUrl]="'/assets/section-hobby.png'">
|
||||
</iov-section>
|
||||
|
||||
<p>My projects bla bla bla</p>
|
||||
</iov-page>
|
||||
0
src/app/pages/projects/projects.page.scss
Normal file
0
src/app/pages/projects/projects.page.scss
Normal file
23
src/app/pages/projects/projects.page.spec.ts
Normal file
23
src/app/pages/projects/projects.page.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ProjectsPage } from './projects.page';
|
||||
|
||||
describe('ProjectsComponent', () => {
|
||||
let component: ProjectsPage;
|
||||
let fixture: ComponentFixture<ProjectsPage>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ProjectsPage]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ProjectsPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
17
src/app/pages/projects/projects.page.ts
Normal file
17
src/app/pages/projects/projects.page.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Component } from '@angular/core';
|
||||
import {SectionComponent} from "../../section/section.component";
|
||||
import {PageComponent} from "../../page/page.component";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-projects-page',
|
||||
standalone: true,
|
||||
imports: [
|
||||
SectionComponent,
|
||||
PageComponent
|
||||
],
|
||||
templateUrl: './projects.page.html',
|
||||
styleUrl: './projects.page.scss'
|
||||
})
|
||||
export class ProjectsPage {
|
||||
|
||||
}
|
||||
8
src/app/section/section.component.html
Normal file
8
src/app/section/section.component.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<div class="bg-center h-[150px] bg-no-repeat {{backgroundImageUrl ? 'url(' + backgroundImageUrl +')' : 'bg-secondary'}}" [style.background-image]="backgroundImageUrl ? 'url(' + backgroundImageUrl +')' : ''">
|
||||
<h2 class="pt-4 text-3xl text-gray-600 mr-6 font-extrabold text-{{titleColor == 'light' ? 'white' : 'primary'}}">{{title}}</h2>
|
||||
</div>
|
||||
<div class="px-6">
|
||||
<div class="mx-auto max-w-4xl py-4">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
</div>
|
||||
0
src/app/section/section.component.scss
Normal file
0
src/app/section/section.component.scss
Normal file
23
src/app/section/section.component.spec.ts
Normal file
23
src/app/section/section.component.spec.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { SectionComponent } from './section.component';
|
||||
|
||||
describe('SectionComponent', () => {
|
||||
let component: SectionComponent;
|
||||
let fixture: ComponentFixture<SectionComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [SectionComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(SectionComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
15
src/app/section/section.component.ts
Normal file
15
src/app/section/section.component.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'iov-section',
|
||||
standalone: true,
|
||||
imports: [
|
||||
],
|
||||
templateUrl: './section.component.html',
|
||||
styleUrl: './section.component.scss'
|
||||
})
|
||||
export class SectionComponent {
|
||||
@Input() title: string = '';
|
||||
@Input() titleColor: 'light' | 'dark' = 'light';
|
||||
@Input() backgroundImageUrl: string = '';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue