Commit Graph

374 Commits

Author SHA1 Message Date
Yaiza a1e410f533
Migrate summer school page to Nuxt3 (#3017)
* Renames event card and import icons

* Replaces AppCard with UiAppCard

* Replaces class name event-card with item-card

* Shows header

* Shows mosaic

* Shows tabs and agenda

* Shows summer school FAQ section

* Shows resources section

* Clean code

* Fixes segment to track pages

* feat(summer-school): style and html updates

* feat(summer-school): fix broken styles

---------

Co-authored-by: Randy Tolentino <randytolentino@ibm.com>
2023-03-09 11:18:47 -08:00
Eddybrando Vásquez 0b060984a1
refactor(ecosystem): migrate to Nuxt 3 (#3001)
* refactor(index): use `useAsyncData`

* refactor(index): migrate "hero" component

* refactor(index): migrate "quick start" section

* fix(cta): use functions instead of computed props

We were using exported functions from another component that should have been doing those calculations as computed props. Since they have been refactored as computed props, we can't export them and reuse them externally as regular functions. Hence we need to recreate those computations here.

* feat: update Carbon css classes

* chore: move image assets

* refactor: use `:deep` selector

* feat: working typography

* refactor(index): migrate "quick start" section

* fix: move images to public folder

Our current setup only works with images that were in the "static" (now "public") directory.

* refactor(index): migrate "capabilities" section

* refactor(index): migrate "learn" section

* feat(app-cta): show icons

* feat(index): "start locally" design adjustments

* chore: remove since already migrated

* style: some lint fixes

* refactor(advocates): update "header" section

* refactor(advocates): update "join" section

* refactor(advocates): update "meet" section

* refactor(advocates): update "meet" section

* refactor(ecosystem): update "header" section

* refactor(ecosystem): update "join" section

* refactor(ecosystem): update "filter" section

* refactor(ecosystem): update "results" section

* refactor(ecosystem): update "test tables"

* chore: replace type assertion

* chore: remove unnecessary attribute

* fix: add "bx-data-table" container

* refactor(ecosystem): reuse timestamp formatting

* refactor: use Carbon variable

* refactor: improve class name
2023-03-09 16:14:57 +01:00
Eddybrando Vásquez 348632cd35
refactor(advocates): migrate to Nuxt 3 (#2997)
* refactor(index): use `useAsyncData`

* refactor(index): migrate "hero" component

* refactor(index): migrate "quick start" section

* fix(cta): use functions instead of computed props

We were using exported functions from another component that should have been doing those calculations as computed props. Since they have been refactored as computed props, we can't export them and reuse them externally as regular functions. Hence we need to recreate those computations here.

* feat: update Carbon css classes

* chore: move image assets

* refactor: use `:deep` selector

* feat: working typography

* refactor(index): migrate "quick start" section

* fix: move images to public folder

Our current setup only works with images that were in the "static" (now "public") directory.

* refactor(index): migrate "capabilities" section

* refactor(index): migrate "learn" section

* feat(app-cta): show icons

* feat(index): "start locally" design adjustments

* chore: remove since already migrated

* style: some lint fixes

* refactor(advocates): update "header" section

* refactor(advocates): update "join" section

* refactor(advocates): update "meet" section

* refactor(advocates): update "meet" section

* refactor: rename AdvocateCard

* chore: add TODOs for future refactor
2023-02-28 10:15:15 +01:00
Eddybrando Vásquez 9258e8ac97
refactor(index): migrate to Nuxt 3 (#2986)
* refactor(index): use `useAsyncData`

* refactor(index): migrate "hero" component

* refactor(index): migrate "quick start" section

* fix(cta): use functions instead of computed props

We were using exported functions from another component that should have been doing those calculations as computed props. Since they have been refactored as computed props, we can't export them and reuse them externally as regular functions. Hence we need to recreate those computations here.

* feat: update Carbon css classes

* chore: move image assets

* refactor: use `:deep` selector

* feat: working typography

* refactor(index): migrate "quick start" section

* fix: move images to public folder

Our current setup only works with images that were in the "static" (now "public") directory.

* refactor(index): migrate "capabilities" section

* refactor(index): migrate "learn" section

* feat(app-cta): show icons

* feat(index): "start locally" design adjustments

* chore: remove since already migrated

* style: some lint fixes

* feat: use new Carbon css name for "no gutter"

* feat: use new Carbon css name for "aspect ratio"

* feat: remove QuickStart and add TODO

The component will be redesigned and will need a major update.

Related to https://github.com/Qiskit/qiskit.org/issues/2856
2023-02-23 14:46:19 +01:00
Eddybrando Vásquez 374024f7c4
feat: migrate "logic" pages (#2980)
* refactor: remove QiskitPage and QiskitElementPage

Those components were used for the implementation of Segment tracking. This won't work the same way in the Nuxt 3 project, so we'll handle the integration of Segment later in a different PR.

* feat: migrate CourseOverPage "logic" page

* feat: use new CourseOverviewPage

* chore: apply relevant migration changes

* style: lint files

* chore: replace `v-bind` for `UiAppCta`

* feat(app-cta): temporary workaround
2023-02-16 15:58:25 +01:00
Eddybrando Vásquez af990e8509
style: configure lint for Nuxt 3 (#2978)
* feat: configure ESLint and Prettier

* feat: configure Stylelint

* chore: remove old lint config files

* style: format with ESLint

* style: format with Prettier

* style: format with Stylelint

* feat(lint): use "eslint:recommended"

* feat(lint): added env config
2023-02-15 15:20:14 +01:00
Eddybrando Vásquez 36dfa759ae
Feat/2976 layouts nuxt 3 (#2977)
* feat: minimal working default layout

* fix: Carbon spacings variables

* fix: Qiskit CSS variables

* fix: Carbon breakpoints

* feat(layout): integrate AppLogo

* feat(layout): integrate BasicLink

* feat: integrate AppLink and BasicLink

* feat(layout): integrate Qiskit UI Shell

* feat(layouts): migrate default-max

* feat(layouts): migrate metal

* feat(layout): use layouts in pages
2023-02-15 12:22:03 +01:00
Yaiza bc704fba1e
refactor: replace mixins with composables (#2975)
* Moves segment types to types folder

* Creates segment composable

* Deletes segment plugin

* Adds trackClick plugin

* Adds trackPage middleware

* Delete segment mixins

* Deletes segment plugin from nuxt config

* Update segment types imports

* Uses the new trackClickEvent

* Use segment composable on the tests

* Renames test folder and file

* Deletes old ScrollBetweenSections mixin

* Creates useScrollBetweenSections composable

* Uses useScrollBetweenSections composable

---------

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2023-02-14 16:32:20 +01:00
Eddybrando Vásquez 1adb45d29b
feat: nuxt 3 minimal working app (#2971)
* feat: install fresh Nuxt 3 and move old code

* chore: remove old code

* chore: move index page

* chore: move metal page

* chore: move overview page

* chore: move advocates page

* chore: move ecosystem page

* chore: move events/fall-fest page

* chore: move events page

* chore: move events/seminar-series page

* chore: move events/summer-school page

* chore: move learn page

* chore: move learn/summer-school pages

* chore: move learn/course pages

* chore: move page redirects

* chore: move back components

* chore: move back directories

* chore: move back directories

* chore: move back files

* chore: move back files

* chore: move back files

* chore: move back files

* chore: remove downloaded photos

* chore: move favicon
2023-02-13 17:39:59 +01:00
Yaiza 92a7c947ee feat: removes the store (#2961)
* Installs pinia for Nuxt

* Adds Pinia to your nuxt.config file

* Migrates Advocates store from Vuex to Pinia

* Removes Advocates store because it's not needed

* Moves event's store functions to the events' page

* Refactor

* Moves event's types to an external file

* Removes ecosystem store

* Fix event types imports

* Moves advocates types to a separate file

* Fix events types import

* Deletes unused store

* Group computed properties

* Deletes store tests

* Removes pinia

* Leave the relative import  hooks/advocate-conversion-utils.ts

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

* Leave the relative import on hooks/event-conversion-utils.ts

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

* Type activeSet

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

* Replaced type assertion with a type annotation

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

* Update pages/events/index.vue

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

* Update pages/ecosystem/index.vue

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>

---------

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2023-02-09 15:49:11 +01:00
Eddybrando Vásquez 30e98a92bf feat: use "Script Setup" in pages (#2937)
* refactor: script setup in pages

* feat(blockbuster): remove page

* style: remove unnecessary type declaration
2023-02-09 15:47:43 +01:00
Ryan Rogers ae4d549de8
fix: no events found typo (#2966)
* fix no events found typo

* fix typo in events not found banner
2023-02-07 15:22:31 +01:00
Yaiza 07245c8df6
feat(events): show event time on events page (#2941)
* feat(events): shows start time

* Adds startDateAndTime to events

* feat(airtable): use event's start date and time

* test(airtable): support simpler code

---------

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2023-02-07 14:44:40 +01:00
Randy 57edca26e6
feat(events): add calendar sync section (#2955)
* feat(events): add calendar sync section

* remove unused code

* rename section class

* update aria labels, reorganize files, and fix copy

* refactor iteration for calendar instructions
2023-02-03 12:13:25 -08:00
Yaiza 2d40ddf02a
chore: removes deprecated pages (#2956)
* Removes Blockbuster page and related assets

* Removes camp Africa old page

* Removes camp Asia old page

* Removes camp Europe old page

* Removes camp 2020 old page

* Removes finland-unconference old page

* Removes old seminar series page

* Deletes unused assets

* Deletes layout and general page for old events

* Removes the india-week-of-women-in-quantum page

* Deletes physics-of-computation page

* Deletes svg files used on the old style pages

---------

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2023-02-01 17:39:47 +01:00
Frank Harkins ffacada028
Add quantum circuits page (#2923)
* Add preview of new quantum circuits page
* Update name for lesson 4 (Entanglement in action)
2023-01-25 10:28:49 +00:00
Randy 6bcbaf12ba
fix(site-wide): tab component styling (#2925) 2023-01-24 15:30:01 +01:00
Randy 02ffee0e09
feat: Use qiskit-banner web component (#2921)
* feat: use qiskit banner component

* feat: update qiskit banner component styles

* feat: update qiskit banner alignment
2023-01-23 16:22:54 +01:00
Randy Tolentino 14967f3b7e remove qiskit runtime banner 2023-01-09 09:51:05 +01:00
Frank Harkins 13c026bf0c
Add multiple systems page (#2875) 2022-11-30 14:41:51 +00:00
Frank Harkins 1902adb902
Publish single systems page (#2831)
* Add single systems page first draft

* Update prerequisites

* Add subtitle to card

* Reorganise supporting materials

* Extend recommended readings section (#2854)

* Add 'author' and 'description' fields to external recommended readings

* Reformat external recommended readings sections

* Add preamble feature to 'external recommended readings' section

* Add links to mega menu

Co-authored-by: Randy <randytolentino@ibm.com>
Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
Co-authored-by: //va <vabarbosa@users.noreply.github.com>
2022-10-28 08:30:54 +01:00
Frank Harkins cd65f7684e
Add QGSS 2022 to learn page (#2798)
* Add summer school 2022 card

* Add GQSS22 to learn page

* Add summer schools to mega menu

* Update summer school 2022 header

* Add margins to header

* Update missed references

* Update links

Co-authored-by: Randy <randytolentino@ibm.com>
Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
Co-authored-by: //va <vabarbosa@users.noreply.github.com>
2022-10-20 18:09:10 +01:00
//va c866cc2c0f
disable registration (#2849) 2022-10-19 09:46:35 -04:00
Frank Harkins 4a895b9049
Appease sass (#2838) 2022-10-12 09:57:29 -07:00
Randy be5b6d2761
update fall fest events content (#2819) 2022-10-03 11:06:01 -04:00
Randy a8a4b50a4d
Add Qiskit Fall Fest page (#2799)
* add Fall Fes page, content, img, and components

* rename assets and clean placeholder content

* conditionalize event card icon, add event time

* update fall fest placeholder and asset

* add university placeholder cards

* add asset, remove faq section

* remove unused selectors

* remove unnecessary event card details

* add first round of fall fest content

* update event card to conditional location

* add details to university event cards

* update university content in table

* update university directory w/ new images

* update university information

* remove links for empty data

* correct and update links

* update event dates

* update schedule

* update links, update asset

* update schedule wave groupings

* refactor table link to use component

* update links, content, and table styles

* reorder table data

* update university w/ links

* remove inline vhtml directive and comment

* order type of event column data

* revert package-lock
2022-09-27 13:33:18 -07:00
Jim Garrison e2cc524948 Capitalize Qiskit Runtime in banner
This change is consistent with its usage e.g. at the "Learn more"
link in the banner and elsewhere in IBM Quantum documentation.
(The banner was originally added in #2594.)
2022-08-19 10:09:45 -07:00
Abby Mitchell 144a2ec837
Ecosystem: Refactor AppCard for different tag colours (#2660)
* Refactor AppCard for different tag colours

*  lint 

* Fixed console warnings

* Started adding tooltip to tags

* Fix tag spacing issue

* Remove semicolons

* Pulled in tooltip descriptions

* Updated tier and members data

*  lint 

*  more lint 

* Fixed tooltip colours

* Fixed tooltip width to fix responsiveness

* Resolve merge conflicts

* Adjusted spacing of pills

* Fix styles

* Tidy up code

* Added TagToolip interface
2022-08-11 08:12:15 +02:00
techtolentino d8c63691b9 add redirects for broken pages 2022-08-01 13:32:22 -07:00
Abby Mitchell 6e0bbad3a5 Tidy up css 2022-07-27 12:21:25 -04:00
dependabot[bot] 994174e317
Bump stylelint-config-prettier from 8.0.2 to 9.0.3 (#2251)
* Bump stylelint-config-prettier from 8.0.2 to 9.0.3

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.3.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: lint fixes

* style: lint fixe

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2022-07-26 11:12:15 +02:00
Randy b17438e32c
Merge pull request #2685 from javabster/test-table-updates
Ecosystem: Test table updates
2022-07-25 06:24:43 -07:00
Abby Mitchell 748e64d1f1 lint again 2022-07-15 16:18:30 -04:00
Abby Mitchell 3fc801a8bb lint 2022-07-15 16:00:09 -04:00
Abby Mitchell 2c008d24a2 Make requested changes 2022-07-15 15:47:37 -04:00
Abby Mitchell ea1faf075e
Add github star data to project cards (#2686) 2022-07-12 20:36:40 +02:00
Abby Mitchell 09b542406e Add tooltip to test types and lint 2022-07-08 17:01:47 -04:00
Abby Mitchell 7cc2a1a61d Add test logs link and adjust version column header 2022-07-08 14:41:11 -04:00
Abby Mitchell 88be1fad5f Fix table bug and lint 2022-07-08 12:00:25 -04:00
Randy 5b75ceabad
fix: redirect "/textbook-beta" to "/learn" (#2658)
* add textbook-beta redirect

* fix lint error
2022-06-09 17:06:03 +02:00
Randy 15e9cbdcd3
feat: learn page v2 (#2574)
* add prereq content

* add img

* add course page images

* add correct links

* capitalize Notebooks

* add quantum states and qubits content

* fix segment value

* add recommended references, small fix to list spacing

* add multiple qubit and entanglement content

* added external recommendations content

* add quantum protocols and quantum algorithms content

* add quantum protocols and quantum algorithms content

* fix lint error

* update external recommended links

* add investigating quantum hardware content

* renaming to avoid collisions

* add Investigating Quantum Hardware Using Quantum Circuits content

* New learn content for q algorithms for apps

* Added tutorials section

* Added other platforms content

* Added URLs for the tutorials

* Fixed a typo between simple and sample

* Improved images from tutorials

* Added the texts for youtube and medium

* Fixed typos

* Added bonus level to textbook pages

* Removed q-system-error-analysis card

* changed order

* description can use the whole space from the beggining instead of grow from bottom

* better title height

* updated sections and quantum lab thumbnail (#2590)

* add Quantum Computing Labs content

* fix: learn content consistent thumbnails (#2597)

* Add chapters section to learn page

* remove overview page header grid

* undo renaming

* change heading

* feat: add new helpful resource tile (#2618)

* update external readings links

* update cta and intro page

* migrate textbook-beta route and components to /learn

* remove new-content from copy script

* implement mega-menu-dropdown web component

* readd segment attributes

* use new web-component and clean up component html

* fix section title

* 2021 QGSS URL fix

* fix: consistent thumbnail sizes (#2650)

* use latest wc package

* update @qiskit/web-components and use of mega-dropdown-menu

Co-authored-by: @techtolentino
Co-authored-by: //va <vabarbosa@users.noreply.github.com>
Co-authored-by: David <9059044+Tansito@users.noreply.github.com>
Co-authored-by: Gregorio Iniesta <korgan00@gmail.com>
Co-authored-by: Chris Fisher <clfshr@gmail.com>
2022-06-09 15:12:03 +02:00
Abby Mitchell 821c52fc46 Fixed up spacing etc. 2022-06-08 17:12:21 -04:00
Abby Mitchell ed8ba3fe3f Adjust segment naming 2022-06-08 12:07:36 -04:00
Abby Mitchell d37394c3c4 Lint! 2022-06-07 15:43:45 -04:00
Abby Mitchell 22e50ada7c Moved join ecosystem button 2022-06-07 15:27:59 -04:00
Abby Mitchell ed22cc889d Adjusted header hero spacing 2022-06-07 15:23:30 -04:00
Eddybrando Vásquez 5884b73a90
feat(advocates): set meta description (#2652)
Closes #2636

Co-Authored-By: Junye Huang <7631333+HuangJunye@users.noreply.github.com>

Co-authored-by: Junye Huang <7631333+HuangJunye@users.noreply.github.com>
2022-06-07 18:47:26 +02:00
Eddybrando Vásquez 47748b9d1f
feat(ecosystem): set meta description (#2651)
* feat(ecosystem): set meta description

Closes #2637

Co-Authored-By: Junye Huang <7631333+HuangJunye@users.noreply.github.com>

* feat(ecosystem): set meta description

Closes #2637

Co-Authored-By: Junye Huang <7631333+HuangJunye@users.noreply.github.com>

Co-authored-by: Junye Huang <7631333+HuangJunye@users.noreply.github.com>
2022-06-07 18:46:45 +02:00
Abby Mitchell 72317488b2
feat: ecosystem page (#2258)
* First attempt at ecosystem page

* Updated member card layout

* Fixed styling issues and added more table details

* Removed tabs, reformatted tables

* Added basic tier filter

* Added example styles and coverage table

* Added example styles and coverage table

* Added vuex store for ecosystem members and tier filters

* Tidied up linting and typescript

* feat(ecosystem): design updates

Co-Authored-By: Abby Mitchell <23662430+javabster@users.noreply.github.com>

* fix(ecosystem): filteredData prop

* fix(ecosystem): DOM tree

* feat(ecosystem): filter for small viewports

* feat(ecosystem): Segment tracking

Co-authored-by: Eddybrando Vásquez <eddybrando.vasquez@gmail.com>
2022-05-27 15:39:35 +02:00
techtolentino a1810bb557 fix responsiveness 2022-05-26 11:34:45 -07:00