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

Redesign #1157

Draft
wants to merge 140 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
d208c42
Footer main section redesign
lorcan-codes Aug 1, 2023
64ff9e4
Footer the bottom section
lorcan-codes Aug 2, 2023
1c09314
Minor tweaks
lorcan-codes Aug 2, 2023
bdb462d
removed unused tokens && added new sizes
lorcan-codes Aug 3, 2023
42c1f29
Update navbar header to new design
lorcan-codes Aug 4, 2023
bb6e72d
Buttons headings links redesign (#1133)
milosyuki Aug 4, 2023
52d66f2
Fix header and footer links after changes && tokens improvements (#1156)
lorcan-codes Aug 4, 2023
5a30c40
Create stats card and update chakra themes
lorcan-codes Aug 8, 2023
61e8908
Analytics card
lorcan-codes Aug 9, 2023
71816ff
Pattern Card
lorcan-codes Aug 9, 2023
97f3202
Updated CardGradientBorder
lorcan-codes Aug 9, 2023
8438d0c
erge with redesign
lorcan-codes Aug 9, 2023
672abe2
Fix CardGradientBorder padding prop
lorcan-codes Aug 9, 2023
39cbe80
Merge branch 'redesign' into new-cards
lorcan-codes Aug 9, 2023
884b0ae
Set CardGradientBorder padding to 0 by default
lorcan-codes Aug 9, 2023
06ede26
Merge branch 'redesign' into new-cards
lorcan-codes Aug 9, 2023
8e0838f
Add gradient background to new cards
lorcan-codes Aug 9, 2023
3cd9355
Update tooltip styles
lorcan-codes Aug 9, 2023
61e0f48
New cards improvements && fix font in storybook
lorcan-codes Aug 10, 2023
7804bd7
Fix default state
lorcan-codes Aug 10, 2023
78ed196
Grid, Large, Asset and IconLink card redesign
milosyuki Aug 9, 2023
246c5bd
Grid, large and IconLink card redesign
milosyuki Aug 9, 2023
3aa2ac4
Using CardGradientBorder
milosyuki Aug 10, 2023
48aef75
Fix header icon buttons
lorcan-codes Aug 10, 2023
44a2277
make header transparent when not scrolled
lorcan-codes Aug 10, 2023
5b60015
Decrease search icon on desktop
lorcan-codes Aug 14, 2023
b7e5246
Preserve pattern card image ratio
lorcan-codes Aug 14, 2023
18e37af
Merge pull request #1182 from starknet-io/card-redesign
lorcan-codes Aug 15, 2023
1f843e3
Merge with redesign branch
lorcan-codes Aug 15, 2023
9d1c046
Merge pull request #1180 from starknet-io/new-cards
lorcan-codes Aug 15, 2023
63d6ac4
Fetch and save social media data
lorcan-codes Aug 17, 2023
874e5ea
Update workflows
lorcan-codes Aug 18, 2023
e8f7f54
Update update data script
lorcan-codes Aug 18, 2023
b348322
Fix fetch data action config
lorcan-codes Aug 18, 2023
9d592fa
Create path if not exists
lorcan-codes Aug 18, 2023
3cd73c4
Update Analytics Card && cleanup
lorcan-codes Aug 18, 2023
cbc33ab
Merge pull request #1242 from starknet-io/social-media-data
milosyuki Aug 18, 2023
fa46823
Dapp outline (#1214)
milosyuki Aug 24, 2023
52e0d19
Update remaining components and search modal (#1268)
lorcan-codes Aug 24, 2023
5f59b64
Fixing button bg
milosyuki Aug 25, 2023
b896d14
Update tokens (#1283)
lorcan-codes Aug 27, 2023
6a8e201
Update landing pages and their cms files (#1281)
lorcan-codes Aug 27, 2023
eaf8a39
Update block types and delete old files (#1285)
lorcan-codes Aug 28, 2023
2d46984
Support dark mode header in light screens and vice versa (#1288)
lorcan-codes Aug 28, 2023
ce54631
Set invertColorOnDark to false for homepage
lorcan-codes Aug 28, 2023
1d92f9e
Homepage dark mode (#1289)
milosyuki Aug 29, 2023
af3e444
Fix dark mode issues and update ecosystem pages (#1290)
lorcan-codes Aug 29, 2023
abf77fd
UPdate assetcard styles
lorcan-codes Aug 29, 2023
38b5bb1
Update asset card
lorcan-codes Aug 30, 2023
2228d1a
Changing homepage paddings and gaps
milosyuki Aug 30, 2023
76e5c68
Adjusting blog page paddings
milosyuki Aug 30, 2023
eef250b
Update header locale dropdown button type
lorcan-codes Aug 30, 2023
1cb7413
Fix clear icon visible state
lorcan-codes Aug 30, 2023
538edfc
Updating homepage hero animation
milosyuki Aug 30, 2023
75a9a6f
Promo block for large screens fix
milosyuki Aug 30, 2023
af841ba
Remove pb from some blocks and add container gap
lorcan-codes Aug 30, 2023
e56d8f3
Merge pull request #1294 from starknet-io/cms-pages-gap
milosyuki Aug 30, 2023
9b3f6f1
Blog posts page spacings
milosyuki Aug 30, 2023
3905a46
Adding dark mode homepage hero animation
milosyuki Aug 30, 2023
3fe1fe5
Adjusting blog posts page spacings
milosyuki Aug 30, 2023
db95210
Blogpost spacing fixes
milosyuki Aug 30, 2023
3bb7145
Fixing blogpost spacing and promo margin
milosyuki Aug 30, 2023
c239d7b
Fixing homepage hero weird space
milosyuki Aug 30, 2023
6aab4f3
Implement events page redesign && update breadcrumbs & chips
lorcan-codes Aug 30, 2023
43572ea
Updated events and jobs pages
lorcan-codes Aug 30, 2023
33f8fff
Fixing homepage hero animation switch
milosyuki Aug 30, 2023
3d7934b
Merge pull request #1295 from starknet-io/events-redesign
lorcan-codes Aug 30, 2023
39e4192
Updated spacing
lorcan-codes Aug 30, 2023
412b4b2
Merge pull request #1296 from starknet-io/update-soacing
lorcan-codes Aug 30, 2023
65a9446
Fixing homepage bugs
milosyuki Aug 30, 2023
e18b207
More homepage fixes
milosyuki Aug 30, 2023
0e9a91c
More homepage fixes
milosyuki Aug 30, 2023
d1285d7
Fixing pattern cards
milosyuki Aug 31, 2023
d6b474e
Fixing social grid cards
milosyuki Aug 31, 2023
ed25771
Fixing ecosystem animation and community button
milosyuki Aug 31, 2023
3e96eca
Update roadmap page && fix community events overlaying content
lorcan-codes Aug 31, 2023
8995c5f
Merge pull request #1298 from starknet-io/ui-improvements
lorcan-codes Aug 31, 2023
2090cd4
Fixing blogposts title border
milosyuki Aug 31, 2023
c2f7577
Adding rive animation
milosyuki Aug 31, 2023
93d79ff
Merge branch 'redesign' of https://github.com/starknet-io/starknet-we…
milosyuki Aug 31, 2023
6419259
Changing scalability words and gradient and social media images
milosyuki Aug 31, 2023
f1d5e48
Optimising images
milosyuki Aug 31, 2023
ac63c40
Update tutorials and Jobs pages
lorcan-codes Aug 31, 2023
af08e56
Merge redesign
lorcan-codes Aug 31, 2023
8e5860a
Merge pull request #1299 from starknet-io/ui-improvements
lorcan-codes Aug 31, 2023
fdd2a54
Changing large card dark illustrations and switching ecosystem pattern
milosyuki Aug 31, 2023
79b75ab
Capitalizing UX
milosyuki Aug 31, 2023
6d41983
Update hero
lorcan-codes Aug 31, 2023
1863bca
Merge pull request #1300 from starknet-io/ui-improvements
lorcan-codes Aug 31, 2023
a34db2d
Fixing homepage
milosyuki Aug 31, 2023
c0ef082
Ecosystem pages tweaks
lorcan-codes Aug 31, 2023
3a26c8b
Merge pull request #1301 from starknet-io/ecosystem-tweaks
lorcan-codes Aug 31, 2023
e7d340c
Fixing homepage
milosyuki Aug 31, 2023
b1a7dad
Merge branch 'redesign' of https://github.com/starknet-io/starknet-we…
milosyuki Aug 31, 2023
04b916f
Updated ecosystem cards to have bg
lorcan-codes Aug 31, 2023
2fb8a61
Update community cards
lorcan-codes Aug 31, 2023
619b6b6
Fixing blog post and media kit pages
milosyuki Aug 31, 2023
c846d15
Fixing developers hub cards
milosyuki Sep 1, 2023
4f07dbe
Fixing build
milosyuki Sep 1, 2023
f3a848b
Updating courses icons on developers hub page
milosyuki Sep 1, 2023
c946516
Update tutorials video page and roadmap post page
lorcan-codes Sep 1, 2023
5bd0f20
Update Page “developers”
milosyuki Sep 1, 2023
ec983aa
Merge pull request #1302 from starknet-io/redesign-cms/pages/developers
milosyuki Sep 1, 2023
515864e
Fixing developers hub page
milosyuki Sep 1, 2023
a8efc59
Update Page “developers”
milosyuki Sep 1, 2023
015e794
Merge pull request #1303 from starknet-io/redesign-cms/pages/developers
milosyuki Sep 1, 2023
2b08760
Adding dark mode courses icons
milosyuki Sep 1, 2023
cddf94f
Fix layout issues
lorcan-codes Sep 1, 2023
56a5644
Merge pull request #1304 from starknet-io/fix-layout-issues
lorcan-codes Sep 1, 2023
80307a2
Updating rive animation
milosyuki Sep 1, 2023
0fdf606
Updating community hub page
milosyuki Sep 1, 2023
33cd06a
Updating rive animation
milosyuki Sep 1, 2023
f4201ba
Update breadcrumbs and fix layout missing items
lorcan-codes Sep 1, 2023
6d2f98e
Updating community section bg pattern on homepage
milosyuki Sep 1, 2023
e74cf04
Fixing events and webinars badge
milosyuki Sep 1, 2023
520b0b1
Fixing community cards
milosyuki Sep 1, 2023
0e77325
Fiuxing community events cards
milosyuki Sep 1, 2023
1f64f6f
Fixing rounded button dark style
milosyuki Sep 1, 2023
3ed4cbb
Adding gradient button
milosyuki Sep 1, 2023
0906cbb
Updating white space bg illustrations on homepage
milosyuki Sep 1, 2023
136ab37
Updated the animation
lorcan-codes Sep 4, 2023
ea3a5c3
Fix spacing and font weight issues && add hover state to gradient btn
lorcan-codes Sep 4, 2023
05a27d5
Fixing large card backgrounds
milosyuki Sep 4, 2023
03c7a22
Update stats card
lorcan-codes Sep 4, 2023
0762dbd
Update asset card bg color options
lorcan-codes Sep 4, 2023
b91f7a7
Fix community events grid layout issues
lorcan-codes Sep 4, 2023
9a5820a
Reduce the margin above analytics cards and fix community events mb
lorcan-codes Sep 4, 2023
f1dfadf
More fixes
lorcan-codes Sep 4, 2023
954f632
Remove promo section and change scalability to scaling
lorcan-codes Sep 4, 2023
6a8ed9b
Resolve redesign conflicts
lorcan-codes Sep 4, 2023
15be58c
Merge pull request #1312 from starknet-io/redesign-update
lorcan-codes Sep 4, 2023
b4518fb
Merge branch 'dev' into redesign
lorcan-codes Sep 5, 2023
8cad1e6
Add crowdin workflow changes to redesign (#1313)
lorcan-codes Sep 5, 2023
646971c
Update education player ui (#1322)
lorcan-codes Sep 6, 2023
c2c3d33
Fix poster border radius
lorcan-codes Sep 6, 2023
1beb29e
Fix strange border color
lorcan-codes Sep 6, 2023
70cdbb4
remove border radius in full screen && update iframe example
lorcan-codes Sep 6, 2023
2c9e8f0
Clean up theme (#1327)
lorcan-codes Sep 6, 2023
c7a8e3a
Fix homepage link issues
lorcan-codes Sep 6, 2023
3cac92e
Update education page
lorcan-codes Sep 11, 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
32 changes: 28 additions & 4 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Crowdin Action

on:
schedule:
- cron: "0 1 * * *" # every day at 1am UTC
workflow_dispatch:

concurrency: crowdin-dev
Expand All @@ -20,6 +22,22 @@ jobs:
node-version: 18
cache: yarn

- name: Set date environment variables
run: |
echo "YMDHM=$(date +%Y-%m-%d-%H-%M)" >> $GITHUB_ENV
echo "YMDH=$(date +%Y-%m-%d-%H)" >> $GITHUB_ENV
echo "YMD=$(date +%Y-%m-%d)" >> $GITHUB_ENV
echo "YM=$(date +%Y-%m)" >> $GITHUB_ENV

- name: Set Crowdin Source Folder
run: |
if [[ "${{ github.ref }}" == "refs/heads/production" ]]; then
echo "CW_SOURCE=dev" >> $GITHUB_ENV
else
echo "CW_SOURCE=test" >> $GITHUB_ENV
fi


- name: Cache dependencies
uses: actions/cache@v3
with:
Expand All @@ -41,19 +59,25 @@ jobs:
uses: actions/cache/restore@v3
with:
path: _crowdin
key: crowdin-cache-${{ github.ref_name }}
key: crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YMDHM }}
restore-keys: |
crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YMDHM }}
crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YMDH }}
crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YMD }}
crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YM }}
crowdin-cache-${{ env.CW_SOURCE }}

- name: Run pre-Crowdin script for file preparation
run: yarn workspace @starknet-io/cms-scripts pre-crowdin

- name: Upload source files to Crowdin project
run: yarn crowdin upload -b ${{ github.ref_name }}
run: yarn crowdin upload -b ${{ env.CW_SOURCE }}
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

- name: Download approved translations from Crowdin
run: yarn crowdin download -b ${{ github.ref_name }} --export-only-approved --skip-untranslated-strings
run: yarn crowdin download -b ${{ env.CW_SOURCE }} --export-only-approved --skip-untranslated-strings
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Expand All @@ -62,4 +86,4 @@ jobs:
uses: actions/cache/save@v3
with:
path: _crowdin
key: crowdin-cache-${{ github.ref_name }}
key: crowdin-cache-${{ env.CW_SOURCE }}-${{ env.YMDHM }}
8 changes: 5 additions & 3 deletions .github/workflows/social-media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ on:

jobs:
update-social-media-data:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Fetch Discord members data
uses: JamesIves/fetch-api-data-action@v2
with:
endpoint: https://discord.com/api/v9/invites/qypnmzkhbc?with_counts=true&with_expiration=true
retry: true
save-location: _social-media
save-name: discord

- name: Fetch Twitter followers data
Expand All @@ -22,11 +23,12 @@ jobs:
endpoint: https://api.twitter.com/1.1/users/show.json?screen_name=Starknet
configuration: '{ "method": "GET", "headers": {"Authorization": "Bearer ${{ secrets.TW_BEARER_TOKEN }}"} }'
retry: true
save-name: twitter
save-location: _social-media
save-name: twitter

- name: Set date environment variables
run: |
echo "YMDHM=$(date +%Y-%m-%d%-H-%M)" >> $GITHUB_ENV
echo "YMDHM=$(date +%Y-%m-%d-%H-%M)" >> $GITHUB_ENV

- name: Save social media data into cache
uses: actions/cache/save@v3
Expand Down
39 changes: 36 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,45 @@ jobs:
- name: Install dependencies
run: yarn

- name: Set Crowdin Environment
run: |
if [[ "${{ github.ref }}" == "refs/heads/production" ]]; then
echo "CW_SOURCE_ID=dev" >> $GITHUB_ENV
else
echo "CW_SOURCE_ID=test" >> $GITHUB_ENV
fi

- name: Set date environment variables
run: |
echo "YMDHM=$(date +%Y-%m-%d-%H-%M)" >> $GITHUB_ENV
echo "YMDH=$(date +%Y-%m-%d-%H)" >> $GITHUB_ENV
echo "YMD=$(date +%Y-%m-%d)" >> $GITHUB_ENV
echo "YM=$(date +%Y-%m)" >> $GITHUB_ENV

- name: Restore Crowdin Cache
uses: actions/cache/restore@v3
with:
path: _crowdin
key: crowdin-cache-dev
key: crowdin-cache-${{ env.CW_SOURCE_ID }}-${{ env.YMDHM }}
restore-keys: |
crowdin-cache-${{ env.CW_SOURCE_ID }}-${{ env.YMDHM }}
crowdin-cache-${{ env.CW_SOURCE_ID }}-${{ env.YMDH }}
crowdin-cache-${{ env.CW_SOURCE_ID }}-${{ env.YMD }}
crowdin-cache-${{ env.CW_SOURCE_ID }}-${{ env.YM }}
crowdin-cache-${{ env.CW_SOURCE_ID }}
crowdin-cache-

- name: Restore social media data
uses: actions/cache/restore@v3
with:
path: _social-media
key: sm-cache-${{ github.ref_name }}-${{ env.YMDHM }}
restore-keys: |
sm-cache-${{ github.ref_name }}-${{ env.YMDH }}
sm-cache-${{ github.ref_name }}-${{ env.YMD }}
sm-cache-${{ github.ref_name }}-${{ env.YM }}
sm-cache-${{ github.ref_name }}
sm-cache-

- name: Update dynamic data
run: yarn workspace @starknet-io/cms-scripts update-dynamic-data
Expand All @@ -67,7 +101,6 @@ jobs:
projectName: starknet-website
directory: dist/client
workingDirectory: workspaces/website
wranglerVersion: '3'
wranglerVersion: "3"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref_name == 'production' && 'main' || github.ref_name }}

46 changes: 30 additions & 16 deletions _data/pages/block-explorers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,59 @@ blocks:
variant: block_explorers
title: Block explorers & indexers
description: Explore blocks, indexers, and other metrics of Starknet transactions.
- type: card_list
card_list_items:
- title: Starkscan
image: /assets/ecosystem/blockexplorers.svg
- type: flex_layout
blocks:
- type: asset_card
title: Starkscan
description: "Block explorer and analytics for Starknet. "
link_url: https://starkscan.co
image: /assets/starkscan.jpg
twitter: https://twitter.com/StarkscanCo
website_url: https://starkscan.co/
- title: ViewBlock
description: "Block explorer and analytics for multiple networks including
- type: asset_card
title: ViewBlock
description:
"Block explorer and analytics for multiple networks including
Starknet. "
link_url: https://viewblock.io/starknet
website_url: https://viewblock.io/starknet
twitter: https://twitter.com/viewblock
image: /assets/viewblock.jpg
- title: Voyager
- type: asset_card
title: Voyager
description: "Block explorer and analytics for Starknet. "
link_url: https://voyager.online
website_url: https://voyager.online
twitter: https://twitter.com/0xvoyageronline
image: /assets/voyager.jpg
title: Block explorers
heading: Block explorers
randomize: true
- type: card_list
- type: flex_layout
randomize: true
title: Indexers
card_list_items:
- title: Apibara
heading: Indexers
blocks:
- type: asset_card
title: Apibara
image: /assets/apibara-logo.png
img_bg_color: boreal-green
website_url: https://www.apibara.com/
description: Apibara is an open-source data platform connecting Starknet to Web2
description:
Apibara is an open-source data platform connecting Starknet to Web2
services
- title: Checkpoint
description: Checkpoint is a library for indexing data from Starknet events and
- type: asset_card
title: Checkpoint
description:
Checkpoint is a library for indexing data from Starknet events and
making it accessible through a GraphQL API
image: /assets/checkpoint-real-logo-blue.png
img_bg_color: boreal-green
website_url: https://checkpoint.fyi/#/
- description: Token Flow provides fully decoded and contextualised on-chain data,
including storage information and L1 / L2 messaging.
- type: asset_card
title: Token Flow
description:
Token Flow provides fully decoded and contextualised on-chain data,
including storage information and L1 / L2 messaging.
image: /assets/token-flow-logo.jpg
img_bg_color: boreal-green
website_url: https://tokenflow.live/
42 changes: 27 additions & 15 deletions _data/pages/bridges-and-on-ramps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,60 @@ blocks:
- type: hero
variant: bridges
title: Bridges & on-ramps
description: Bridge tokens between Starknet and other chains or exchanges, or
description:
Bridge tokens between Starknet and other chains or exchanges, or
exchange tokens with fiat through on-ramp services.
- type: card_list
title: What are bridges?
description: Bridges allow users to move assets between crypto ecosystems, such
image: /assets/ecosystem/bridges.svg
- type: flex_layout
heading: What are bridges?
description:
Bridges allow users to move assets between crypto ecosystems, such
as blockchains or exchanges.
card_list_items:
- image: /assets/starkgate.jpg
blocks:
- type: asset_card
image: /assets/starkgate.jpg
title: StarkGate
description: StarkGate is the official bridge between Starknet and Ethereum.
link_url: https://starkgate.starknet.io
website_url: https://starkgate.starknet.io
twitter: https://twitter.com/StarkWareLtd
- image: /assets/layerswap.jpg
- type: asset_card
image: /assets/layerswap.jpg
title: Layerswap
description: Layerswap allows users to move crypto between exchanges and layer 2s.
link_url: https://www.layerswap.io
website_url: https://www.layerswap.io
twitter: https://twitter.com/layerswap
- title: Orbiter Finance
description: "Orbiter allows users to send funds across different layer 2
- type: asset_card
title: Orbiter Finance
description:
"Orbiter allows users to send funds across different layer 2
networks. "
link_url: https://www.orbiter.finance/?source=Ethereum&dest=Starknet
website_url: https://www.orbiter.finance/?source=Ethereum&dest=Starknet
image: /assets/orbiter.jpg
twitter: https://twitter.com/Orbiter_Finance
randomize: true
- type: card_list
title: What are fiat on-ramps?
description: Fiat on-ramps are service providers that allows for the exchange of
- type: flex_layout
heading: What are fiat on-ramps?
description:
Fiat on-ramps are service providers that allows for the exchange of
fiat currencies for cryptocurrencies.
card_list_items:
- title: Banxa
blocks:
- type: asset_card
title: Banxa
description: Banxa is a fiat to crypto on and off-ramp.
link_url: https://banxa.com
website_url: https://banxa.com
twitter: https://twitter.com/BanxaOfficial
image: /assets/banxa.jpg
- title: Ramp
img_bg_color: boreal-green
- type: asset_card
title: Ramp
description: Non-custodial fiat to crypto on-ramp.
image: /assets/ramp.jpg
twitter: https://twitter.com/RampNetwork
link_url: https://ramp.network
website_url: https://ramp.network
img_bg_color: boreal-green
randomize: true
Loading