Skip to content

Commit

Permalink
feat: adds link to variant.dev in footer (#418)
Browse files Browse the repository at this point in the history
* feat: adds link to variant.dev in footer

* feat: adds link in feed

* feat: adds link in læreglede
  • Loading branch information
mikaelbr authored Oct 20, 2023
1 parent b0b57bc commit 6c590f3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
font-size: 1.6rem;
margin-bottom: 1.2rem;
}
.two-column-section__item__content a {
.two-column-section__item__content a:not(.inlineLink) {
text-underline-offset: 0.3rem;
display: block;
margin-top: 1.2rem;
Expand Down
12 changes: 9 additions & 3 deletions src/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { EmployeeItem } from 'src/employees/types';
import { CaseJSON } from 'src/case/Case';
import { HighlightedItemsLists } from 'src/rss/service';


export type HomeProps = {
randomEmployee: EmployeeItem;
randomCases: CaseJSON[];
Expand Down Expand Up @@ -239,8 +238,15 @@ const Home = ({ randomEmployee, randomCases, feeds }: HomeProps) => {
<div className={style['two-column-section__item__content']}>
<Heading3 styleLevel="4">Læreglede</Heading3>
<p>
Vi i Variant ønsker å bidra til aktive og levende læringsmiljøer.
Derfor bistår vi communities i nær- og fjernmiljøet med blant
Vi i Variant ønsker å bidra til{' '}
<a
href="https://www.variant.dev"
rel="external noopner"
className={`${style['inlineLink']}`}
>
aktive og levende læringsmiljøer
</a>
. Derfor bistår vi communities i nær- og fjernmiljøet med blant
annet lokaler, utstyr, organisering og faglig sparring.
</p>
<Link href={'/community'}>
Expand Down
5 changes: 5 additions & 0 deletions src/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ const Layout = ({
Open Source
</a>
</li>
<li>
<a href="https://www.variant.dev" rel="noopener">
Læreglede
</a>
</li>
<li>
<Link href="/kalkulator">
<a>Lønnskalkulator</a>
Expand Down
8 changes: 8 additions & 0 deletions src/rss/feed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ export default function RSSFeed({ items }: FeedProps) {
videoer
</a>
</p>

<p>
Vi har også en egen løsning med{' '}
<a href="https://www.variant.dev" rel="external noopner">
samlet innhold fra forskjellige steder
</a>{' '}
som vi anbefaler deg å sjekke ut!
</p>
</div>
<List items={items} />
</div>
Expand Down

1 comment on commit 6c590f3

@vercel
Copy link

@vercel vercel bot commented on 6c590f3 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

variant-no – ./

variant-no-git-main-variant1.vercel.app
www.variant.no
variant-no-variant1.vercel.app

Please sign in to comment.