~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


2a59083f pyrossh

1 year ago
fix links
src/lib/components/SocialLinks.svelte CHANGED
@@ -1,11 +1,21 @@
1
1
  <div class="flex hover:no-underline text-white child:mx-2 sm:child:ml-5">
2
+ <a
2
- <a href="https://linkedin.com/in/pyrossh" title="My LinkedIn profile">
3
+ href="https://linkedin.com/in/pyrossh"
4
+ title="My LinkedIn profile"
5
+ target="_blank"
6
+ rel="noopener noreferrer"
7
+ >
3
8
  <div class="i-mdi-linkedin w-8 h-8 mr-2" />
4
9
  </a>
10
+ <a
5
- <a href="https://github.com/pyrossh" title="My GitHub profile">
11
+ href="https://github.com/pyrossh"
12
+ title="My GitHub profile"
13
+ target="_blank"
14
+ rel="noopener noreferrer"
15
+ >
6
16
  <div class="i-mdi-github w-8 h-8 mr-2" />
7
17
  </a>
8
- <a href="mailto:pyros2097@gmail.com" title="My email">
18
+ <a href="mailto:pyros2097@gmail.com" title="My email" target="_blank" rel="noopener noreferrer">
9
19
  <div class="i-mdi-email-outline w-8 h-8 mr-2" />
10
20
  </a>
11
21
  </div>
src/routes/+layout.svelte CHANGED
@@ -12,7 +12,6 @@
12
12
  onMount(() => {
13
13
  page.subscribe(($page) => {
14
14
  isPosts = $page.url.pathname.includes('posts');
15
- console.log(isPosts);
16
15
  });
17
16
  });
18
17
  </script>
src/routes/+page.svelte CHANGED
@@ -23,7 +23,12 @@
23
23
  <h1 class="text-3xl font-bold mb-4">Hello!</h1>
24
24
  <p>
25
25
  I'm
26
+ <a
27
+ class="underline"
26
- <a class="underline" href="https://www.linkedin.com/in/pyrossh">
28
+ href="https://www.linkedin.com/in/pyrossh"
29
+ target="_blank"
30
+ rel="noopener noreferrer"
31
+ >
27
32
  <strong>Peter John</strong>
28
33
  </a>, a fullstack developer from Bengaluru, India. I love writing code and I am lucky enough
29
34
  to do this as my job.