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

Feat/ha/get requests from datalandsbyen #1784

Closed
wants to merge 122 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
4a16d21
Merge pull request #935 from Informasjonsforvaltning/develop
shenluna Jun 8, 2021
1280f92
fix: fixes header language and styling
matsjs Jun 9, 2021
376fda7
Merge pull request #941 from Informasjonsforvaltning/fix/ois/prodsett
valosnah Jun 11, 2021
4bd275e
Merge pull request #944 from Informasjonsforvaltning/develop
shenluna Jun 14, 2021
a0f133d
Merge pull request #948 from Informasjonsforvaltning/develop
shenluna Jun 15, 2021
1ccc9c0
Merge pull request #954 from Informasjonsforvaltning/develop
shenluna Jun 21, 2021
1df9112
Merge pull request #955 from Informasjonsforvaltning/develop
shenluna Jun 23, 2021
1e8c176
Merge pull request #965 from Informasjonsforvaltning/develop
shenluna Jun 24, 2021
1c699db
chore: add cell padding
jeffreiffers Jun 24, 2021
de38555
chore: updated prod deploy to main branch
valosnah Jun 29, 2021
5ee836d
chore: add dotenv and prettierrc (#957)
simenandre Jul 1, 2021
829aeff
feat: add news article v2 with graphql code generator (#956)
simenandre Jul 2, 2021
5dce2f1
feat: add missing routes (#970)
simenandre Jul 2, 2021
54f146b
fix: support empty string as fallback language
jeffreiffers Jul 6, 2021
ebc4752
chore: revert "chore: add dotenv and prettierrc (#957)"
jeffreiffers Jul 6, 2021
a3a0505
fix: do not link skolem, hide null version
matsjs Jul 5, 2021
2c5b402
fix: add null safety for fulltext queries
matsjs Jul 6, 2021
99946b7
chore: update news list styling
matsjs Jul 6, 2021
f5244ad
fix: user uploaded avatar
matsjs Jul 6, 2021
3fcb329
feat: adds datalandsbyen home link
matsjs Jul 6, 2021
110ae9d
chore: add external icon to community links
matsjs Jul 7, 2021
fe96621
fix: korrigering nynorsk
jeffreiffers Jul 7, 2021
13700cb
fix: null handling
matsjs Jul 7, 2021
1ffddd7
fix: add error boundary to markdown component (chrome translate bug)
jeffreiffers Jul 8, 2021
7752be1
chore: updated search-hit snapshot
jeffreiffers Jul 8, 2021
95b383b
Merge branch 'main' into develop
jeffreiffers Jul 14, 2021
1f9cde5
chore: disable markup error logging
jeffreiffers Jul 15, 2021
2a49594
Merge pull request #991 from Informasjonsforvaltning/develop
jeffreiffers Jul 17, 2021
8eda383
Merge pull request #994 from Informasjonsforvaltning/develop
oyvindis Aug 2, 2021
acee45c
Merge pull request #1004 from Informasjonsforvaltning/develop
shenluna Aug 11, 2021
820c19e
Merge pull request #1006 from Informasjonsforvaltning/develop
shenluna Aug 12, 2021
eb3f919
Merge pull request #1007 from Informasjonsforvaltning/develop
shenluna Aug 13, 2021
831e189
Merge pull request #1012 from Informasjonsforvaltning/develop
shenluna Aug 18, 2021
25b2ab9
Merge pull request #1018 from Informasjonsforvaltning/develop
shenluna Aug 26, 2021
76617c7
Merge pull request #1044 from Informasjonsforvaltning/develop
jeffreiffers Sep 16, 2021
012016c
Merge pull request #1049 from Informasjonsforvaltning/develop
shenluna Sep 21, 2021
9d17302
Merge pull request #1059 from Informasjonsforvaltning/develop
shenluna Oct 1, 2021
6c4f5b4
Merge pull request #1063 from Informasjonsforvaltning/develop
shenluna Oct 8, 2021
bb6b837
Merge pull request #1068 from Informasjonsforvaltning/develop
shenluna Oct 13, 2021
e772b04
Merge pull request #1071 from Informasjonsforvaltning/develop
shenluna Oct 13, 2021
b52dbbb
Merge pull request #1074 from Informasjonsforvaltning/develop
shenluna Oct 18, 2021
5feabf6
Merge pull request #1080 from Informasjonsforvaltning/develop
shenluna Oct 26, 2021
9967a8f
Merge pull request #1083 from Informasjonsforvaltning/develop
shenluna Nov 3, 2021
942fabd
Merge pull request #1087 from Informasjonsforvaltning/develop
shenluna Nov 4, 2021
182da39
Merge pull request #1091 from Informasjonsforvaltning/develop
shenluna Nov 8, 2021
b1344e6
Merge pull request #1094 from Informasjonsforvaltning/develop
shenluna Nov 8, 2021
045a1cc
Merge pull request #1099 from Informasjonsforvaltning/develop
shenluna Nov 12, 2021
37f3a2c
Merge pull request #1100 from Informasjonsforvaltning/develop
shenluna Nov 15, 2021
48e069d
feat: support for plain preview
jeffreiffers Nov 17, 2021
78433dd
chore: audit fix
jeffreiffers Nov 22, 2021
8d995db
Merge pull request #1104 from Informasjonsforvaltning/chore/jr/previe…
valosnah Nov 22, 2021
4e89fbc
Merge branch 'main' into develop
shenluna Dec 7, 2021
e1fdb86
Merge pull request #1119 from Informasjonsforvaltning/develop
shenluna Dec 7, 2021
caded5f
Merge pull request #1122 from Informasjonsforvaltning/develop
shenluna Dec 17, 2021
4bcbb1b
Merge pull request #1131 from Informasjonsforvaltning/develop
shenluna Jan 12, 2022
7765487
Merge pull request #1135 from Informasjonsforvaltning/develop
shenluna Jan 20, 2022
f99e519
Merge pull request #1137 from Informasjonsforvaltning/develop
shenluna Jan 20, 2022
f4aa127
Merge pull request #1147 from Informasjonsforvaltning/develop
shenluna Jan 27, 2022
9fe919e
Merge pull request #1149 from Informasjonsforvaltning/develop
shenluna Jan 27, 2022
fda5692
chore: support channel boolean type and env
jeffreiffers Jan 31, 2022
fa8672e
chore: use Enum_Servicemessage_Environment
jeffreiffers Jan 31, 2022
0c1248d
Merge pull request #1154 from Informasjonsforvaltning/chore/jr/prod-s…
shenluna Feb 1, 2022
faee764
fix: use custom render for sparqlpage route
jeffreiffers Feb 1, 2022
ec3d215
Merge pull request #1156 from Informasjonsforvaltning/chore/jr/prodse…
valosnah Feb 1, 2022
8bd1b40
Merge pull request #1171 from Informasjonsforvaltning/develop
shenluna Mar 10, 2022
2d99874
Merge pull request #1177 from Informasjonsforvaltning/develop
valosnah Mar 11, 2022
0d143b3
Merge pull request #1186 from Informasjonsforvaltning/develop
shenluna Mar 16, 2022
9d0f11e
Merge pull request #1189 from Informasjonsforvaltning/develop
shenluna Mar 16, 2022
33d248a
Merge pull request #1194 from Informasjonsforvaltning/develop
shenluna Mar 21, 2022
ddac3bb
Merge pull request #1209 from Informasjonsforvaltning/develop
shenluna Apr 25, 2022
ff0f7c8
Merge pull request #1211 from Informasjonsforvaltning/develop
valosnah Apr 25, 2022
ab52caf
Merge pull request #1219 from Informasjonsforvaltning/develop
shenluna May 5, 2022
228f89b
Merge pull request #1231 from Informasjonsforvaltning/develop
shenluna Jun 1, 2022
9109db8
Merge pull request #1235 from Informasjonsforvaltning/develop
oyvindis Jun 9, 2022
7318b60
Merge pull request #1260 from Informasjonsforvaltning/develop
jeffreiffers Aug 8, 2022
5640b4f
Merge pull request #1280 from Informasjonsforvaltning/develop
valosnah Aug 24, 2022
dfc2710
Merge pull request #1290 from Informasjonsforvaltning/develop
jeffreiffers Sep 16, 2022
e0aec90
Merge pull request #1295 from Informasjonsforvaltning/develop
jeffreiffers Sep 20, 2022
8e0ebd5
Merge pull request #1303 from Informasjonsforvaltning/develop
terjesyl Sep 29, 2022
8d5cc8c
Merge pull request #1335 from Informasjonsforvaltning/develop
jeffreiffers Oct 13, 2022
87c69ec
Merge pull request #1337 from Informasjonsforvaltning/develop
jeffreiffers Oct 13, 2022
948c915
Merge pull request #1341 from Informasjonsforvaltning/develop
terjesyl Oct 17, 2022
ef95431
Merge pull request #1344 from Informasjonsforvaltning/develop
jeffreiffers Oct 20, 2022
f6a586e
Merge pull request #1354 from Informasjonsforvaltning/develop
jeffreiffers Nov 11, 2022
3e3d21f
Merge pull request #1384 from Informasjonsforvaltning/develop
pooriamehregan Nov 18, 2022
2df7844
Merge pull request #1394 from Informasjonsforvaltning/develop
jeffreiffers Nov 24, 2022
23cd50d
Merge pull request #1396 from Informasjonsforvaltning/develop
jeffreiffers Nov 25, 2022
a79fbf2
Merge pull request #1467 from Informasjonsforvaltning/develop
jeffreiffers Jan 11, 2023
40448bf
Merge pull request #1483 from Informasjonsforvaltning/develop
jeffreiffers Jan 12, 2023
2f72d06
Merge pull request #1496 from Informasjonsforvaltning/develop
jeffreiffers Jan 18, 2023
2c682e4
Merge pull request #1511 from Informasjonsforvaltning/develop
terjesyl Jan 20, 2023
5471a79
Merge pull request #1524 from Informasjonsforvaltning/develop
hegeaal Jan 31, 2023
744da37
Merge pull request #1527 from Informasjonsforvaltning/develop
hegeaal Feb 6, 2023
599cef1
Merge pull request #1560 from Informasjonsforvaltning/develop
hegeaal Feb 22, 2023
6cf0d8b
Merge pull request #1564 from Informasjonsforvaltning/develop
jeffreiffers Feb 23, 2023
6cf93b5
Merge pull request #1567 from Informasjonsforvaltning/develop
jeffreiffers Feb 23, 2023
e329e97
Merge pull request #1570 from Informasjonsforvaltning/develop
jeffreiffers Feb 23, 2023
38a6faf
Merge pull request #1573 from Informasjonsforvaltning/develop
hegeaal Feb 24, 2023
2b25abf
Merge pull request #1575 from Informasjonsforvaltning/develop
jeffreiffers Feb 27, 2023
656a623
Merge pull request #1582 from Informasjonsforvaltning/develop
jeffreiffers Feb 27, 2023
9b0c830
Merge pull request #1595 from Informasjonsforvaltning/develop
jeffreiffers Mar 15, 2023
07fdfbc
Merge pull request #1602 from Informasjonsforvaltning/develop
terjesyl Mar 30, 2023
e9d9e69
Merge pull request #1634 from Informasjonsforvaltning/develop
hegeaal Apr 18, 2023
4b6c2f7
Merge pull request #1640 from Informasjonsforvaltning/develop
pooriamehregan Apr 24, 2023
c5b6b73
Merge pull request #1658 from Informasjonsforvaltning/develop
jeffreiffers May 5, 2023
4e87270
Merge pull request #1663 from Informasjonsforvaltning/develop
jeffreiffers May 8, 2023
b589242
Merge pull request #1691 from Informasjonsforvaltning/develop
terjesyl May 24, 2023
8cad8f1
Merge pull request #1696 from Informasjonsforvaltning/develop
terjesyl May 25, 2023
dccc647
Merge pull request #1699 from Informasjonsforvaltning/develop
terjesyl May 25, 2023
772cd56
Merge pull request #1705 from Informasjonsforvaltning/develop
terjesyl May 30, 2023
14f5e98
Merge pull request #1738 from Informasjonsforvaltning/develop
jeffreiffers Aug 7, 2023
97763f4
Merge pull request #1744 from Informasjonsforvaltning/develop
pooriamehregan Aug 28, 2023
24cfc50
Merge pull request #1746 from Informasjonsforvaltning/develop
pooriamehregan Aug 29, 2023
44e64c0
Merge pull request #1765 from Informasjonsforvaltning/develop
pooriamehregan Sep 26, 2023
2353791
Merge pull request #1768 from Informasjonsforvaltning/develop
jeffreiffers Sep 29, 2023
ccdac90
Chore/update deps (#1769)
hegeaal Oct 3, 2023
cfd8dfb
feat: page setup
hegeaal Oct 3, 2023
1a5f58d
feat: add digdir design system
hegeaal Oct 3, 2023
5f1a53f
feat: banner component
hegeaal Oct 3, 2023
3f67acb
feat: fetch request data and display in rows
hegeaal Oct 5, 2023
5c4a551
chore: test
hegeaal Oct 5, 2023
ee5d947
fix: remove test
hegeaal Oct 5, 2023
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
Prev Previous commit
Next Next commit
feat: adds datalandsbyen home link
  • Loading branch information
matsjs authored and jeffreiffers committed Jul 8, 2021
commit 3fcb32977e648110732b2134d6dfc74076d2b717
1 change: 1 addition & 0 deletions src/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@
"sampleData": "Example data",
"community": {
"title": "Data Community",
"seeLatest": "Latests posts from the ",
"seeMore": "See more recent posts",
"subtitle": {
"link": "our data community.",
Expand Down
1 change: 1 addition & 0 deletions src/l10n/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@
"sampleData": "Eksempeldata",
"community": {
"title": "Datalandsbyen",
"seeLatest": "Siste saker fra",
"seeMore": "Se flere nylige innlegg",
"subtitle": {
"link": "datalandsbyen.",
Expand Down
1 change: 1 addition & 0 deletions src/l10n/nn.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@
"sampleData": "Eksempeldata",
"community": {
"title": "Datalandsbyen",
"seeLatest": "Siste saker frå",
"seeMore": "Sjå fleire nylege innlegg",
"subtitle": {
"link": "datalandsbyen.",
Expand Down
14 changes: 13 additions & 1 deletion src/pages/main-page/components/header/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,24 @@ import styled from 'styled-components';
const Header = styled.h2`
font-size: 3rem;
font-weight: 600;
margin-bottom: 1em;
margin-top: 1em;
margin-bottom: 0.25em;
text-align: center;

@media (min-width: 992px) {
text-align: left;
}

& > a {
font-size: inherit;
font-weight: inherit;
margin: none;

& svg {
height: 3rem;
width: 3rem;
}
}
`;

export default {
Expand Down
13 changes: 6 additions & 7 deletions src/pages/main-page/main-page-pure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ const MainPage: FC<Props> = ({
<main id='content' className='container'>
<SC.Content className='row'>
<section className='col-12 col-lg-8'>
<HeaderSC.Header>
<span>{localization.sort.modified}</span>
</HeaderSC.Header>
<HeaderSC.Header>{localization.sort.modified}</HeaderSC.Header>
<SearchEntities entities={entities} mediatypes={mediaTypes} />
</section>
<section className='col-12 col-lg-4'>
<HeaderSC.Header>
<span>{localization.community.title}</span>
{localization.community.seeLatest}
<SC.Link href={`${FDK_COMMUNITY_BASE_URI}`} external>
{localization.community.title}
</SC.Link>
</HeaderSC.Header>
{posts.length > 0 ? (
<SC.CommunityPosts>
Expand All @@ -79,9 +80,7 @@ const MainPage: FC<Props> = ({
</SC.Link>
</SC.CommunityPosts>
) : null}
<HeaderSC.Header>
<span>{localization.news}</span>
</HeaderSC.Header>
<HeaderSC.Header>{localization.news}</HeaderSC.Header>

<NewsList news={news} />

Expand Down