Skip to content

Commit a883d86

Browse files
authored
Merge pull request #700 from system76/nuxt-image
setup nuxt-picture for guide articles
2 parents cc3e980 + d685ace commit a883d86

17 files changed

Lines changed: 58 additions & 20769 deletions

content/difference-between-pop-ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ While Pop!_OS is designed to be [easy to use](https://www.forbes.com/sites/jason
3535

3636
The installer offers encryption out of the box and takes care of setting up your user preferences (language, keyboard layout, installation method). On first use, the installer also makes it easy to select your time zone and integrate any online accounts into your desktop.
3737

38-
![Intel/AMD + NVIDIA](/images/difference-between-pop-ubuntu/Intel&AMD-NVIDIA-1904.png)
38+
![Intel/AMD + NVIDIA](/images/difference-between-pop-ubuntu/intel-amd-nvidia-1904.png)
3939

4040
Pop!_OS comes in two versions: Intel/AMD and NVIDIA. This allows us to include different settings and the proprietary NVIDIA driver for NVIDIA systems, ensuring the best performance and use of CUDA tools one command away. On Oryx Pro systems, you can even switch between Intel and Nvidia graphics using a toggle in the top right corner of your screen.
4141

@@ -52,7 +52,7 @@ After conducting a study of Ubuntu and GNOME keyboard shortcuts, we decided to m
5252

5353
## Default Apps: Slimming down on bloatware
5454

55-
![Pop Shop](/images/difference-between-pop-ubuntu/Pop!_Shop-Screenshot.png)
55+
![Pop Shop](/images/difference-between-pop-ubuntu/pop-shop-screenshot.png)
5656

5757
Pop!_OS includes a selection of apps intended to be comprehensive, but relatively lightweight. Because Pop!_OS is optimized for your workflow, we avoid providing some larger programs by default that slow down your computer. This is especially true for library applications, such as one for storing your photos, which we opt to replace with image viewers or similar apps that are smaller in size. However, if you’re in need of a photo manager, Steam, or a music streaming app such as Spotify, these applications are still available in the Pop!_Shop for a quick install.
5858

content/login-loop-pop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If entering your decryption passphrase does not unlock your disk, one of two thi
4141
1. The decryption passphrase is incorrect.
4242
2. Your keyfile has been corrupted (rare).
4343

44-
![bad-password](static/images/login-loop/bad-password.png)
44+
![bad-password](/images/login-loop/bad-password.png)
4545

4646
In either case, unless you have set an [alternative decryption key](https://support.system76.com/articles/advanced-luks), the drive will need to be erased and re-imaged to regain acess. This is the cost/benefit of drives secured by encryption. It's important to have current [backups](https://support.system76.com/articles/backup-files) of your files to avoid data-loss.
4747

content/manage-repos-pop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ section: software
2222

2323
Pop!_OS' tool for adding, removing and editing repositiories is called <u>Repoman</u> which is a part of the Pop!_Shop.
2424

25-
![Pop!_OS Shop](/images/manage-repos/Pop!_Shop-button.png)
25+
![Pop!_OS Shop](/images/manage-repos/pop-shop-button.png)
2626

2727
Click on the gear icon in the top right of the <u>Pop!_Shop</u> window. Once <u>Repoman</u> is opened, click on the **Extra Sources** tab there will be options to add repositories with the **Plus** button (on the bottom left). Select a repository from the list and then click on the **Edit** button (next to the **Plus** button) to edit the selected repository.
2828

content/manage-repos-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ section: software
1919

2020
Ubuntu's tool for adding, removing and editing repositories is called <u>Software & Updates</u>.
2121

22-
![Software & Updates](/images/manage-repos/Software&Updates.png)
22+
![Software & Updates](/images/manage-repos/software-updates.png)
2323

2424
Once <u>Software & Updates</u> is opened, click on **Other Software** tab. Under this tab, add repositories with the **Add...** button. Select a repository from the list and then click on the **Edit...** button (next to the **Add...** button) to edit the selected repository.

content/map-a-network-drive.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you have a storage location on a network drive, you can easily map the locati
2222
### Navigate to Other Locations
2323
Open Files and click on "Other Locations" on the left side overview. It should open a window similar to the one below:
2424

25-
![Other Locations]({{site.baseurl}}/images/map-a-network-drive/other-locations.png)
25+
![Other Locations](/images/map-a-network-drive/other-locations.png)
2626

2727
### Connect to server
2828
Enter the address of the server into the box which says "Enter server address..." with one of the following prefixes appended to the beginning of the address.
@@ -38,13 +38,13 @@ Enter the address of the server into the box which says "Enter server address...
3838

3939
The image below shows a Samba connection to the server storage.wpi.edu:
4040

41-
![Connect To Server]({{site.baseurl}}/images/map-a-network-drive/connect-to-server.png)
41+
![Connect To Server](/images/map-a-network-drive/connect-to-server.png)
4242

4343

4444
### Enter your username, domain, and password
4545
On the dialog that pops up, enter your account information for the server, then select how it will be remembered by Files. The window looks similar to the one below:
4646

47-
![Password Dialog]({{site.baseurl}}/images/map-a-network-drive/password-dialog.png)
47+
![Password Dialog](/images/map-a-network-drive/password-dialog.png)
4848

4949
Once this is done, hit "Connect" in the top right and you can access the files on the network drive.
5050

content/show-battery-percentage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ Once it is installed, open it up.
3030

3131
In the GNOME Tweak Tool, navigate to the "Top Bar" section, and toggle the "Battery Percentage" on.
3232

33-
![Top Bar Settings]({{site.baseurl}}/images/show-battery-percentage/top-bar.png)
33+
![Top Bar Settings](/images/show-battery-percentage/top-bar.png)
3434

3535

3636
You should now see your battery percentage in the top bar.
3737

38-
![Percentage]({{site.baseurl}}/images/show-battery-percentage/battery-percentage.png)
38+
![Percentage](/images/show-battery-percentage/battery-percentage.png)
3939

4040
---
4141

content/switch-from-macos-to-popos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ Both have dedicated areas in System Preferences (macOS) and Settings (Pop!\_OS)
562562

563563
- LUKS (during Install)
564564

565-
![encryption-pop](/images/install-pop/5_encrypt_notice-cropped.png)
565+
![encryption-pop](/images/install-pop/5_encrypt_notice-cropped-20-04.png)
566566

567567
On Pop!\_OS, encryption is offered during initial setup, or a reinstall. The OS partition is encrypted using the LUKS disk layout. This tool adds a decryption screen so that every time the computer boots, it requires a decryption password before moving to the login screen. With an encrypted drive, if hardware is stolen, the only way to remove the encryption is to erase the disk.
568568

nuxt.config.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export default async () => ({
99

1010
content: {
1111
markdown: {
12-
highlighter: await contentHighlighter()
12+
highlighter: await contentHighlighter(),
13+
rehypePlugins: [
14+
'~/plugins/content-replace'
15+
]
1316
}
1417
},
1518

@@ -89,5 +92,17 @@ export default async () => ({
8992
githubContributors(doc),
9093
linkFixes(doc)
9194
])
95+
},
96+
97+
image: {
98+
// Mirrored to tailwind breakpoints + some extra
99+
screens: {
100+
xs: 320,
101+
sm: 640,
102+
md: 768,
103+
lg: 1024,
104+
xl: 1280,
105+
'2xl': 1536
106+
}
92107
}
93108
})

0 commit comments

Comments
 (0)