generated from openscript-ch/gatsby-starter-dogmatism
-
Notifications
You must be signed in to change notification settings - Fork 0
Add formation page #468
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
Merged
Merged
Add formation page #468
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6efe803
feat: add base formation section
Leonardo-Olivo 8b8244b
feat: timeline fine tuning, added en formation
Leonardo-Olivo b688373
feat: add responsiveness to timeline component
Leonardo-Olivo 985e6f3
chore: add changeset
openscript 4729b1b
docs: add formation content
openscript 1c7f72b
feat: add dot at beginning of spine. Add TimelineEntry.
Leonardo-Olivo 186377f
chore: upgrade dependencies
openscript 83baee3
chroe: clean up timeline
openscript 5d94943
feat: add dot to line with a gradient
Leonardo-Olivo 14a7847
chore: remove last key
Leonardo-Olivo 8eb9535
chore: remove wrapping div
Leonardo-Olivo 512e0ce
chore: fix typo in src/content/pages/de/past/formation.mdx
openscript daf9126
chore: fix typo src/content/formation/founding.yaml
openscript 0b33c21
chore: upgrade dependencies
openscript dd6301d
chore: clean up
openscript 0968433
chore: enhance timeline
openscript e6c21d6
chore: add content
openscript File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "openscript-ch-website": patch | ||
| --- | ||
|
|
||
| Add formation page |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| --- | ||
|
|
||
| --- | ||
|
|
||
| <div class="timeline"> | ||
| <ol> | ||
| <slot /> | ||
| </ol> | ||
| </div> | ||
|
|
||
| <style> | ||
| .timeline { | ||
| position: relative; | ||
| } | ||
|
|
||
| ol { | ||
| list-style: none; | ||
| margin: 0; | ||
| padding: 0; | ||
|
|
||
| display: flex; | ||
| flex-direction: column; | ||
| gap: var(--size-gutter-big); | ||
| } | ||
|
|
||
| /* spine of the timeline */ | ||
| .timeline::before { | ||
| content: ""; | ||
| width: 4px; | ||
| height: calc(100% + var(--size-height-divider) + (3 * var(--size-gutter-massive))); | ||
| position: absolute; | ||
| left: 50%; | ||
| transform: translateX(-50%); | ||
| background: linear-gradient( | ||
| to bottom, | ||
| var(--color-primary) 0.2rem, | ||
| transparent 0.2rem, | ||
| transparent 0.4rem, | ||
| var(--color-primary) 0.4rem, | ||
| var(--color-primary) 0.6rem, | ||
| transparent 0.6rem, | ||
| transparent 0.8rem, | ||
| var(--color-primary) 0.8rem | ||
| ); | ||
| z-index: 3; /* above potential dividers */ | ||
| } | ||
|
|
||
| :global(article section:last-of-type .timeline::before) { | ||
| height: 100%; | ||
| } | ||
|
|
||
| @media screen and (max-width: 1025px) { | ||
| .timeline::before { | ||
| left: 90%; | ||
| } | ||
|
|
||
| .timeline::after { | ||
| content: ""; | ||
| width: 20px; | ||
| aspect-ratio: 1; | ||
| clip-path: polygon(0 0, 50% 100%, 100% 0); | ||
| background-color: var(--color-primary); | ||
| left: calc(90% - 10px); | ||
| bottom: -5px; | ||
| position: absolute; | ||
| z-index: 3; /* above potential dividers */ | ||
| } | ||
|
|
||
| .timeline::before { | ||
| height: 100%; | ||
| } | ||
| } | ||
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
|
|
||
| --- | ||
|
|
||
| <li> | ||
| <slot /> | ||
| </li> | ||
|
|
||
| <style> | ||
| li { | ||
| display: flex; | ||
| flex-direction: column; | ||
| box-sizing: border-box; | ||
| padding: 1rem; | ||
| background: var(--color-overlay); | ||
| width: 45%; | ||
| font-size: 1.2rem; | ||
| } | ||
|
|
||
| li::after { | ||
| content: ""; | ||
| width: 20px; | ||
| height: 20px; | ||
| border-radius: 50%; | ||
| border: 4px solid var(--color-primary); | ||
| background: var(--color-white); | ||
| position: absolute; | ||
| left: 50%; | ||
| transform: translateX(-50%); | ||
| z-index: 5; /* above spine */ | ||
| } | ||
|
|
||
| li :global(*:last-child) { | ||
| margin-block-end: 0; | ||
| } | ||
|
|
||
| @media screen and (min-width: 1025px) { | ||
| li:nth-child(even) { | ||
| align-self: flex-end; | ||
| } | ||
| } | ||
|
|
||
| @media screen and (max-width: 1025px) { | ||
| li::after { | ||
| width: 17px; | ||
| height: 17px; | ||
| left: 90%; | ||
| } | ||
|
|
||
| li { | ||
| width: 85%; | ||
| } | ||
|
|
||
| li:not(:last-child) { | ||
| margin-bottom: 4rem; | ||
| } | ||
| } | ||
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| items: | ||
| de: | ||
| - title: Praktikumsplatz | ||
| text: Im Jahr 2023 absolvierte Micael sein einjähriges Praktikum bei uns. | ||
| - title: Weitere Unterstützung | ||
| text: Seit Anfang 2025 programmiert Leonardo bei uns fleissig mit. | ||
| en: | ||
| - title: Internship Position | ||
| text: In 2023, Micael completed his one-year internship with us. | ||
| - title: Further Support | ||
| text: Since early 2025, Leonardo has been programming diligently with us. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| items: | ||
| de: | ||
| - title: Web-Domain | ||
| text: Bereits am 24. April 2007 wurde die Domain openscript.ch registriert. | ||
| - title: Handelsregistereintrag | ||
| text: Seit dem 23. Januar 2020 sind wir im Handelsregister eingetragen. | ||
| en: | ||
| - title: Web Domain | ||
| text: The domain openscript.ch was already registered on April 24, 2007. | ||
| - title: Commercial Register Entry | ||
| text: We have been registered in the commercial register since January 23, 2020. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| items: | ||
| de: | ||
| - title: Temporäres Büro | ||
| text: Im Februar 2021 sind wir in ein temporäres Büro im ehemaligen Swissôtel Zürich gezogen. | ||
| - title: Unterstützung | ||
| text: Ab Frühjahr 2021 unterstützte uns Aaron als Softwareentwickler. | ||
| - title: Zweites Büro | ||
| text: Seit Anfang 2022 mieten wir ein Büro in Glattbrugg. | ||
| en: | ||
| - title: Temporary Office | ||
| text: In February 2021, we moved into a temporary office in the former Swissôtel Zürich. | ||
| - title: Support | ||
| text: From spring 2021, Aaron supported us as a software developer. | ||
| - title: Second Office | ||
| text: Since early 2022, we have been renting an office in Glattbrugg. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.