Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next #781

Closed
wants to merge 167 commits into from
Closed

Next #781

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
8a7b1c5
Replace duplicate article photo
FlemmingMP Jun 20, 2024
1b7c81e
VIP: Add new components to default pages and edit about page
FlemmingMP Jun 25, 2024
74e2d3f
Feat: More flexible brief component with fixed mobile
FlemmingMP Jun 25, 2024
2c203b8
Fix: Compatibility with updated brief component
FlemmingMP Jun 27, 2024
daebfcd
Fix: Links styled as separate element
FlemmingMP Jun 27, 2024
dcea7e7
Fix: Make about page markdown suit new layout and add picture to publ…
FlemmingMP Jun 27, 2024
6fcfb27
Feat: Restyle page template to support new design
FlemmingMP Jun 27, 2024
7e579c2
Fix: Update media element selector to match the other
FlemmingMP Jun 27, 2024
93cde0b
Fix: Delete old image path
FlemmingMP Jun 27, 2024
35c67ba
Feat: Contact form init
FlemmingMP Jul 1, 2024
5c2332b
Feat: Add contact form to main layout
FlemmingMP Jul 1, 2024
29299b9
Fix: Remove margin from old footer
FlemmingMP Jul 1, 2024
7714e64
Fix: Change to default text color
FlemmingMP Jul 1, 2024
1146460
Feat: Add logo and move text
FlemmingMP Jul 1, 2024
363fd20
Style: Add fourth column
FlemmingMP Jul 2, 2024
a720669
Fix: Style affecting other components
FlemmingMP Jul 2, 2024
b3d5518
Fix: Adjust placement
FlemmingMP Jul 2, 2024
a66461b
Fix: Padding added to nested elements
FlemmingMP Jul 2, 2024
c537c18
Feat: Restyle contact site
FlemmingMP Jul 2, 2024
db4c77e
Feat: 2x res scale on profiles
FlemmingMP Aug 5, 2024
afc359d
Feat: Add image size to posts
FlemmingMP Aug 5, 2024
3784f13
Feat: Add height to minimize content shift and use 2x image res
FlemmingMP Aug 5, 2024
7308a85
Feat: Autoscale large image
FlemmingMP Aug 6, 2024
60c0169
Feat: Image scale function
FlemmingMP Aug 6, 2024
b23640b
Apply formatting changes
FlemmingMP Aug 6, 2024
5187dfd
remove unneccessary padding
Xillians Aug 6, 2024
63393ce
space up mobile view
Xillians Aug 6, 2024
95b94f0
align container center
Xillians Aug 6, 2024
257e210
make contact info sectionised
Xillians Aug 6, 2024
ece292d
update address
Xillians Aug 7, 2024
9feb748
add transitional padding
Xillians Aug 7, 2024
303b48c
avoid adjusting sizes
Xillians Aug 7, 2024
fdc42e1
increase gap for email and address
Xillians Aug 7, 2024
07e8939
re-structure inputs & remove gdpr
Xillians Aug 7, 2024
a8a897c
move primary button to global (#740)
Xillians Aug 7, 2024
99b1970
Feat: Use classes
FlemmingMP Aug 7, 2024
1644276
Apply formatting changes
FlemmingMP Aug 7, 2024
818ee98
Refactor: Rename class
FlemmingMP Aug 7, 2024
b0ff8c0
Refactor: Order
FlemmingMP Aug 7, 2024
88d5349
Changes by create-pull-request action (#743)
github-actions[bot] Aug 7, 2024
b5e17dc
refactor: move contact form to own component (#742)
Xillians Aug 7, 2024
d4baa97
Chore: Remove scaling code
FlemmingMP Aug 7, 2024
79557c8
Merge pull request #738 from bjerkio/flemming/image-res
FlemmingMP Aug 7, 2024
e255fea
Chore: Tweak narrow version
FlemmingMP Aug 7, 2024
d965422
Merge pull request #730 from bjerkio/flemming/about-page
FlemmingMP Aug 7, 2024
689bab2
Merge 'origin/next' into flemming/contact-form
FlemmingMP Aug 7, 2024
842fc4d
Merge branch 'next' of https://github.com/bjerkio/website into flemmi…
Xillians Aug 8, 2024
8df6452
Merge branch 'flemming/contact-style' of https://github.com/bjerkio/w…
Xillians Aug 8, 2024
3705f99
Merge pull request #732 from bjerkio/flemming/footer-restyle
FlemmingMP Aug 8, 2024
489020f
Merge branch 'next' of https://github.com/bjerkio/website into flemmi…
Xillians Aug 8, 2024
d315b06
Merge branch 'flemming/contact-style' of https://github.com/bjerkio/w…
Xillians Aug 8, 2024
288b440
refactor: re-use contact form
Xillians Aug 8, 2024
b791f3f
footer with image
Xillians Aug 8, 2024
6481a8f
Changed text front page (#747)
copetterson Aug 8, 2024
eaca5c2
refactor: set margin on slot instead of specific footer (#746)
Xillians Aug 8, 2024
7682589
Merge pull request #731 from bjerkio/flemming/contact-form
FlemmingMP Aug 8, 2024
42ecc34
feat: add intro cards to homepage (#748)
Xillians Aug 8, 2024
a1983b9
Chore: Rewrite content
FlemmingMP Aug 8, 2024
93f7932
Fix: Remove unused CSS and tweak formatting
FlemmingMP Aug 8, 2024
9c3c8ce
Merge pull request #733 from bjerkio/flemming/contact-style
FlemmingMP Aug 8, 2024
a4a160c
fix: style landing image to match intro cards (#749)
Xillians Aug 9, 2024
d25184a
feat: add header text for articles (#750)
Xillians Aug 9, 2024
77bcc0c
refactor: update about page (#751)
Xillians Aug 9, 2024
2bc35f9
refactor: make intro cards in column (#752)
Xillians Aug 9, 2024
84b9b6d
fix: make full stop part of h1 (#753)
Xillians Aug 12, 2024
7f01d5a
refactor: use new default slug for project article (#757)
Xillians Aug 14, 2024
d438dfe
feat: add gdpr compliance info (#758)
Xillians Aug 14, 2024
3ce039c
feat: connect form with crm (#754)
Xillians Aug 14, 2024
d10ef5c
refactor: replace arbeider with arbeid (#759)
Xillians Aug 14, 2024
d016cf6
feat: add index images (#763)
Xillians Aug 29, 2024
4178fa4
Promote changes in main → next (#745)
github-actions[bot] Aug 29, 2024
eda3258
Merge branch 'main' of https://github.com/bjerkio/website into next
Xillians Aug 29, 2024
3da41e2
Feat: Add image alt text and image resizing (#767)
FlemmingMP Aug 29, 2024
954fdd9
fix: present intro cards on mobile (#768)
Xillians Aug 29, 2024
d39108b
docs: add changelog generation (#769)
Xillians Aug 29, 2024
eabaeaa
Promote changes in main → next (#766)
github-actions[bot] Aug 29, 2024
56d7b4f
revert: remove principle arguments (#771)
Xillians Aug 29, 2024
0f3d65d
fix: present intro cards on mobile (#770)
Xillians Aug 29, 2024
b546e3b
chore: remove employee (#773)
Xillians Aug 29, 2024
8ae8b07
fix: adjust contact form (#772)
Xillians Aug 29, 2024
acf3f1b
chore(release): 0.0.3
Xillians Aug 29, 2024
d8096ff
remove v0.0.2
Xillians Aug 29, 2024
a37049b
Merge branch 'main' of https://github.com/bjerkio/website into next
Xillians Aug 29, 2024
28a8973
fix: Update project page (#776)
Xillians Aug 29, 2024
e6f7b5a
Fix: adjust image width (#777) (#778)
github-actions[bot] Aug 29, 2024
c37d73a
Feat: Image scale function
FlemmingMP Aug 6, 2024
586fc3b
Apply formatting changes
FlemmingMP Aug 6, 2024
97b02db
Feat: Use classes
FlemmingMP Aug 7, 2024
68f786c
Apply formatting changes
FlemmingMP Aug 7, 2024
d17f3d9
Refactor: Rename class
FlemmingMP Aug 7, 2024
3745a48
Refactor: Order
FlemmingMP Aug 7, 2024
f3d5a07
Chore: Remove scaling code
FlemmingMP Aug 7, 2024
24d4014
VIP: Add new components to default pages and edit about page
FlemmingMP Jun 25, 2024
035ee5e
Feat: More flexible brief component with fixed mobile
FlemmingMP Jun 25, 2024
20ead17
Fix: Compatibility with updated brief component
FlemmingMP Jun 27, 2024
2f76fc0
Fix: Links styled as separate element
FlemmingMP Jun 27, 2024
d6826c7
Fix: Make about page markdown suit new layout and add picture to publ…
FlemmingMP Jun 27, 2024
6b8a59b
Feat: Restyle page template to support new design
FlemmingMP Jun 27, 2024
7481da8
Fix: Update media element selector to match the other
FlemmingMP Jun 27, 2024
43de388
Feat: Add logo and move text
FlemmingMP Jul 1, 2024
59968af
Style: Add fourth column
FlemmingMP Jul 2, 2024
e5e0f3a
remove unneccessary padding
Xillians Aug 6, 2024
49347a9
space up mobile view
Xillians Aug 6, 2024
d0be59a
align container center
Xillians Aug 6, 2024
0cf3542
Chore: Tweak narrow version
FlemmingMP Aug 7, 2024
c7856f8
Changed text front page (#747)
copetterson Aug 8, 2024
594c75f
feat: add intro cards to homepage (#748)
Xillians Aug 8, 2024
abd3107
Feat: Contact form init
FlemmingMP Jul 1, 2024
9668a8d
Feat: Add contact form to main layout
FlemmingMP Jul 1, 2024
bbd60d9
Fix: Change to default text color
FlemmingMP Jul 1, 2024
b36e03e
Fix: Style affecting other components
FlemmingMP Jul 2, 2024
7387961
Fix: Adjust placement
FlemmingMP Jul 2, 2024
eb979a2
Fix: Padding added to nested elements
FlemmingMP Jul 2, 2024
e0e3c13
Feat: Restyle contact site
FlemmingMP Jul 2, 2024
924e64e
make contact info sectionised
Xillians Aug 6, 2024
885997e
update address
Xillians Aug 7, 2024
5998d08
add transitional padding
Xillians Aug 7, 2024
d7ffdb7
avoid adjusting sizes
Xillians Aug 7, 2024
b16e45d
increase gap for email and address
Xillians Aug 7, 2024
b3ff500
re-structure inputs & remove gdpr
Xillians Aug 7, 2024
726935c
move primary button to global (#740)
Xillians Aug 7, 2024
32eb4f1
refactor: move contact form to own component (#742)
Xillians Aug 7, 2024
544dcc5
refactor: re-use contact form
Xillians Aug 8, 2024
eee2df7
footer with image
Xillians Aug 8, 2024
eb1a60c
refactor: set margin on slot instead of specific footer (#746)
Xillians Aug 8, 2024
606b5c2
Chore: Rewrite content
FlemmingMP Aug 8, 2024
248003a
Fix: Remove unused CSS and tweak formatting
FlemmingMP Aug 8, 2024
ed43167
feat: add header text for articles (#750)
Xillians Aug 9, 2024
40bfb90
refactor: update about page (#751)
Xillians Aug 9, 2024
79a8334
refactor: make intro cards in column (#752)
Xillians Aug 9, 2024
1b0a90c
fix: make full stop part of h1 (#753)
Xillians Aug 12, 2024
0991568
feat: add gdpr compliance info (#758)
Xillians Aug 14, 2024
e072c12
feat: connect form with crm (#754)
Xillians Aug 14, 2024
2e3cb0d
refactor: replace arbeider with arbeid (#759)
Xillians Aug 14, 2024
ad72d59
feat: add index images (#763)
Xillians Aug 29, 2024
6786a17
Promote changes in main → next (#745)
github-actions[bot] Aug 29, 2024
60c3921
Feat: Add image alt text and image resizing (#767)
FlemmingMP Aug 29, 2024
4e044a1
fix: present intro cards on mobile (#768)
Xillians Aug 29, 2024
3594ff6
docs: add changelog generation (#769)
Xillians Aug 29, 2024
78b78a7
revert: remove principle arguments (#771)
Xillians Aug 29, 2024
32bdfdd
fix: adjust contact form (#772)
Xillians Aug 29, 2024
15c54c2
chore(release): 0.0.3
Xillians Aug 29, 2024
29e61c0
remove v0.0.2
Xillians Aug 29, 2024
4c7afa8
revert change
Xillians Aug 29, 2024
70e00ac
revert default change
Xillians Aug 29, 2024
8ae016e
Merge branch 'main' into next
Xillians Aug 29, 2024
24f3280
Promote changes in main → next (#766)
github-actions[bot] Aug 29, 2024
a6dd1b4
fix: present intro cards on mobile (#770)
Xillians Aug 29, 2024
4083d08
Fix: adjust image width (#777) (#778)
github-actions[bot] Aug 29, 2024
9d45557
Changes by create-pull-request action (#743)
github-actions[bot] Aug 7, 2024
29e8f02
Feat: Add height to minimize content shift and use 2x image res
FlemmingMP Aug 5, 2024
f15da1c
Feat: Autoscale large image
FlemmingMP Aug 6, 2024
8f75358
VIP: Add new components to default pages and edit about page
FlemmingMP Jun 25, 2024
0d53344
Fix: Make about page markdown suit new layout and add picture to publ…
FlemmingMP Jun 27, 2024
8837c84
Feat: Restyle page template to support new design
FlemmingMP Jun 27, 2024
3d35a01
Fix: Style affecting other components
FlemmingMP Jul 2, 2024
dc8b0bf
Promote changes in main → next (#766)
github-actions[bot] Aug 29, 2024
625a3cf
fix: present intro cards on mobile (#770)
Xillians Aug 29, 2024
dd29e9e
Fix: adjust image width (#777) (#778)
github-actions[bot] Aug 29, 2024
79b1e09
VIP: Add new components to default pages and edit about page
FlemmingMP Jun 25, 2024
b2b7b55
Feat: Restyle page template to support new design
FlemmingMP Jun 27, 2024
1e9b3e9
Feat: Add contact form to main layout
FlemmingMP Jul 1, 2024
8731ce8
Fix: Style affecting other components
FlemmingMP Jul 2, 2024
afb1706
revert default change
Xillians Aug 29, 2024
a645943
Promote changes in main → next (#766)
github-actions[bot] Aug 29, 2024
d198723
fix: present intro cards on mobile (#770)
Xillians Aug 29, 2024
8b1836a
Fix: adjust image width (#777) (#778)
github-actions[bot] Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: promote/main-to-next
title: 'Promote changes in main → next'
body: |
This PR promotes changes from the main branch to the next branch.

It is created automatically by the GitHub Actions workflow.

**PS!** This should not be squashed or rebased, as it will be used to merge changes back to main.
branch: next-promotion

build:
name: Build and Deploy
Expand Down
9 changes: 3 additions & 6 deletions src/layouts/default.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export type Props = {
*/
headline?: string;

/**
/**
* The heading on the page next to headline. Should be longer than headline.
*
* @default title
*/
heading?: string;
heading?: string;

/**
* The title for social media platforms. The ideal length is approximately 47 characters.
Expand Down Expand Up @@ -198,10 +198,7 @@ const canonical = new URL(path, Astro.site);
<body>
<Header />
<slot />
{
contactFooter &&
<ContactFooter />
}
<ContactFooter />
<Footer />
<style is:global>
:root {
Expand Down
39 changes: 9 additions & 30 deletions src/layouts/page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,14 @@ const { frontmatter } = Astro.props;
{...frontmatter}
>
<main>
<article>
<div class="hero">
{ frontmatter.headline && (
<Brief
title={frontmatter.headline}>
{
frontmatter.heading && (
<p>
{frontmatter.heading}
</p>
)
}
</Brief>
)}
{ frontmatter.image && (
<Image
src={frontmatter.image}
alt={frontmatter.imageAlt}
width={2140}
height={2140}
/>
)}
</div>
{
frontmatter.headline && (
<aside>
<h1>{frontmatter.headline}</h1>
</aside>
)
}
<section class="main-section">
<slot />
</article>
</main>
Expand All @@ -50,13 +35,7 @@ const { frontmatter } = Astro.props;
line-height: 1.6;
letter-spacing: -0.003em;

display: grid;
grid-template-columns:
minmax(auto, 1fr)
minmax(auto, 60ch)
minmax(auto, 1fr);
}
article :global(> p:first-of-type strong) {
:global(.main-section > :first-child) {
font-weight: 600;
font-size: clamp(0.8rem, 5vw, 1.5rem);
}
Expand Down
11 changes: 9 additions & 2 deletions src/pages/artikler/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { getCollection, getEntries } from 'astro:content';
import Layout from '@layouts/default.astro';
import { Image } from 'astro:assets';
import formatHumanDate from '../../utils';
import formatHumanDate, { scaleImage, type ImageData } from '../../utils';

export async function getStaticPaths() {
const blogEntries = await getCollection('post');
Expand All @@ -27,6 +27,12 @@ const authorNames = authors
.join(', ');
const humanDate = formatHumanDate(entry.data.date);

const imageData: ImageData = {
width: entry.data.image.width,
height: entry.data.image.height
}
const scaledImage = scaleImage(imageData, 1070, 4/3);

const makeUrl = (path: string) => new URL(path, Astro.site).toString();
---

Expand Down Expand Up @@ -108,7 +114,8 @@ const makeUrl = (path: string) => new URL(path, Astro.site).toString();
}
<Image
src={entry.data.image}
width={1070}
width={scaledImage.width}
height={scaledImage.height}
alt={entry.data.title}
class="hero"
/>
Expand Down
15 changes: 6 additions & 9 deletions src/pages/om/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ layout: '@layouts/page.astro'
title: 'Lær om Bjerk – Vi skaper digitale produkter'
headline: Vi lager digitale produkter
heading: Vi står opp hver dag for å forbedre og forenkle måten mennesker lærer, tenker, jobber og kommuniserer på. Bjerk samler folk med kompetanse innen programvareutvikling, brukeropplevelse og produktledelse for å gjøre verden til et bedre sted.
<<<<<<< HEAD
image: '/assets/about-bjerk.jpg'
imageAlt: 'En mann, og to kvinner: Christina, Thomas og Sandra.'
imageTitle: 'Fra venstre: Christina, Thomas og Sandra.'
=======
>>>>>>> 1b7c81e (VIP: Add new components to default pages and edit about page)
path: /om
description:
Bjerk er et dialogdrevet byrå som skaper digitale løsninger. Gjennom 14 år har
Expand All @@ -16,13 +19,8 @@ socialMediaDescription:
digitale produkter og tjenester for mennesker.
---

## Vår historie

Siden oppstarten i 2009 har Bjerk jobbet med en klar visjon: å skape en trygg
arbeidsplass som utgjør en forskjell gjennom bruk av teknologi. Vi motiveres av
å hjelpe folk og bedrifter til å fokusere på det som virkelig betyr noe, og
bruker vår ekspertise til å skape løsninger som gir positive effekter for våre
kunder.
Vi tror at gjennom å lage digitale produkter, så kan vi skape positive effekter
for mennesker.

## Våre tjenester

Expand All @@ -31,8 +29,7 @@ spesifikke behov. Vi fyller gapet etterlatt av standariserte
programvareløsninger ved å forbedre eksisterende systemer, sy ulike systemer
sammen eller utvikle helt nye løsninger.


Lurer du på hva dette faktisk innebærer? [Se noen av våre arbeid her](/arbeid)
## Hva gjør Bjerk?

## Hvor starter vi?

Expand Down
Loading