Skip to content

Commit

Permalink
Merge pull request #24 from diprefranco/dev
Browse files Browse the repository at this point in the history
Site version 1.2 built
  • Loading branch information
diprefranco authored Jan 2, 2025
2 parents cb7d8d3 + 5e0236b commit 182b82d
Show file tree
Hide file tree
Showing 24 changed files with 17 additions and 112 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 FRANCO DIPRE
Copyright (c) 2025 FRANCO DIPRE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ https://diprefranco.github.io/
# ![Website Screenshot](https://diprefranco.github.io/assets/img/website.png)

## Website Overview
The website opens with a header and main section (hero section) to catch attention right away, giving users easy access to my resume and contact options.
The website opens with a header and main section (hero section) to catch attention right away, giving users easy access to my experience and contact options.

The main sections include:
- **Experience**: a timeline with a brief overview of my work history.
Expand Down
6 changes: 0 additions & 6 deletions docs/assets/icon/whatsapp.svg

This file was deleted.

Binary file modified docs/assets/img/website.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/files/dipre-franco-resume-esp.pdf
Binary file not shown.
Binary file removed docs/files/dipre-franco-resume.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@

<body>
<app-root></app-root>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-GINNJK7V.js" type="module"></script></body>
<script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-S5MAVQTB.js" type="module"></script></body>

</html>
12 changes: 6 additions & 6 deletions docs/main-GINNJK7V.js → docs/main-S5MAVQTB.js

Large diffs are not rendered by default.

14 changes: 1 addition & 13 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://diprefranco.github.io/</loc>
<lastmod>2024-12-30</lastmod>
<lastmod>2025-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://diprefranco.github.io/files/dipre-franco-resume.pdf</loc>
<lastmod>2024-12-30</lastmod>
<changefreq>yearly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://diprefranco.github.io/files/dipre-franco-resume-esp.pdf</loc>
<lastmod>2024-12-30</lastmod>
<changefreq>yearly</changefreq>
<priority>0.4</priority>
</url>
</urlset>
6 changes: 0 additions & 6 deletions src/app/layout/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<div class="link-group">
<div>Work</div>
<ul>
<li><a href="{{resumeUrl}}" target="_blank">Resume</a></li>
<li><a href="#experience">Experience</a></li>
<li><a href="#projects">Projects</a></li>
</ul>
Expand All @@ -27,11 +26,6 @@
</div>
<hr class="footer-divider">
<div class="footer-icons">
<a href="{{whatsAppUrl}}" target="_blank" aria-label="Chat with me on WhatsApp">
<svg aria-hidden="true">
<use href="assets/icon/whatsapp.svg#whatsapp-icon"></use>
</svg>
</a>
<a href="{{emailUrl}}" aria-label="Contact me via email">
<svg aria-hidden="true">
<use href="assets/icon/email.svg#email-icon"></use>
Expand Down
4 changes: 0 additions & 4 deletions src/app/layout/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { ResourceService } from '../../resource.service';
})
export class FooterComponent implements OnInit {
readonly currentYear = new Date().getFullYear();
resumeUrl!: string;
whatsAppUrl!: string;
emailUrl!: string;
linkedInUrl!: string;
githubUrl!: string;
Expand All @@ -24,8 +22,6 @@ export class FooterComponent implements OnInit {
}

private init() {
this.resumeUrl = this.resourceService.getResumeUrl();
this.whatsAppUrl = this.resourceService.getWhatsAppUrl();
this.emailUrl = this.resourceService.getEmailUrl();
this.linkedInUrl = this.resourceService.getLinkedInUrl();
this.githubUrl = this.resourceService.getGithubUrl();
Expand Down
3 changes: 0 additions & 3 deletions src/app/layout/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
</svg>
</a>
<ul class="nav-menu" role="navigation" aria-label="Main menu">
<li class="nav-item">
<a href="{{resumeUrl}}" target="_blank" class="nav-link">Resume</a>
</li>
<li class="nav-item">
<a href="#experience" class="nav-link">Experience</a>
</li>
Expand Down
10 changes: 1 addition & 9 deletions src/app/layout/header/header.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, inject, OnInit } from '@angular/core';
import { ResourceService } from '../../resource.service';
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'web-header',
Expand All @@ -9,18 +8,11 @@ import { ResourceService } from '../../resource.service';
styleUrl: './header.component.css'
})
export class HeaderComponent implements OnInit {
resumeUrl!: string;
private resourceService = inject(ResourceService);

ngOnInit() {
this.init();
this.setHamburgerMenuConfig();
}

private init() {
this.resumeUrl = this.resourceService.getResumeUrl();
}

private setHamburgerMenuConfig() {
const hamburger = document.querySelector(".hamburger");
const navMenu = document.querySelector(".nav-menu");
Expand Down
3 changes: 2 additions & 1 deletion src/app/pages/home/about-me/about-me.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ <h2>About Me</h2>
I love meeting new people, exploring different cultures, and discovering new places. Last year, I spent a year
traveling. I worked through the process of getting my Italian citizenship, traveled across Spain, and volunteered
at a hostel in Málaga. There, I met people from all over the world, practiced languages, and exchanged cultures
(like teaching how to drink mate like Messi).
(like teaching how to drink mate like Messi). I'm fluent in English, a Spanish native speaker, and I also speak
basic Italian.
</p>
<br />
<p>
Expand Down
10 changes: 0 additions & 10 deletions src/app/pages/home/contact/contact.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ <h2>Contact</h2>
<p>Feel free to write me!</p>
</div>
<section class="contact">
<div>
<p>
<span aria-label="Phone number">{{phoneNumber}}</span>
<a href="{{whatsAppUrl}}" target="_blank" aria-label="Chat with me on WhatsApp">
<svg aria-hidden="true">
<use href="assets/icon/whatsapp.svg#whatsapp-icon"></use>
</svg>
</a>
</p>
</div>
<div>
<p>
<span aria-label="Email">{{email}}</span>
Expand Down
4 changes: 0 additions & 4 deletions src/app/pages/home/contact/contact.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { ResourceService } from '../../../resource.service';
styleUrl: './contact.component.css'
})
export class ContactComponent implements OnInit {
phoneNumber!: string;
whatsAppUrl!: string;
email!: string;
emailUrl!: string;
linkedInUrl!: string;
Expand All @@ -22,8 +20,6 @@ export class ContactComponent implements OnInit {
}

private init() {
this.phoneNumber = this.resourceService.getPhoneNumber();
this.whatsAppUrl = this.resourceService.getWhatsAppUrl();
this.email = this.resourceService.getEmail();
this.emailUrl = this.resourceService.getEmailUrl();
this.linkedInUrl = this.resourceService.getLinkedInUrl();
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/home/hero/hero.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 id="hero-title">Franco Dipre</h1>
Ready to <span class="line-through">code</span> solve people's problems
</p>
<div id="primary-links">
<a href="{{resumeUrl}}" target="_blank" class="button" aria-label="View my resume">Resume</a>
<a href="#experience" class="button" aria-label="See my work experience">Experience</a>
<a href="#contact" class="button" aria-label="Contact me">Contact</a>
</div>
</div>
Expand Down
16 changes: 2 additions & 14 deletions src/app/pages/home/hero/hero.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Component, inject, OnInit } from '@angular/core';
import { ResourceService } from '../../../resource.service';
import { Component } from '@angular/core';
import { ImgComponent } from "../../../shared/img/img.component";

@Component({
Expand All @@ -9,16 +8,5 @@ import { ImgComponent } from "../../../shared/img/img.component";
templateUrl: './hero.component.html',
styleUrl: './hero.component.css'
})
export class HeroComponent implements OnInit {
resumeUrl!: string;

private resourceService = inject(ResourceService);

ngOnInit() {
this.init();
}

private init() {
this.resumeUrl = this.resourceService.getResumeUrl();
}
export class HeroComponent {
}
13 changes: 0 additions & 13 deletions src/app/resource.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,8 @@ import { Injectable } from '@angular/core';
providedIn: 'root'
})
export class ResourceService {
private phoneNumber = '+54 9 3464 442868';
private email = '[email protected]';

getResumeUrl(): string {
return 'files/dipre-franco-resume.pdf';
}

getPhoneNumber(): string {
return this.phoneNumber;
}

getWhatsAppUrl(): string {
return `https://wa.me/${this.phoneNumber.replaceAll('+', '').replaceAll(' ', '')}`;
}

getEmail(): string {
return this.email;
}
Expand Down
6 changes: 0 additions & 6 deletions src/assets/icon/whatsapp.svg

This file was deleted.

Binary file modified src/assets/img/website.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 1 addition & 13 deletions src/assets/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://diprefranco.github.io/</loc>
<lastmod>2024-12-30</lastmod>
<lastmod>2025-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://diprefranco.github.io/files/dipre-franco-resume.pdf</loc>
<lastmod>2024-12-30</lastmod>
<changefreq>yearly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://diprefranco.github.io/files/dipre-franco-resume-esp.pdf</loc>
<lastmod>2024-12-30</lastmod>
<changefreq>yearly</changefreq>
<priority>0.4</priority>
</url>
</urlset>
Binary file removed src/files/dipre-franco-resume-esp.pdf
Binary file not shown.
Binary file removed src/files/dipre-franco-resume.pdf
Binary file not shown.

0 comments on commit 182b82d

Please sign in to comment.