Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
feat/update (#145)
Browse files Browse the repository at this point in the history
* 🚀 trigger release

* 🚑 fix download links

* fix(stats): statistic page (#117) (#118)

* Initial commit from Create Next App

* ✨ setup

* 🚑 fix download page (#36)

* Fix/typo header (#39)

* ✨ add maj to header links

* adjust header width

* trigger deploy

* trigger deploy

* 🚀 deploy

* 🔥 remove hello.ts init file

* 📝 update readme

* fix/download-page (#37) (#48)

* 🚑 fix download links

* Fix/change download links (#53)

* 🚑 fix download links

* Fix/fix download links (#55)

* 🚑 fix download links

* Fix/links from download page (#57)

* 🚑 fix dl links

* fix: statistic page

* 🔖 release v1.12.0

* trigger deploy

* update

* 🔖 release v1.13.0

* feat/update-site-v2

* 🔖 release v1.14.0

---------

Co-authored-by: Social Groovy Bot <[email protected]>
  • Loading branch information
mehdilouraoui and SocialGroovyBot authored Mar 27, 2023
1 parent 3375b0e commit e34d57b
Show file tree
Hide file tree
Showing 7 changed files with 1,492 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
}
]
}
}
}
8 changes: 4 additions & 4 deletions components/statistic/Statistic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ export const Statistic = () => {
<div className="wrapper">
<h2>Docs</h2>
<div className="item-wrapper">
{/* {statsDocs.map((stat, index) => (
{statsDocs.map((stat, index) => (
<Stat label={stat.label} size={stat.size} key={index} />
))} */}
))}
</div>
</div>
<div className="wrapper">
<h2>Mails</h2>
<div className="item-wrapper">
{/* {statsMails.map((stat, index) => (
{statsMails.map((stat, index) => (
<Stat label={stat.label} size={stat.size} key={index} />
))} */}
))}
</div>
</div>
</Page>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archifiltre-site-v2",
"version": "1.11.0",
"version": "1.14.0",
"private": true,
"author": "Archifiltre",
"license": "Apache-2.0",
Expand Down
13 changes: 13 additions & 0 deletions pages/api/hello.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from 'next'

type Data = {
name: string
}

export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>
) {
res.status(200).json({ name: 'John Doe' })
}
3 changes: 3 additions & 0 deletions utils/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ export const EXE_EXTENSION_DOCS_FIX = '-win-setup.exe';
export const DMG_EXTENSION_DOCS_FIX = '-mac-x64.dmg';
export const APP_IMAGE_EXTENSION_DOCS_FIX = '-linux-x86_64.AppImage';

export const DMG_EXTENSION_DOCS_FIX_64 = '-mac-x64.dmg';
export const APP_IMAGE_EXTENSION_DOCS_FIX_64 = '-linux-x86_64.AppImage';

export const ARCHIFILTRE_MAIL_ADDRESS = '[email protected]';
2 changes: 0 additions & 2 deletions utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ export const getDownloadLink = (
: 'mails'
: currentProduct;

// const baseUrl = `https://github.com/SocialGouv/archifiltre-${name}/releases/download/v${version}/archifiltre-${name}`;

const baseUrlMail = `https://github.com/SocialGouv/archifiltre-mails/releases/download/v1.0.0/archifiltre-mails`;
const baseUrlDocs =
'https://github.com/SocialGouv/archifiltre-docs/releases/download/v4.0.0-beta.6/archifiltre-docs';
Expand Down
Loading

0 comments on commit e34d57b

Please sign in to comment.