Skip to content

Commit

Permalink
Make Link a global component
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHoodHacker committed Sep 9, 2024
1 parent 7591e7c commit 2fb72ee
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion sigpwny.com/src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import consts from '@/consts';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import { PwnyBanner, SocialIcon } from '@/components/Icons';
---

Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/components/Mdx/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import img from './img.astro';
import table from './table.astro';
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/components/Meeting/Row.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import PersonaGroup from '@/components/Profile/PersonaGroup.astro';
import { getCollection, getEntries } from 'astro:content';
import { PdfSvg, YouTubeSvg } from '@/components/Icons';
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/components/SIGPwnyStack.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
---
<span id="sigpwny-stack" class="flex flex-col gap-2">
<span id="stack-learn">
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/events-temp.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import Layout from '@/layouts/Base.astro';
---
<Layout title="Events" description="Index of all SIGPwny events">
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Base.astro';
import consts from '@/consts';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import { Picture } from 'astro:assets';
import { SocialIcon } from '@/components/Icons';
import SIGPwnyStack from '@/components/SIGPwnyStack.astro';
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/join.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Layout from '@/layouts/Base.astro';
import { Picture } from 'astro:assets';
import Card from '@/components/Card.astro';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import { SocialIcon } from '@/components/Icons';
import SIGPwnyStack from '@/components/SIGPwnyStack.astro';
import {
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/meetings/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import Layout from '@/layouts/Base.astro';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import MeetingRow from '@/components/Meeting/Row.astro';
import MeetingTime from '@/components/Meeting/Time.astro';
import CalendarSubscribe from '@/components/CalendarSubscribe';
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/publications/[...slug]/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Layout from '@/layouts/Base.astro';
import { getCollection, render } from 'astro:content';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import Card from '@/components/Card.astro';
import Avatar from '@/components/Profile/Avatar.astro';
import Persona from '@/components/Profile/Persona';
Expand Down
2 changes: 1 addition & 1 deletion sigpwny.com/src/pages/publications/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import Layout from '@/layouts/Base.astro';
import Link from '@/components/Link.astro';
import Link from '$/components/Link.astro';
import Card from '@/components/Card.astro';
import dayjs from 'dayjs';
import { getCollection } from 'astro:content';
Expand Down

0 comments on commit 2fb72ee

Please sign in to comment.